npm doesn't support the `workspace:*` protocol (that's pnpm/Yarn). This caused `npm install` to fail with EUNSUPPORTEDPROTOCOL during Docker builds. Replaced both occurrences with `file:` relative paths that npm workspaces resolves correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
890 B
JSON
37 lines
890 B
JSON
{
|
|
"name": "dynamic-sites",
|
|
"type": "module",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"workspaces": [
|
|
"shared",
|
|
"server"
|
|
],
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"dev:server": "npm run dev --workspace=server",
|
|
"build": "npm run check:content && astro build",
|
|
"start": "node dist/server/entry.mjs",
|
|
"check:content": "node scripts/validate-content.js && node scripts/check-canonical.js",
|
|
"test": "vitest run",
|
|
"check": "npm run check:content && npm test"
|
|
},
|
|
"dependencies": {
|
|
"astro": "^5.8.0",
|
|
"@astrojs/node": "^9.1.3",
|
|
"@astrojs/react": "^4.2.1",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"zod": "^3.24.0",
|
|
"@dynamic-sites/shared": "file:shared"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.1.0"
|
|
}
|
|
}
|