@modular-circuit/utils 0.1.0 → 0.1.1

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/index.d.mts CHANGED
@@ -33,5 +33,6 @@ declare function remove_filename_path_prefix(name: string): string;
33
33
  declare function get_port_labels(port: PortLike, circuit: ModuleCircuit): Record<string, LabelShapes>;
34
34
 
35
35
  declare const KICAD_SHC_FILE_EXT = ".kicad_sch";
36
+ declare const KICAD_PCB_FILE_EXT = ".kicad_pcb";
36
37
 
37
- export { type CC_Visitor, type GraphVisitor, KICAD_SHC_FILE_EXT, deep_copy, dfs, fmt_module_name, gen_passive_label, gen_uuid, get_circuit_ports, get_port_labels, parse_module_name, place_module, remove_filename_path_prefix, replaceAll, stringify_dependency, test_connected_components, unzipFile, zipFiles };
38
+ export { type CC_Visitor, type GraphVisitor, KICAD_PCB_FILE_EXT, KICAD_SHC_FILE_EXT, deep_copy, dfs, fmt_module_name, gen_passive_label, gen_uuid, get_circuit_ports, get_port_labels, parse_module_name, place_module, remove_filename_path_prefix, replaceAll, stringify_dependency, test_connected_components, unzipFile, zipFiles };
package/dist/index.d.ts CHANGED
@@ -33,5 +33,6 @@ declare function remove_filename_path_prefix(name: string): string;
33
33
  declare function get_port_labels(port: PortLike, circuit: ModuleCircuit): Record<string, LabelShapes>;
34
34
 
35
35
  declare const KICAD_SHC_FILE_EXT = ".kicad_sch";
36
+ declare const KICAD_PCB_FILE_EXT = ".kicad_pcb";
36
37
 
37
- export { type CC_Visitor, type GraphVisitor, KICAD_SHC_FILE_EXT, deep_copy, dfs, fmt_module_name, gen_passive_label, gen_uuid, get_circuit_ports, get_port_labels, parse_module_name, place_module, remove_filename_path_prefix, replaceAll, stringify_dependency, test_connected_components, unzipFile, zipFiles };
38
+ export { type CC_Visitor, type GraphVisitor, KICAD_PCB_FILE_EXT, KICAD_SHC_FILE_EXT, deep_copy, dfs, fmt_module_name, gen_passive_label, gen_uuid, get_circuit_ports, get_port_labels, parse_module_name, place_module, remove_filename_path_prefix, replaceAll, stringify_dependency, test_connected_components, unzipFile, zipFiles };
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ KICAD_PCB_FILE_EXT: () => KICAD_PCB_FILE_EXT,
33
34
  KICAD_SHC_FILE_EXT: () => KICAD_SHC_FILE_EXT,
34
35
  deep_copy: () => deep_copy,
35
36
  dfs: () => dfs,
@@ -220,8 +221,10 @@ function remove_filename_path_prefix(name) {
220
221
 
221
222
  // src/constants/kicad_file_ext.ts
222
223
  var KICAD_SHC_FILE_EXT = ".kicad_sch";
224
+ var KICAD_PCB_FILE_EXT = ".kicad_pcb";
223
225
  // Annotate the CommonJS export names for ESM import in node:
224
226
  0 && (module.exports = {
227
+ KICAD_PCB_FILE_EXT,
225
228
  KICAD_SHC_FILE_EXT,
226
229
  deep_copy,
227
230
  dfs,
package/dist/index.mjs CHANGED
@@ -169,7 +169,9 @@ function remove_filename_path_prefix(name) {
169
169
 
170
170
  // src/constants/kicad_file_ext.ts
171
171
  var KICAD_SHC_FILE_EXT = ".kicad_sch";
172
+ var KICAD_PCB_FILE_EXT = ".kicad_pcb";
172
173
  export {
174
+ KICAD_PCB_FILE_EXT,
173
175
  KICAD_SHC_FILE_EXT,
174
176
  deep_copy,
175
177
  dfs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modular-circuit/utils",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Intermediate representation of the modular circuit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -32,7 +32,7 @@
32
32
  "lodash": "^4.17.21",
33
33
  "uuid": "^10.0.0",
34
34
  "@modular-circuit/electronics-model": "0.1.0",
35
- "@modular-circuit/ir": "0.1.0"
35
+ "@modular-circuit/ir": "0.1.1"
36
36
  },
37
37
  "scripts": {
38
38
  "clean": "rimraf dist",