fix(sync): move typescript to dependencies to fix Docker build
npm silently skips devDependencies in some Alpine+npm combinations, causing tsc to be missing even after npm install. Moving typescript to regular dependencies guarantees it is always installed and its .bin symlink is created regardless of NODE_ENV. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
7
sync/package-lock.json
generated
7
sync/package-lock.json
generated
@@ -10,13 +10,13 @@
|
||||
"dependencies": {
|
||||
"@playwright/test": "^1.47.0",
|
||||
"dotenv": "^16.0.0",
|
||||
"pg": "^8.11.0"
|
||||
"pg": "^8.11.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"@types/pg": "^8.10.0",
|
||||
"ts-node": "^10.9.0",
|
||||
"typescript": "^5.0.0"
|
||||
"ts-node": "^10.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@cspotcode/source-map-support": {
|
||||
@@ -406,7 +406,6 @@
|
||||
"version": "5.9.3",
|
||||
"resolved": "https://npm.apple.com/typescript/-/typescript-5.9.3.tgz",
|
||||
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
|
||||
Reference in New Issue
Block a user