mirror of
https://github.com/complexcaresolutions/payload-contracts.git
synced 2026-03-17 17:33:47 +00:00
tsx's esbuild postinstall fails in Plesk's nodenv sub-shell context because npm git dep preparation spawns `sh -c node install.js` which doesn't inherit the PATH set in deploy actions. Fix: Remove tsx entirely (only needed on sv-payload for `pnpm extract`, where it's available via npx). Also updates extracted types. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"name": "@c2s/payload-contracts",
|
|
"version": "1.0.0",
|
|
"description": "Shared TypeScript types, API client, and block registry for Payload CMS frontends",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"import": "./src/index.ts"
|
|
},
|
|
"./types": {
|
|
"types": "./src/types/index.ts",
|
|
"import": "./src/types/index.ts"
|
|
},
|
|
"./api-client": {
|
|
"types": "./src/api-client/index.ts",
|
|
"import": "./src/api-client/index.ts"
|
|
},
|
|
"./blocks": {
|
|
"types": "./src/blocks/registry.tsx",
|
|
"import": "./src/blocks/registry.tsx"
|
|
},
|
|
"./constants": {
|
|
"types": "./src/constants/index.ts",
|
|
"import": "./src/constants/index.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"typecheck": "tsc --noEmit",
|
|
"extract": "npx tsx scripts/extract-types.ts",
|
|
"wo:create": "bash scripts/create-work-order.sh",
|
|
"wo:execute": "bash scripts/execute-work-order.sh",
|
|
"preinstall": "true",
|
|
"prepare": "true"
|
|
},
|
|
"keywords": [
|
|
"payload-cms",
|
|
"types",
|
|
"api-client",
|
|
"multi-tenant"
|
|
],
|
|
"license": "UNLICENSED",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|