publish-all.ts now does a tsc → dist/ build per package before pack, then rewrites package.json's main/types/exports to point at the built artefacts and ensures `files: ["dist"]` so the tarball ships only the built code. The in-repo package.json is restored in the finally block so dev/typecheck keep working without a build pass. Why: strict-mode consumers (Cyndr) were forced to recompile Shade source under their own tsconfig and tripped on internal `process.env.X` accesses and implicit-any parameters. Shipping pre-built `.js` + `.d.ts` makes the strictness contract live entirely inside Shade.
21 lines
446 B
JSON
21 lines
446 B
JSON
{
|
|
"name": "@shade/dashboard",
|
|
"version": "4.11.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build && bun run scripts/copy-to-observer.ts"
|
|
},
|
|
"dependencies": {
|
|
"@shade/widgets": "workspace:*",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^4.3.0",
|
|
"vite": "^6.0.0"
|
|
}
|
|
}
|