@tscircuit/runframe 0.0.1154 → 0.0.1156

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.
@@ -1454,7 +1454,7 @@ var useErrorTelemetry = ({
1454
1454
  };
1455
1455
 
1456
1456
  // package.json
1457
- var version = "0.0.1153";
1457
+ var version = "0.0.1155";
1458
1458
  var package_default = {
1459
1459
  name: "@tscircuit/runframe",
1460
1460
  main: "dist/preview.js",
@@ -1501,7 +1501,7 @@ var package_default = {
1501
1501
  "@radix-ui/react-slot": "^1.1.1",
1502
1502
  "@radix-ui/react-tabs": "^1.1.2",
1503
1503
  "@resvg/resvg-wasm": "^2.6.2",
1504
- "@tscircuit/3d-viewer": "^0.0.420",
1504
+ "@tscircuit/3d-viewer": "^0.0.421",
1505
1505
  "@tscircuit/assembly-viewer": "^0.0.5",
1506
1506
  "@tscircuit/checks": "^0.0.78",
1507
1507
  "@tscircuit/create-snippet-url": "^0.0.9",
@@ -1516,7 +1516,6 @@ var package_default = {
1516
1516
  "@tscircuit/schematic-viewer": "2.0.45",
1517
1517
  "@types/bun": "latest",
1518
1518
  "@types/debug": "^4.1.12",
1519
- "@types/micromatch": "^4.0.9",
1520
1519
  "@types/react": "^19.1.10",
1521
1520
  "@types/react-dom": "^19.1.7",
1522
1521
  "@types/three": "^0.179.0",
@@ -1548,7 +1547,7 @@ var package_default = {
1548
1547
  ky: "^1.7.5",
1549
1548
  "lucide-react": "^0.488.0",
1550
1549
  marked: "^15.0.12",
1551
- micromatch: "^4.0.8",
1550
+ minimatch: "^10.0.3",
1552
1551
  playwright: "^1.49.1",
1553
1552
  postcss: "^8.4.49",
1554
1553
  "posthog-js": "^1.253.4",
package/dist/preview.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  linkify,
9
9
  useOrderDialog,
10
10
  useOrderDialogCli
11
- } from "./chunk-YI5VOEWL.js";
11
+ } from "./chunk-EJOPE3RL.js";
12
12
  export {
13
13
  BomTable,
14
14
  CadViewer,
package/dist/runner.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  useRunFrameStore,
33
33
  useRunnerStore,
34
34
  useStyles
35
- } from "./chunk-YI5VOEWL.js";
35
+ } from "./chunk-EJOPE3RL.js";
36
36
 
37
37
  // lib/components/RunFrame/RunFrame.tsx
38
38
  import { createCircuitWebWorker } from "@tscircuit/eval/worker";
@@ -1440,7 +1440,7 @@ var EnhancedFileSelectorCombobox = ({
1440
1440
 
1441
1441
  // lib/utils/get-board-files-from-config.ts
1442
1442
  import { projectConfig } from "@tscircuit/props";
1443
- import micromatch from "micromatch";
1443
+ import { Minimatch } from "minimatch";
1444
1444
  var DEFAULT_BOARD_FILE_EXTENSIONS = [
1445
1445
  ".tsx",
1446
1446
  ".ts",
@@ -1463,9 +1463,12 @@ var getBoardFilesFromConfig = (files, configContent) => {
1463
1463
  const parsedConfig = parseProjectConfig(configContent);
1464
1464
  const includeBoardFiles = parsedConfig?.includeBoardFiles?.filter(Boolean);
1465
1465
  if (includeBoardFiles && includeBoardFiles.length > 0) {
1466
- return micromatch(files, includeBoardFiles, {
1467
- dot: true
1468
- });
1466
+ const matchers = includeBoardFiles.map(
1467
+ (pattern) => new Minimatch(pattern, { dot: true })
1468
+ );
1469
+ return files.filter(
1470
+ (file) => matchers.some((matcher) => matcher.match(file))
1471
+ );
1469
1472
  }
1470
1473
  return files.filter(DEFAULT_BOARD_FILE_FILTER);
1471
1474
  };