Repository navigation
security(ci): enforce pnpm as the single workspace package manager - #595
Open
umpireboulianne-design wants to merge 1 commit into
Open
umpireboulianne-design wants to merge 1 commit into
umpireboulianne-design wants to merge 1 commit into
Conversation
…ub-Rosa-Issue#491) Remove root package-lock.json, ignore competing root lockfiles in .gitignore, add check-single-lockfile CI guard and unit tests, and document pnpm@10.13.1 in docs/CI.md. Fixes Sub-Rosa-Issue#491
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the competing root
package-lock.jsonand enforcespnpm@10.13.1withpnpm-lock.yamlas the single workspace package manager and lockfile in version control.Fixes #491
Closes #491
Changes
package-lock.json: Remove rootpackage-lock.jsonwhile keepingpnpm-lock.yamlunchanged..gitignore: Ignore/package-lock.json,/npm-shrinkwrap.json,/yarn.lock,/bun.lockb, and/bun.lockat the repository root.scripts/check-single-lockfile.mjs&scripts/check-single-lockfile.test.mjs: Verify thatpnpm-lock.yamlis the only root JS lockfile,packageManagerispnpm@10.13.1, and.gitignoreignores competing root lockfiles.package.json: Addlockfile:checkandlockfile:testscripts and wire them into the CI check suite.docs/CI.md: Documentpnpm@10.13.1as the required installer andpnpm-lock.yamlas the single supported root lockfile.