@tscircuit/cli 0.1.2059 → 0.1.2060
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/cli/main.js +6 -5
- package/dist/lib/index.js +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -153438,7 +153438,7 @@ var import_perfect_cli = __toESM3(require_dist3(), 1);
|
|
|
153438
153438
|
// lib/getVersion.ts
|
|
153439
153439
|
import { createRequire as createRequire2 } from "node:module";
|
|
153440
153440
|
// package.json
|
|
153441
|
-
var version = "0.1.
|
|
153441
|
+
var version = "0.1.2059";
|
|
153442
153442
|
var package_default = {
|
|
153443
153443
|
name: "@tscircuit/cli",
|
|
153444
153444
|
version,
|
|
@@ -170986,7 +170986,8 @@ var registerBuild = (program) => {
|
|
|
170986
170986
|
builtFiles.push({
|
|
170987
170987
|
sourcePath: filePath,
|
|
170988
170988
|
outputPath,
|
|
170989
|
-
ok: buildOutcome.ok
|
|
170989
|
+
ok: buildOutcome.ok,
|
|
170990
|
+
hasErrors: buildOutcome.hasErrors
|
|
170990
170991
|
});
|
|
170991
170992
|
if (buildOutcome.hasErrors) {
|
|
170992
170993
|
hasErrors = true;
|
|
@@ -171356,8 +171357,8 @@ var registerBuild = (program) => {
|
|
|
171356
171357
|
}
|
|
171357
171358
|
}
|
|
171358
171359
|
}
|
|
171359
|
-
const shouldExitNonZero =
|
|
171360
|
-
const successCount = builtFiles.filter((f) => f.ok).length;
|
|
171360
|
+
const shouldExitNonZero = hasErrors;
|
|
171361
|
+
const successCount = builtFiles.filter((f) => f.ok && !f.hasErrors).length;
|
|
171361
171362
|
const failCount = builtFiles.length - successCount;
|
|
171362
171363
|
const enabledOpts = [
|
|
171363
171364
|
resolvedOptions?.site && "site",
|
|
@@ -171419,7 +171420,7 @@ var registerBuild = (program) => {
|
|
|
171419
171420
|
⚠ Build completed with errors`) : kleur_default.green(`
|
|
171420
171421
|
✓ Done`));
|
|
171421
171422
|
if (shouldExitNonZero) {
|
|
171422
|
-
exitBuild(1, "fatal circuit build errors occurred");
|
|
171423
|
+
exitBuild(1, hasFatalErrors ? "fatal circuit build errors occurred" : "circuit build errors occurred");
|
|
171423
171424
|
}
|
|
171424
171425
|
exitBuild(0, "build finished successfully");
|
|
171425
171426
|
} catch (error) {
|
package/dist/lib/index.js
CHANGED
|
@@ -69109,7 +69109,7 @@ var getNodeHandler = (winterSpec, { port, middleware = [] }) => {
|
|
|
69109
69109
|
}));
|
|
69110
69110
|
};
|
|
69111
69111
|
// package.json
|
|
69112
|
-
var version = "0.1.
|
|
69112
|
+
var version = "0.1.2059";
|
|
69113
69113
|
var package_default = {
|
|
69114
69114
|
name: "@tscircuit/cli",
|
|
69115
69115
|
version,
|