Move typescript and @types/react back to devDependencies (safe, pure JS).
Keep tsx in optionalDependencies since its esbuild dep fails on Plesk's
nodenv environment during npm git dependency installation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
npm installs devDeps (--include=dev) when preparing git dependencies.
esbuild (via tsx) has native install script that fails on Plesk nodenv.
Since this package exports TypeScript source files directly, no build
tools are needed at install time.
devDependencies (typescript, tsx, @types/react) are only needed for
local development on sv-payload and can be installed manually.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
Git dependencies don't run prepublishOnly, so dist/ never exists.
Point all exports directly to src/*.ts files since Next.js/Turbopack
handles TypeScript natively.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Shared TypeScript types, API client, and block registry for
coordinated CMS-to-frontend development across all tenants.
- Type extraction script from payload-types.ts (12,782 lines)
- 39 frontend collection types, 42 block types
- createPayloadClient() with tenant isolation
- createBlockRenderer() for type-safe block mapping
- Media helpers (getImageUrl, getSrcSet)
- Work order system for cross-server coordination
- Block catalog documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>