Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade ts-patch #6737

Merged
merged 5 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions maintenance/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/cc/maintenance/_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
34 changes: 17 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:*"
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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

Expand Down
Loading