@tscircuit/cli 0.1.284 → 0.1.285
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 +10 -2
- 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.284";
|
|
87537
87537
|
var package_default = {
|
|
87538
87538
|
name: "@tscircuit/cli",
|
|
87539
87539
|
version,
|
|
@@ -111247,7 +111247,16 @@ 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");
|
|
111250
111251
|
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();
|
|
111251
111260
|
await runner.renderUntilSettled();
|
|
111252
111261
|
const circuitJson = await runner.getCircuitJson();
|
|
111253
111262
|
if (saveToFile) {
|
|
@@ -213419,7 +213428,6 @@ function analyzeCircuitJson(circuitJson) {
|
|
|
213419
213428
|
// cli/build/build-file.ts
|
|
213420
213429
|
var buildFile = async (input, output, projectDir, options) => {
|
|
213421
213430
|
try {
|
|
213422
|
-
console.log("Generating circuit JSON...");
|
|
213423
213431
|
const result = await generateCircuitJson({
|
|
213424
213432
|
filePath: input,
|
|
213425
213433
|
platformConfig: options?.platformConfig
|