build: run sdk build in root build script

This commit is contained in:
Tom Boucher
2026-05-25 09:55:43 -04:00
parent 30c572e537
commit a80241139b
2 changed files with 3 additions and 19 deletions

17
package-lock.json generated
View File

@@ -18,8 +18,7 @@
"gsd-tools": "bin/gsd-sdk.js"
},
"devDependencies": {
"c8": "^11.0.0",
"typescript": "^5.9.3"
"c8": "^11.0.0"
},
"engines": {
"node": ">=22.0.0",
@@ -1972,20 +1971,6 @@
"node": ">= 0.6"
}
},
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/unpipe": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",

View File

@@ -56,8 +56,7 @@
"ws": "8.20.1"
},
"devDependencies": {
"c8": "^11.0.0",
"typescript": "^5.9.3"
"c8": "^11.0.0"
},
"optionalDependencies": {
"fallow": "^2.70.0"
@@ -65,7 +64,7 @@
"scripts": {
"check:env": "bash scripts/check-env.sh",
"check:integrity": "./scripts/check-npm-integrity.sh",
"build": "tsc -b",
"build": "npm run build:sdk",
"build:hooks": "node scripts/build-hooks.js",
"build:sdk": "cd sdk && npm ci && npm run build",
"prepublishOnly": "npm run build:hooks && npm run build:sdk",