Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tut build should optionally discard git changes from the build process #3

Open
sc0ttkclark opened this issue May 2, 2021 · 0 comments

Comments

@sc0ttkclark
Copy link
Contributor

Every time I run tut build, the git repos have lock changes that I don't intend to keep/commit. We should add an option for the tut build command that allows for resetting each plugin git changes to the lock files specifically. Discarding those changes if they have changes.

Files to discard changes for:

  • package-lock.json
  • package.json (if changed)
  • common/package-lock.json (if exists)
  • common/package.json (if changed, if exists)

The package.json files change some times, but that's usually because of formatting changes that the build process introduces. Leads should handle those exceptions themselves and it will be self-evident when they run their builds without the discard option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant