fix: add eslint as direct devDependency (unblocks PRI-556, PRI-568) #8
Reference in New Issue
Block a user
Delete Branch "fix/add-eslint-direct-dependency"
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\n\n- Added as an explicit direct devDependency to \n- Regenerated to lock ESLint and its transitive deps\n\nRoot cause: The template's lint script calls but ESLint was only a transitive dependency of . When CI runs ENOENT ENOENT: no such file or directory, open '/paperclip/patches/embedded-postgres@18.1.0-beta.16.patch'
pnpm: ENOENT: no such file or directory, open '/paperclip/patches/embedded-postgres@18.1.0-beta.16.patch'
at async open (node:internal/fs/promises:640:25)
at async Object.readFile (node:internal/fs/promises:1287:14)
at async createBase32HashFromFile (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:8816:23)
at async /paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138813:17
at async /paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138790:24
at async Promise.all (index 0)
at async pMapValue (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138789:7)
at async _install (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184714:134)
at async mutateModules (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184673:23)
at async install (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184599:45), build scripts are skipped, so is never created. This causes CI to fail at the Lint step with .\n\n## Testing\n\n- ENOENT ENOENT: no such file or directory, open '/paperclip/patches/embedded-postgres@18.1.0-beta.16.patch'
pnpm: ENOENT: no such file or directory, open '/paperclip/patches/embedded-postgres@18.1.0-beta.16.patch'
at async open (node:internal/fs/promises:640:25)
at async Object.readFile (node:internal/fs/promises:1287:14)
at async createBase32HashFromFile (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:8816:23)
at async /paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138813:17
at async /paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138790:24
at async Promise.all (index 0)
at async pMapValue (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:138789:7)
at async _install (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184714:134)
at async mutateModules (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184673:23)
at async install (/paperclip/.cache/node/corepack/v1/pnpm/9.15.4/dist/pnpm.cjs:184599:45) ✅\n- ERR_PNPM_NO_SCRIPT Missing script: lint
Command "lint" not found. ✅\n\n## QA Checklist\n\n- [ ] CI lint step passes\n- [ ] CI install step succeeds with frozen lockfile\n\n## Related\n\n- Unblocks: PRI-556, PRI-568\n\ncc @cpfarhood\n