Skip to content

chore: migrate from npm to pnpm - #59

Open
matheusmaiberg wants to merge 1 commit into
kavinsood:mainfrom
matheusmaiberg:pnpm-migration
Open

chore: migrate from npm to pnpm#59
matheusmaiberg wants to merge 1 commit into
kavinsood:mainfrom
matheusmaiberg:pnpm-migration

Conversation

@matheusmaiberg

Copy link
Copy Markdown

Summary

  • Removes package-lock.json in favor of pnpm-lock.yaml and pins the package manager via the packageManager field.
  • pnpm hard-links dependencies from a shared global store, deduplicating them across repos to save local disk.

Test plan

  • Build (tsc + esbuild) verified green under pnpm

Removes package-lock.json in favor of pnpm-lock.yaml and pins the package manager via the packageManager field. pnpm hard-links dependencies from a shared global store, deduplicating them across repos to save local disk. Build (tsc + esbuild) verified green under pnpm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 920a8c3f4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"description": "A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.",
"main": "main.js",
"type": "module",
"packageManager": "pnpm@9.15.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update workflows before dropping package-lock

This migration removes the root npm lockfile, but the root CI and release workflows still install the root project with npm ci (.github/workflows/ci.yml:20 and .github/workflows/release.yml:22). I confirmed the CLI behavior with npm ci --dry-run, which exits with EUSAGE and says npm ci can only install with an existing package-lock.json or npm-shrinkwrap.json, so every push/PR and tagged release will fail before reaching the build unless these workflow steps are switched to pnpm/corepack.

Useful? React with 👍 / 👎.

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