3496ab1919
pnpm 11 (local) keeps the build-approval list in pnpm-workspace.yaml and will regenerate the file on every 'pnpm install'. Coolify ships pnpm 9.15.9 which treats any pnpm-workspace.yaml as a monorepo descriptor and demands a 'packages:' field — without it the build fails immediately with 'packages field missing or empty'. So the file has to be present locally (pnpm 11 needs it) and absent in the build context (pnpm 9 must not see it). gitignoring it satisfies both ends. The build-approval list is also mirrored in package.json's 'pnpm.onlyBuiltDependencies' which pnpm 9 understands, so Coolify still gets the right behaviour for sharp / unrs-resolver.
48 lines
552 B
Plaintext
48 lines
552 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env*
|
|
!.env.example
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# claude code (local-only)
|
|
.claude/
|
|
|
|
pnpm-workspace.yaml
|