diff --git a/maintenance/build.ts b/maintenance/build.ts index 402960354346..cf06caf5a5fb 100644 --- a/maintenance/build.ts +++ b/maintenance/build.ts @@ -53,6 +53,20 @@ async function main() { return; } + console.log("Building transformers..."); + await execa( + "yarn", + [ + "workspace", + "@zwave-js/transformers", + "run", + "build", + "--verbose", + ...buildArgs, + ], + execOptions, + ); + // Execute codegen tasks, so the rest can be built console.log(); console.log("Running codegen tasks..."); diff --git a/package.json b/package.json index 28c818ab13a0..be4d6b3fff84 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "reflect-metadata": "^0.1.13", "semver": "^7.5.4", "source-map-support": "^0.5.21", - "ts-patch": "3.0.2", + "ts-patch": "3.1.2", "turbo": "1.7.4", "typescript": "5.4.4", "zwave-js": "workspace:*" diff --git a/packages/cc/maintenance/_tasks.ts b/packages/cc/maintenance/_tasks.ts index 5d6c2c89a063..01c886fdf5fc 100644 --- a/packages/cc/maintenance/_tasks.ts +++ b/packages/cc/maintenance/_tasks.ts @@ -18,7 +18,7 @@ const codegen = () => await codegen(); } })().catch((e) => { - console.error(red(e.message)); + console.error(red(e.stack)); console.error(" "); process.exit(1); }); diff --git a/yarn.lock b/yarn.lock index 1f7df45ff25d..5bcf719d2fd2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2070,7 +2070,7 @@ __metadata: reflect-metadata: ^0.1.13 semver: ^7.5.4 source-map-support: ^0.5.21 - ts-patch: 3.0.2 + ts-patch: 3.1.2 turbo: 1.7.4 typescript: 5.4.4 zwave-js: "workspace:*" @@ -7779,17 +7779,6 @@ resolve@^1.10.0: languageName: node linkType: hard -"semver@npm:^7.3.8, semver@npm:^7.6.0": - version: 7.6.0 - resolution: "semver@npm:7.6.0" - dependencies: - lru-cache: ^6.0.0 - bin: - semver: bin/semver.js - checksum: 7427f05b70786c696640edc29fdd4bc33b2acf3bbe1740b955029044f80575fc664e1a512e4113c3af21e767154a94b4aa214bf6cd6e42a1f6dba5914e0b208c - languageName: node - linkType: hard - "semver@npm:^7.5.2": version: 7.5.3 resolution: "semver@npm:7.5.3" @@ -7812,6 +7801,17 @@ resolve@^1.10.0: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.0 + resolution: "semver@npm:7.6.0" + dependencies: + lru-cache: ^6.0.0 + bin: + semver: bin/semver.js + checksum: 7427f05b70786c696640edc29fdd4bc33b2acf3bbe1740b955029044f80575fc664e1a512e4113c3af21e767154a94b4aa214bf6cd6e42a1f6dba5914e0b208c + languageName: node + linkType: hard + "serialize-error@npm:^7.0.1": version: 7.0.1 resolution: "serialize-error@npm:7.0.1" @@ -8454,20 +8454,20 @@ resolve@^1.10.0: languageName: node linkType: hard -"ts-patch@npm:3.0.2": - version: 3.0.2 - resolution: "ts-patch@npm:3.0.2" +"ts-patch@npm:3.1.2": + version: 3.1.2 + resolution: "ts-patch@npm:3.1.2" dependencies: chalk: ^4.1.2 global-prefix: ^3.0.0 minimist: ^1.2.8 resolve: ^1.22.2 - semver: ^7.3.8 + semver: ^7.5.4 strip-ansi: ^6.0.1 bin: ts-patch: bin/ts-patch.js tspc: bin/tspc.js - checksum: 09cdc54bf517b11d4b0de64515e9a0d7e71e238d6065b3c02a04280dc2683143cd810a9065046228571af0865a7d876a4a852ff9a909cb2cae8fe33b41e4eb81 + checksum: b6bf7a34280863b32f5c21d8367108046f1e0305d197e87ef871679c446a6fe29662d7e3d4de19bda8785b49bd628d58d9dc82d908f1a785638115a08c6b01ea languageName: node linkType: hard