build: convert repo from npm to pnpm - #296
Conversation
|
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 14 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
- import package-lock.json to pnpm-lock.yaml (preserves resolved versions), remove package-lock.json - add packageManager: pnpm@11.15.1 and convert npm-isms in package.json scripts - CI: add pnpm/action-setup@v6, cache: pnpm, pnpm install --frozen-lockfile; bump codecov-action v3 -> v7 - pnpm-workspace.yaml: allow esbuild build scripts; publicHoistPattern for @marko/runtime-tags (test fixtures import it, but declaring it as a devDependency would flip @marko/compiler's auto-detected default translator to tags mode) - update husky pre-commit, .gitignore, .prettierignore for pnpm - record translator auto-detection gotcha in agent-feedback/unclear.md
d7db198 to
6e83c92
Compare
Converts the repo from npm to pnpm (pnpm@11.15.1), following the same playbook as marko-js/marko#3514.
pnpm importof package-lock.json -> pnpm-lock.yaml (resolved versions preserved); package-lock.json removedpackageManager: pnpm@11.15.1pinned; npm-isms in scripts converted (npm run->pnpm run,npm i --package-lock-only->pnpm install --lockfile-only, etc.)pnpm/action-setup@v6before setup-node,cache: pnpm,pnpm install --frozen-lockfile; changesets action version/publish now use pnpm; codecov-action bumped v3 -> v7allowBuilds: esbuild(pnpm 11 build-script approval) andpublicHoistPattern: "@marko/runtime-tags"— tags-API test fixtures import it as a phantom (previously hoisted) dep, but declaring it in devDependencies would flip @marko/compiler's auto-detected default translator to tags mode and break class-API fixturesnpm exec->pnpm exec; .gitignore/.prettierignore lockfile entries updatedVerification:
pnpm installclean;pnpm run build,pnpm run lint, andpnpm run ci:test(81 passing) all green locally.