-
Notifications
You must be signed in to change notification settings - Fork 2
feat(deps): pnpm 11 migration + frontend major refresh (Vite 8 · TS 6 · Node 24) #1095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a96291c
5eb339d
0f1123f
d8daa52
f33cd66
fdd4b15
bec650d
52f8eb3
cb194b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,7 +43,7 @@ Map paths to components (mirrors CI's dorny/paths-filter config): | |
| ## 3. Format | ||
|
|
||
| ```bash | ||
| npm run format | ||
| pnpm run format | ||
| ``` | ||
|
Comment on lines
+46
to
47
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whitelist This workflow now relies on Suggested patch allowed-tools:
- Bash(gh *)
- Bash(git *)
+ - Bash(pnpm *)
- Bash(npm *)
- Bash(mvn *)
- Read
- Grep
- GlobAlso applies to: 55-56, 65-67, 72-74, 81-82, 93-94, 99-100, 115-117, 126-128 🤖 Prompt for AI Agents |
||
|
|
||
| Formatting must NEVER be a reason for remote CI failure. This applies formatting | ||
|
|
@@ -52,7 +52,7 @@ in write mode, not just check mode. | |
| ## 4. Check (Lint + Typecheck) | ||
|
|
||
| ```bash | ||
| npm run check | ||
| pnpm run check | ||
| ``` | ||
|
|
||
| Must pass. Fix issues before continuing. | ||
|
|
@@ -62,23 +62,23 @@ Must pass. Fix issues before continuing. | |
| **API endpoints changed (app-server controllers/DTOs):** | ||
|
|
||
| ```bash | ||
| npm run generate:api:application-server:specs | ||
| npm run generate:api:application-server:client | ||
| pnpm run generate:api:application-server:specs | ||
| pnpm run generate:api:application-server:client | ||
| ``` | ||
|
|
||
| **Database entities changed:** | ||
|
|
||
| ```bash | ||
| npm run db:draft-changelog | ||
| npm run db:generate-erd-docs | ||
| pnpm run db:draft-changelog | ||
| pnpm run db:generate-erd-docs | ||
| ``` | ||
|
|
||
| ## 6. Build Affected TS Services | ||
|
|
||
| If webhook changed: | ||
|
|
||
| ```bash | ||
| npm run build:webhook-ingest | ||
| pnpm run build:webhook-ingest | ||
| ``` | ||
|
|
||
| Build failures catch path alias and import issues that typecheck alone misses. | ||
|
|
@@ -90,13 +90,13 @@ Run ONLY tests for changed components. Order: fastest first. | |
| If webhook changed: | ||
|
|
||
| ```bash | ||
| npm run test:webhook-ingest | ||
| pnpm run test:webhook-ingest | ||
| ``` | ||
|
|
||
| If webapp changed: | ||
|
|
||
| ```bash | ||
| npm run test:webapp | ||
| pnpm run test:webapp | ||
| ``` | ||
|
|
||
| If app-server changed (and mvn available): | ||
|
|
@@ -112,7 +112,7 @@ ALL tests must pass before proceeding. | |
| If app-server changed: | ||
|
|
||
| ```bash | ||
| npm run generate:api | ||
| pnpm run generate:api | ||
| git diff --quiet || echo "WARNING: OpenAPI specs were out of sync - staging changes" | ||
| ``` | ||
|
|
||
|
|
@@ -123,8 +123,8 @@ Stage any drift that was caught. | |
| Regeneration can produce unformatted code. Run one final pass: | ||
|
|
||
| ```bash | ||
| npm run format | ||
| npm run check | ||
| pnpm run format | ||
| pnpm run check | ||
| ``` | ||
|
|
||
| Both must pass. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| **/node_modules | ||
| .git | ||
| **/target | ||
| **/dist | ||
| **/build | ||
| **/.cache | ||
| **/.docusaurus | ||
| **/coverage | ||
| **/test-results | ||
| **/storybook-static | ||
| **/playwright-report | ||
| .vscode | ||
| .idea | ||
| **/*.log | ||
| .env | ||
| .env.* | ||
| !.env.example |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: "Setup pnpm + Node.js" | ||
| description: "Installs pnpm via SHA-pinned pnpm/action-setup and Node.js via SHA-pinned actions/setup-node, with pnpm-store caching. Versions kept in lockstep with root packageManager + .node-version." | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | ||
| with: | ||
| version: 11.1.2 | ||
| run_install: false | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | ||
| with: | ||
| node-version-file: ".node-version" | ||
| cache: pnpm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add pnpm to the skill tool allowlist.
These sections now require
pnpm, but the allowlist still only permitsBash(npm *)(Line 11). In this state, the prescribed commands cannot be executed by the skill runtime.Suggested patch
allowed-tools: - Bash(gh *) - Bash(git *) + - Bash(pnpm *) - Bash(npm *) - Bash(mvn *) - Read - Grep - GlobAlso applies to: 96-97, 104-107, 121-122, 128-129
🤖 Prompt for AI Agents