Skip to content

Commit 08de9b6

Browse files
authored
Infrastructure Upgrade: PNPM Migration (#5)
* chore: migrate from npm to pnpm (Phase 1) - Enable corepack with packageManager field (pnpm@10.27.0) - Generate pnpm-lock.yaml from package-lock.json - Add explicit zod dependency (phantom dep exposed by pnpm strict mode) - Add MCPServer type annotation to fix TS2742 inference error - Update CI workflow to use pnpm/action-setup * refactor: clean up Server type annotation in index.ts * security: implement supply chain protections - Add minimumReleaseAge (24h) and store integrity checks in pnpm-workspace.yaml - Enforce pnpm usage via only-allow preinstall script - Add pnpm audit to CI workflow - Resolve known vulnerabilities in @modelcontextprotocol/sdk and vitest/esbuild
1 parent fc8eb35 commit 08de9b6

File tree

6 files changed

+3325
-4529
lines changed

6 files changed

+3325
-4529
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
15+
- uses: pnpm/action-setup@v2
16+
with:
17+
version: 10
18+
1419
- uses: actions/setup-node@v4
1520
with:
1621
node-version: '20'
17-
cache: 'npm'
18-
- run: npm ci
19-
- run: npm run build
20-
- run: npm test
22+
cache: 'pnpm'
23+
24+
- run: pnpm install --frozen-lockfile
25+
- run: pnpm audit
26+
- run: pnpm build
27+
- run: pnpm test

0 commit comments

Comments
 (0)