@tscircuit/cli 0.1.196 → 0.1.197
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +9 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -68081,7 +68081,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
68081
68081
|
import { execSync as execSync2 } from "node:child_process";
|
|
68082
68082
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
68083
68083
|
// package.json
|
|
68084
|
-
var version = "0.1.
|
|
68084
|
+
var version = "0.1.196";
|
|
68085
68085
|
var package_default = {
|
|
68086
68086
|
name: "@tscircuit/cli",
|
|
68087
68087
|
version,
|
|
@@ -78209,7 +78209,14 @@ program2.command("version").description("Print CLI version").action(() => {
|
|
|
78209
78209
|
console.log(getVersion());
|
|
78210
78210
|
});
|
|
78211
78211
|
if (process.argv.length === 2) {
|
|
78212
|
-
import_perfect_cli.perfectCli(program2, process.argv)
|
|
78212
|
+
import_perfect_cli.perfectCli(program2, process.argv).catch((err) => {
|
|
78213
|
+
if (err instanceof Error && err.name === "TypeError") {
|
|
78214
|
+
console.error(`
|
|
78215
|
+
Aborted.`);
|
|
78216
|
+
process.exit(130);
|
|
78217
|
+
}
|
|
78218
|
+
throw err;
|
|
78219
|
+
});
|
|
78213
78220
|
} else {
|
|
78214
78221
|
program2.parse();
|
|
78215
78222
|
}
|