circuit-json-to-tscircuit 0.0.77 → 0.0.78

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/cli/main.js CHANGED
@@ -16,7 +16,7 @@ var package_default = {
16
16
  "./cli": "./dist/cli/main.js"
17
17
  },
18
18
  type: "module",
19
- version: "0.0.76",
19
+ version: "0.0.77",
20
20
  repository: {
21
21
  type: "git",
22
22
  url: "https://github.com/tscircuit/circuit-json-to-tscircuit.git"
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "./cli": "./dist/cli/main.js"
7
7
  },
8
8
  "type": "module",
9
- "version": "0.0.77",
9
+ "version": "0.0.78",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/tscircuit/circuit-json-to-tscircuit.git"
@@ -58,6 +58,15 @@ export async function createTiEvmRoundtrip({
58
58
  sourceCircuitJson.filter((element) => element.type === "pcb_via").length,
59
59
  )
60
60
 
61
+ for (const circuitJson of [sourceCircuitJson, renderedCircuitJson]) {
62
+ const unresolvedProjectStrings = circuitJson.filter(
63
+ (element) =>
64
+ element.type === "pcb_silkscreen_text" &&
65
+ /\.(?:PRJ_[A-Za-z0-9_]+|PCB_Rev)\b/u.test(element.text),
66
+ )
67
+ expect(unresolvedProjectStrings).toEqual([])
68
+ }
69
+
61
70
  const sourcePcbSvg = convertCircuitJsonToPcbSvg(sourceCircuitJson, {
62
71
  matchBoardAspectRatio: true,
63
72
  })
@@ -5,6 +5,11 @@ Texas Instruments' published Altium design files. They were generated with
5
5
  `tscircuit/altium-to-circuit-json` at commit
6
6
  `9a578b5762e1dcca06e6d3f84f1d2950d0acc301`.
7
7
 
8
+ Project special strings in the LM251772EVM-PD, LM5155EVM-FLY, and
9
+ LMG342X-BB-EVM PCB fixtures were resolved from their matching `.PrjPcb` files using
10
+ `tscircuit/altium-to-circuit-json` commit
11
+ `c630289c2cae01c8a4d4dc9b896b33f8a3d90f34`.
12
+
8
13
  The upstream files and checksums are maintained in that repository's
9
14
  `scripts/references/reference-manifest.ts`. The gzip files only avoid committing
10
15
  several megabytes of repetitive JSON; tests expand them before conversion.