-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat: Add option for whether to check package.json semver compliance #7639
Conversation
🦋 Changeset detectedLatest commit: 8d9f383 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Is this implementing a specific issue? Looking to understand the context as to why we wouldn't want to verify semver compliance. |
This is related to #7173: For applications not published to a registry, the |
@dr-vortex semver validation for Windows was already removed in Oct 2022. |
@mmaietta I saw this PR. Semver validation was not removed for the |
I'm always wary of adding a new option to the configuration but IIRC, this PR also broke numerous unit tests. I'll reopen this, but you'll need to take an alternative approach. What is your |
@mmaietta I'm using a non-semver for The tests may need to be updated if they check against the old config interface. |
Also, I have not made any commits since I renamed the PR so checks will need to be run again. |
Hi @dr-vortex, I've rerun all tests and they're still failing due to changes in this PR |
The semantic versioning enforcer (which checks for PR title prefixes) is failing despite the prefix existing. |
Incorrect. Please see |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Note that this is still broken. |
Note, your PR is still broken |
I was talking about the PR here |
The back-and-forth on this PR disregarding your code failing to pass the unit test suite is rather a nuisance. Closing PR and unsubscribing from this. I'll look forward to more productive conversations elsewhere |
This PR adds the
checkPackageVersion
config option. When set tofalse
, theversion
field ofpackage.json
will not be checked for semver compliance. When set totrue
(the default), it will have the current behavior.