-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feature Request: Exit Code should reflect if changes are required on a new paramter like --check #72
Comments
Curious, what is the value proposition for enforcing this in CI? I'd accept a PR for this though, not sure whether |
This basically enforces the type definitions to be present at all times within the package.json. Scenario: One developer forgets to "typesync" after adding a new dependency, pushes. Adding a step to the CI, could enforce a typesynced-package.json at all times |
Great idea! The |
@jeffijoe We proposed a PR for the |
Released in 0.9 👍 |
Thank you @jeffijoe 👍 |
As the title says.
I would like to add this to a ci "linting" pipeline, therefore setting the rturn code to something other than 0 if there should be new typings added or removed would be nice.
I would suggest something like
typesync --check
which behaves like--dry
but alters the return code.or you paramerize the dry parameter like
typesync --dry=fail
Thank you!
The text was updated successfully, but these errors were encountered: