fix: add missing direct devDeps (eslint, prettier, typescript) #13
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
eslint@^8.57.1,prettier@^3.0.0, andtypescript@^5.6.2as directdevDependenciesso that pnpm's strict isolation mode exposes their binaries innode_modules/.binfor CI.Root Cause
When
pnpm-lock.yamlexists, CI switches fromnpm citopnpm install --frozen-lockfile. pnpm strict mode only exposes binaries from directdevDependencies.eslint,prettier, andtypescriptwere only transitive peers of@kinvolk/headlamp-plugin, not direct deps.Changes
package.json: Addedeslint,prettier,typescripttodevDependenciespnpm-lock.yaml: Regenerated with the three packages as direct depsVerification
pnpm install --frozen-lockfile\u2713pnpm run lint\u2713pnpm run test\u2713Blocks
Related
Closing — conflicts with main and superseded by PR #14
Pull request closed