-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Release scripts don't update package-lock.json version #7083
Comments
Agreed - make it so. |
As per element-hq/element-web#7083 The package-lock file is currently not bringing any of the benefits it's supposed to bring because we don't do the neccessary things to massage it during the release process. Remove it until we actually manage it correctly.
As per #7083 The package-lock file is currently not bringing any of the benefits it's supposed to bring because we don't do the neccessary things to massage it during the release process. Remove it until we actually manage it correctly.
It is done |
As per element-hq/element-web#7083 The package-lock file is currently not bringing any of the benefits it's supposed to bring because we don't do the neccessary things to massage it during the release process. Remove it until we actually manage it correctly.
Through changes to our release scripts such as matrix-org/matrix-js-sdk@073a025 and matrix-org/matrix-js-sdk@68c8fe0, we now attempt to commit lock files generally. At the moment, the React SDK still ignores the lock file, but I'll clean that up as part of the switch to Yarn in #7756. |
...so our release tags end up with a package.json with the right version and a package-lock.json with a mismatched version. I think this just makes npm disregard the package-lock.json file, making it entirely pointless.
It may be better to just remove the thing from version control until we figure out this and whatever other nuances it introduces.
The text was updated successfully, but these errors were encountered: