Skip to content

security(ci): enforce pnpm as the single workspace package manager - #595

Open
umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-491
Open

umpireboulianne-design wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
umpireboulianne-design:fix/issue-491

Conversation

@umpireboulianne-design

Copy link
Copy Markdown

Summary

Removes the competing root package-lock.json and enforces pnpm@10.13.1 with pnpm-lock.yaml as the single workspace package manager and lockfile in version control.

Fixes #491
Closes #491

Changes

  • package-lock.json: Remove root package-lock.json while keeping pnpm-lock.yaml unchanged.
  • .gitignore: Ignore /package-lock.json, /npm-shrinkwrap.json, /yarn.lock, /bun.lockb, and /bun.lock at the repository root.
  • scripts/check-single-lockfile.mjs & scripts/check-single-lockfile.test.mjs: Verify that pnpm-lock.yaml is the only root JS lockfile, packageManager is pnpm@10.13.1, and .gitignore ignores competing root lockfiles.
  • package.json: Add lockfile:check and lockfile:test scripts and wire them into the CI check suite.
  • docs/CI.md: Document pnpm@10.13.1 as the required installer and pnpm-lock.yaml as the single supported root lockfile.

…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
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

Successfully merging this pull request may close these issues.

security(ci): enforce pnpm as the single workspace package manager

1 participant