Skip to content

build: migrate from npm to pnpm - #13

Merged
EthanThatOneKid merged 1 commit into
mainfrom
pnpm-migration
Oct 10, 2026
Merged

EthanThatOneKid merged 1 commit into
mainfrom
pnpm-migration

Conversation

@EthanThatOneKid

Copy link
Copy Markdown
Contributor

Rollout of the pnpm migration piloted in wazootech/wazoo-console#114. wazoo-console, wazoo-api and worlds-api are migrated, and their deploys passed on main.

Changes

  • pnpm import converted package-lock.json. All 125 resolved versions match the npm lockfile exactly.
  • Pinned packageManager: pnpm@12.11.2. pnpm-workspace.yaml exempts @jsr/wazoo__* from pnpm 12's one-day release-age delay. No dependency here has an install script.
  • CI: added pnpm/action-setup@v6, added cache: pnpm, and replaced npm ci || npm install with pnpm install --frozen-lockfile. The old fallback quietly ran a normal install whenever the lockfile drifted from package.json; now that fails CI.
  • README still says npm install -g @wazoo/cli. That line tells users how to install the published CLI, so the package manager this repo uses doesn't change it.

Verified locally

  • format:check, lint, typecheck and build pass, and node bin/wazoo.js --help runs.

🤖 Generated with Claude Code

pnpm links packages from one shared store, so a new worktree installs
without copying every package. Follows wazootech/wazoo-console#114.

- Convert package-lock.json with `pnpm import`; all 125 resolved versions
  kept.
- Pin pnpm 12.11.2 via packageManager; exempt @jsr/wazoo__* from the
  release-age delay.
- CI installs with `pnpm install --frozen-lockfile` and caches the pnpm
  store. The old `npm ci || npm install` fallback hid lockfile drift.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EthanThatOneKid
EthanThatOneKid merged commit 6cd7f7f into main Oct 10, 2026
1 check passed
@EthanThatOneKid
EthanThatOneKid deleted the pnpm-migration branch October 10, 2026 19:03
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