Conversation
Collaborator
JeromeBu
commented
Mar 13, 2026
- docs: add migration plan for yarn→pnpm, tsx dev, shared package
- refactor: migrate from yarn to pnpm
- feat: use tsx for API dev with hot reload
- refactor: use internal package pattern for api→web type sharing
9fb5495 to
18565dc
Compare
4-phase plan to migrate from yarn to pnpm, add tsx watch mode for API development, and extract shared types into an internal Turborepo package. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace yarn 1.22.22 with pnpm 10.9.0 across the entire monorepo: scripts, CI, Dockerfiles, docker-compose, Helm charts, lefthook, VS Code launch configs, and documentation.
Replace `pnpm build && pnpm start` with `tsx watch` for dev, and simplify db:seed to run .ts directly. Production scripts unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Point api main/types to raw .ts source instead of compiled dist/. Vite resolves .ts natively — no tsc build needed before web:dev. - api/package.json: main/types → ./src/lib/index.ts - web/tsconfig.json: target es5 → es2022 (tsc now sees api #private fields) - Replace 4 deep api/dist/ imports with ApiTypes.* from "api" - migration-plan.md: Phase 3 done Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Also fix remaining yarn→pnpm references in e2e start script, and add @octokit/types as direct api devDependency (was only resolved via hoisting, broke CI's stricter resolution). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ba5f8ff to
bc3339a
Compare
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.