fix: add missing direct devDeps (eslint, prettier, typescript) #72
Reference in New Issue
Block a user
Delete Branch "fix/pri-564-add-missing-dev-deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds , , and as direct so that pnpm's strict isolation mode exposes their binaries in for CI.
Root Cause
When exists, CI switches from to Lockfile is up to date, resolution step is skipped
Already up to date
╭ Warning ─────────────────────────────────────────────────────────────────────╮
│ │
│ Ignored build scripts: @swc/core@1.15.18, esbuild@0.25.12, msw@2.4.9. │
│ Run "pnpm approve-builds" to pick which dependencies should be allowed │
│ to run scripts. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Done in 1s using pnpm v10.33.0. pnpm strict mode only exposes binaries from direct . , , and were only transitive peers of , not direct deps, so their binaries were unavailable.
Changes
Verification
Already up to date
╭ Warning ─────────────────────────────────────────────────────────────────────╮
│ │
│ Ignored build scripts: @swc/core@1.15.18, esbuild@0.25.12, msw@2.4.9. │
│ Run "pnpm approve-builds" to pick which dependencies should be allowed │
│ to run scripts. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Done in 1s using pnpm v10.33.0 ✓
RUN v3.2.4 /tmp/headlamp-intel-gpu-plugin
✓ src/api/k8s.test.ts (48 tests) 17ms
✓ src/components/PodDetailSection.test.tsx (10 tests) 124ms
✓ src/components/NodeDetailSection.test.tsx (8 tests) 111ms
✓ src/components/PodsPage.test.tsx (6 tests) 191ms
✓ src/components/DevicePluginsPage.test.tsx (6 tests) 191ms
✓ src/components/NodesPage.test.tsx (5 tests) 194ms
✓ src/components/OverviewPage.test.tsx (9 tests) 303ms
✓ src/api/IntelGpuDataContext.test.tsx (8 tests) 349ms
✓ src/components/MetricsPage.test.tsx (9 tests) 385ms
Test Files 9 passed (9)
Tests 109 passed (109)
Start at 12:25:28
Duration 2.17s (transform 700ms, setup 1.02s, collect 2.69s, tests 1.87s, environment 7.68s, prepare 1.61s) ✓ (109 tests pass)
error TS2688: Cannot find type definition file for 'vite-plugin-svgr/client'.
The file is in the program because:
Entry point of type library 'vite-plugin-svgr/client' specified in compilerOptions
error TS2688: Cannot find type definition file for 'vite/client'.
The file is in the program because:
Entry point of type library 'vite/client' specified in compilerOptions
ELIFECYCLE Command failed with exit code 2. ✓
Blocks
Related
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Company is on pause per board directive. Closing all open PRs.
Pull request closed