Skip to content

Freeze pnpm lockfile everywhere#5022

Draft
bfops wants to merge 8 commits into
masterfrom
bfops/frozen-lockfile
Draft

Freeze pnpm lockfile everywhere#5022
bfops wants to merge 8 commits into
masterfrom
bfops/frozen-lockfile

Conversation

@bfops
Copy link
Copy Markdown
Contributor

@bfops bfops commented May 14, 2026

Description of Changes

We believe that this smoketest could lead to vulnerabilities given all the recent npm supply chain attacks. We want everything to use our frozen lockfiles so nobody and nothing is installing arbitrary packages.

Most of these sites were actually frozen in CI due to that being the default in CI, but I thought it would be good to make it explicit anyway (and that also aligns the behavior between CI and local machines).

We added a lot of lockfiles to make this happen.

To refresh a template's lockfile:

pnpm --dir templates/foo/spacetimedb install --lockfile-only --ignore-scripts

To refresh the test fixture lockfile:

API and ABI breaking changes

Expected complexity level and risk

Testing

@bfops bfops changed the title Fix a smoketest that unfroze the lockfile Freeze pnpm lockfile everywhere May 14, 2026
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.

1 participant