@tscircuit/cli 0.1.722 → 0.1.724

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 CHANGED
@@ -73244,7 +73244,13 @@ var projectConfigSchema = z.object({
73244
73244
  previewComponentPath: z.string().optional(),
73245
73245
  ignoredFiles: z.array(z.string()).optional(),
73246
73246
  includeBoardFiles: z.array(z.string()).optional(),
73247
- snapshotsDir: z.string().optional()
73247
+ snapshotsDir: z.string().optional(),
73248
+ build: z.object({
73249
+ circuitJson: z.boolean().optional(),
73250
+ kicadLibrary: z.boolean().optional(),
73251
+ previewImages: z.boolean().optional(),
73252
+ typescriptLibrary: z.boolean().optional()
73253
+ }).optional()
73248
73254
  });
73249
73255
 
73250
73256
  // lib/project-config/index.ts
@@ -74117,7 +74123,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
74117
74123
  import { execSync as execSync2 } from "node:child_process";
74118
74124
  var import_semver2 = __toESM2(require_semver2(), 1);
74119
74125
  // package.json
74120
- var version = "0.1.721";
74126
+ var version = "0.1.723";
74121
74127
  var package_default = {
74122
74128
  name: "@tscircuit/cli",
74123
74129
  version,
@@ -84426,7 +84432,7 @@ var OUTPUT_EXTENSIONS = {
84426
84432
  kicad_pcb: ".kicad_pcb",
84427
84433
  kicad_zip: "-kicad.zip",
84428
84434
  "kicad-footprint-library": "-footprints.zip",
84429
- "kicad-library": "-kicad-library"
84435
+ "kicad-library": ""
84430
84436
  };
84431
84437
  var exportSnippet = async ({
84432
84438
  filePath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.722",
3
+ "version": "0.1.724",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/standalone": "^7.26.9",
@@ -35,6 +35,29 @@
35
35
  "snapshotsDir": {
36
36
  "type": "string",
37
37
  "description": "Directory path for storing snapshots."
38
+ },
39
+ "build": {
40
+ "type": "object",
41
+ "additionalProperties": false,
42
+ "properties": {
43
+ "circuitJson": {
44
+ "type": "boolean",
45
+ "description": "Enable circuit JSON output in build."
46
+ },
47
+ "kicadLibrary": {
48
+ "type": "boolean",
49
+ "description": "Enable KiCad library output in build."
50
+ },
51
+ "previewImages": {
52
+ "type": "boolean",
53
+ "description": "Enable preview image outputs in build."
54
+ },
55
+ "typescriptLibrary": {
56
+ "type": "boolean",
57
+ "description": "Enable TypeScript library output in build."
58
+ }
59
+ },
60
+ "description": "Build output toggles."
38
61
  }
39
62
  }
40
63
  }