Repository navigation
Switch the workspace from npm to pnpm - #7
Merged
Merged
Conversation
Pin pnpm@10.34.5 via Corepack, commit a workspace lockfile, and keep npm only for registry pack/publish. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
Declare Spine and Storage Core at the workspace root so Cloudflare tests resolve without hoisting, and parse only real importer paths from pnpm-lock.yaml. Co-authored-by: Fly Over Coder <FlyOverCoder@gmail.com>
FlyOverCoderKY
marked this pull request as ready for review
August 14, 2026 20:18
|
You have reached your Codex usage limits for security reviews. Please try again later. |
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.
This repository was an npm workspace (
package-lock.json,packageManager: npm@11.18.0). Local git worktrees were rewriting a fullnode_modulestree on every create/delete. This PR switches the workspace to pnpm so installs can share a content-addressable store.Changes
packageManagertopnpm@10.34.5(Corepack).pnpm-workspace.yamlforpackages/*andfixtures/*.pnpm-lock.yamland removepackage-lock.json.linkWorkspacePackages/preferWorkspacePackages) so fixtures and@pegma/scheduler-cloudflareuse the local packages, not the published npm copies.esbuildandworkerdbuild scripts (pnpm 10 ignores dependency scripts by default; the D1 Vitest pool needs both).@pegma/spineand@pegma/storage-coreas root devDependencies so Cloudflare tests typecheck under pnpm's strictnode_modules(npm previously hoisted them).pnpm/pnpm run/pnpm dlx.npm pack,npm publish --provenance, andnpm view. Trusted publishing still installsnpm@11.18.0.pnpm-lock.yamlimporters instead ofpackage-lock.json.pnpm importfrom the existing npm lockfile resolved@pegma/scheduler@0.1.0from the registry. The lockfile was regenerated withpnpm install --lockfile-onlyso workspace packages stay linked. Dependency versions are unchanged.Gate
Ran locally and passed:
pnpm install --frozen-lockfile pnpm run format:check pnpm run check pnpm test pnpm run release:check