Three small build-time fixes surfaced when the Docker images first ran their full production build (previously only dev mode via tsx): - packages/shared: exclude *.test.ts from tsc (vitest types not needed for shipped output), add @types/node dep so node:crypto resolves - packages/db: add @types/node dep for the same reason - apps/web: pin Next.js Turbopack root to the workspace root via next.config.ts so the bundler doesn't fail to detect the monorepo layout from inside the Docker image
29 lines
602 B
JSON
29 lines
602 B
JSON
{
|
|
"name": "@cmbot/shared",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "echo 'lint placeholder'",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"rrule": "^2.8.1",
|
|
"luxon": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/luxon": "^3.4.2",
|
|
"@types/node": "^22.7.0",
|
|
"typescript": "^5.5.0",
|
|
"vitest": "^2.1.0"
|
|
}
|
|
}
|