@tscircuit/cli 0.1.702 → 0.1.703
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 +22 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -74111,7 +74111,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
74111
74111
|
import { execSync as execSync2 } from "node:child_process";
|
|
74112
74112
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
74113
74113
|
// package.json
|
|
74114
|
-
var version = "0.1.
|
|
74114
|
+
var version = "0.1.702";
|
|
74115
74115
|
var package_default = {
|
|
74116
74116
|
name: "@tscircuit/cli",
|
|
74117
74117
|
version,
|
|
@@ -188384,7 +188384,27 @@ var registerBuild = (program3) => {
|
|
|
188384
188384
|
});
|
|
188385
188385
|
}
|
|
188386
188386
|
}
|
|
188387
|
-
|
|
188387
|
+
const successCount = builtFiles.filter((f) => f.ok).length;
|
|
188388
|
+
const failCount = builtFiles.length - successCount;
|
|
188389
|
+
const enabledOpts = [
|
|
188390
|
+
options?.site && "site",
|
|
188391
|
+
options?.transpile && "transpile",
|
|
188392
|
+
options?.previewImages && "preview-images",
|
|
188393
|
+
options?.allImages && "all-images",
|
|
188394
|
+
options?.kicad && "kicad",
|
|
188395
|
+
options?.kicadFootprintLibrary && "kicad-footprint-library",
|
|
188396
|
+
options?.previewGltf && "preview-gltf"
|
|
188397
|
+
].filter(Boolean);
|
|
188398
|
+
console.log("");
|
|
188399
|
+
console.log(kleur_default.bold("Build complete"));
|
|
188400
|
+
console.log(` Circuits ${kleur_default.green(`${successCount} passed`)}${failCount > 0 ? kleur_default.red(` ${failCount} failed`) : ""}`);
|
|
188401
|
+
if (enabledOpts.length > 0) {
|
|
188402
|
+
console.log(` Options ${kleur_default.cyan(enabledOpts.join(", "))}`);
|
|
188403
|
+
}
|
|
188404
|
+
console.log(` Output ${kleur_default.dim(path42.relative(process.cwd(), distDir) || "dist")}`);
|
|
188405
|
+
console.log(hasErrors ? kleur_default.yellow(`
|
|
188406
|
+
⚠ Build completed with errors`) : kleur_default.green(`
|
|
188407
|
+
✓ Done`));
|
|
188388
188408
|
process.exit(0);
|
|
188389
188409
|
} catch (error) {
|
|
188390
188410
|
const message = error instanceof Error ? error.message : String(error);
|