Skip to content

chore: pnpm — the fleet has one package manager - #889

Merged
github-actions[bot] merged 4 commits into
mainfrom
chore/pnpm
Sep 4, 2026
Merged

chore: pnpm — the fleet has one package manager#889
github-actions[bot] merged 4 commits into
mainfrom
chore/pnpm

Conversation

@catomean

@catomean catomean commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Converts orangecat to pnpm 11.25.0 (Wave 7 Phase B, batch 3a).

  • packageManager: pnpm@11.25.0; lockfile generated via pnpm import, package-lock.json removed
  • npm overrides moved from package.json to pnpm-workspace.yaml overrides — pnpm silently ignores the npm-only field, so the security pins were about to stop applying. Nested gray-matter > js-yaml pin kept; the deprecated $sharp reference is spelled out as ^0.35.4
  • allowBuilds for native/postinstall deps; temporary minimumReleaseAgeExclude for our own @bitbaum/ai-kit@0.6.2 (published <24h ago, inside pnpm 11's supply-chain release-age window)
  • postinstall dropped: it was the npm optional-deps sharp workaround ([BUG] Platform-specific optional dependencies not being included in package-lock.json when reinstalling with node_modules present npm/cli#4828); pnpm resolves optional deps correctly
  • CI/CD/e2e-auth workflows: pnpm/action-setup@v6, store-dir pinned outside the action's bin dir, cache: pnpm, pnpm install --frozen-lockfile, pnpm run; Next build cache key hashes pnpm-lock.yaml; npm audit --omit=devpnpm audit --prod
  • Phantom deps fixed: espree (eslint.config.mjs) and @mdx-js/mdx (scripts/check-mdx.mjs) now declared devDependencies
  • package.json scripts, husky pre-commit/pre-push, scripts/deploy-selfhost.sh converted to pnpm

Verified locally: lint (0 errors), type-check, full vitest (282 files, 2648 passed), production build with CI-style env. .env.local untouched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

catomean and others added 4 commits September 4, 2026 03:46
- packageManager pnpm@11.25.0; lockfile via pnpm import, package-lock.json
  removed
- npm "overrides" moved to pnpm-workspace.yaml overrides (pnpm ignores the
  npm-only package.json field); nested gray-matter>js-yaml pin kept; $sharp
  reference spelled out (pnpm 11 deprecates $ syntax)
- allowBuilds for native/postinstall deps; temporary minimumReleaseAgeExclude
  for our own @bitbaum/ai-kit@0.6.2 (published <24h ago — pnpm 11's
  supply-chain window would refuse it)
- postinstall dropped: it was the npm optional-deps sharp workaround
  (npm/cli#4828); pnpm resolves optional deps correctly
- CI/CD/e2e-auth workflows: pnpm/action-setup@v6, store-dir pinned outside
  the action's bin dir, cache: pnpm, frozen-lockfile installs, pnpm run;
  Next cache key now hashes pnpm-lock.yaml; npm audit → pnpm audit --prod
- phantom deps declared: espree (eslint.config.mjs) and @mdx-js/mdx
  (scripts/check-mdx.mjs), previously resolved via npm hoisting only
- package.json scripts, husky hooks, deploy-selfhost.sh converted to pnpm

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
@radix-ui/react-visually-hidden (CommandPalette.tsx) resolved locally through
the parent repo's hoisted npm node_modules. Declared; a full src/ bare-import
sweep against package.json now reports no other undeclared specifier.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
…o save

The audit step itself passed (2 moderate, below the high gate); the job went
red in setup-node's POST step, which fails when the cache path it was told to
save (the pnpm store) was never created. This job only needs the lockfile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
@github-actions
github-actions Bot merged commit 30f6d45 into main Sep 4, 2026
6 checks passed
@github-actions
github-actions Bot deleted the chore/pnpm branch September 4, 2026 10:47
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