@tscircuit/cli 0.1.285 → 0.1.286
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 +2 -10
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -87533,7 +87533,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
87533
87533
|
import { execSync as execSync2 } from "node:child_process";
|
|
87534
87534
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
87535
87535
|
// package.json
|
|
87536
|
-
var version = "0.1.
|
|
87536
|
+
var version = "0.1.285";
|
|
87537
87537
|
var package_default = {
|
|
87538
87538
|
name: "@tscircuit/cli",
|
|
87539
87539
|
version,
|
|
@@ -111247,16 +111247,7 @@ async function generateCircuitJson({
|
|
|
111247
111247
|
if (!Component) {
|
|
111248
111248
|
throw new Error(`No component found in "${filePath}". Make sure you export a component.`);
|
|
111249
111249
|
}
|
|
111250
|
-
console.log("adding component");
|
|
111251
111250
|
runner.add(/* @__PURE__ */ jsxDEV(Component, {}, undefined, false, undefined, this));
|
|
111252
|
-
runner.on("asyncEffect:start", (effect) => {
|
|
111253
|
-
console.log("asyncEffect:start", effect);
|
|
111254
|
-
});
|
|
111255
|
-
runner.on("asyncEffect:end", (effect) => {
|
|
111256
|
-
console.log("asyncEffect:end", effect);
|
|
111257
|
-
});
|
|
111258
|
-
console.log("boardRenderPhaseStarted");
|
|
111259
|
-
runner.render();
|
|
111260
111251
|
await runner.renderUntilSettled();
|
|
111261
111252
|
const circuitJson = await runner.getCircuitJson();
|
|
111262
111253
|
if (saveToFile) {
|
|
@@ -213428,6 +213419,7 @@ function analyzeCircuitJson(circuitJson) {
|
|
|
213428
213419
|
// cli/build/build-file.ts
|
|
213429
213420
|
var buildFile = async (input, output, projectDir, options) => {
|
|
213430
213421
|
try {
|
|
213422
|
+
console.log("Generating circuit JSON...");
|
|
213431
213423
|
const result = await generateCircuitJson({
|
|
213432
213424
|
filePath: input,
|
|
213433
213425
|
platformConfig: options?.platformConfig
|