mirror of
https://github.com/complexcaresolutions/payload-contracts.git
synced 2026-03-17 16:23:47 +00:00
fix: add prepare/preinstall no-ops for npm git dep compatibility
npm runs install+prepare when cloning git deps. Plesk servers with nodenv can't resolve 'node' during this phase, causing esbuild's install.js to fail. Adding no-op scripts prevents this. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
64847594b2
commit
c1fd514ce8
1 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,9 @@
|
|||
"build": "tsc",
|
||||
"dev": "tsc --watch",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"extract": "tsx scripts/extract-types.ts"
|
||||
"extract": "tsx scripts/extract-types.ts",
|
||||
"preinstall": "true",
|
||||
"prepare": "true"
|
||||
},
|
||||
"keywords": [
|
||||
"payload-cms",
|
||||
|
|
|
|||
Loading…
Reference in a new issue