@fragments-sdk/cli 0.14.0 → 0.14.2

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/bin.js CHANGED
@@ -22,13 +22,13 @@ import {
22
22
  validateDrift,
23
23
  validateSchema,
24
24
  validateSnippets
25
- } from "./chunk-FZLPVN32.js";
25
+ } from "./chunk-LOYS64QS.js";
26
26
  import {
27
27
  createComponentExtractor
28
28
  } from "./chunk-EYXVAMEX.js";
29
29
  import {
30
30
  scan
31
- } from "./chunk-Z5BUXIFJ.js";
31
+ } from "./chunk-5A6X2Y73.js";
32
32
  import {
33
33
  loadConfig,
34
34
  loadFragmentFile,
@@ -52,7 +52,7 @@ import {
52
52
  renderAllComponentVariants,
53
53
  scanCodebase,
54
54
  shutdownSharedPool
55
- } from "./chunk-7K3VROEP.js";
55
+ } from "./chunk-APTQIBS5.js";
56
56
  import "./chunk-D2CDBRNU.js";
57
57
  import {
58
58
  BRAND,
@@ -1901,7 +1901,7 @@ ${BRAND.name} Dev Server
1901
1901
  }
1902
1902
  }
1903
1903
  }
1904
- const { createDevServer } = await import("./viewer-OBTEPVY7.js");
1904
+ const { createDevServer } = await import("./viewer-2TZS3NDL.js");
1905
1905
  console.log(pc7.dim("\nStarting dev server..."));
1906
1906
  const parsedPort = typeof port === "string" ? parseInt(port, 10) : port;
1907
1907
  try {
@@ -6683,7 +6683,7 @@ program.command("init").description("Initialize fragments in a project (zero-con
6683
6683
  });
6684
6684
  return;
6685
6685
  }
6686
- const { init } = await import("./init-U6534EMZ.js");
6686
+ const { init } = await import("./init-WRUSW7R5.js");
6687
6687
  const result = await init({
6688
6688
  projectRoot: process.cwd(),
6689
6689
  force: options.force,
@@ -6728,7 +6728,7 @@ program.command("snapshot").description("Run visual snapshot tests per component
6728
6728
  });
6729
6729
  program.command("tokens").description("Discover and list design tokens from CSS/SCSS files").option("-c, --config <path>", "Path to config file").option("--json", "Output as JSON").option("--categories", "Group tokens by category").option("--theme <theme>", "Filter by theme name").option("--category <category>", "Filter by category (color, spacing, typography, etc.)").option("--verbose", "Show all tokens (no truncation)").action(async (options) => {
6730
6730
  try {
6731
- const { tokens } = await import("./tokens-OPVTVITP.js");
6731
+ const { tokens } = await import("./tokens-KE73G5JC.js");
6732
6732
  const result = await tokens({
6733
6733
  config: options.config,
6734
6734
  json: options.json,
@@ -14,7 +14,7 @@ import {
14
14
  inferAllRelations,
15
15
  parseAllStories,
16
16
  scanCodebase
17
- } from "./chunk-7K3VROEP.js";
17
+ } from "./chunk-APTQIBS5.js";
18
18
  import {
19
19
  BRAND
20
20
  } from "./chunk-I34BC3CU.js";
@@ -370,4 +370,4 @@ function calculateConfidence(props, usageAnalysis, storyFile) {
370
370
  export {
371
371
  scan
372
372
  };
373
- //# sourceMappingURL=chunk-Z5BUXIFJ.js.map
373
+ //# sourceMappingURL=chunk-5A6X2Y73.js.map
@@ -5,7 +5,6 @@ import {
5
5
  } from "./chunk-I34BC3CU.js";
6
6
 
7
7
  // src/service/browser-pool.ts
8
- import { chromium } from "playwright";
9
8
  var BrowserPool = class {
10
9
  browser = null;
11
10
  contexts = [];
@@ -131,6 +130,7 @@ var BrowserPool = class {
131
130
  return this.initPromise;
132
131
  }
133
132
  async doInitialize() {
133
+ const { chromium } = await import("playwright");
134
134
  this.browser = await chromium.launch({
135
135
  headless: this.headless,
136
136
  args: [
@@ -6776,4 +6776,4 @@ export {
6776
6776
  getStorybookStoryIds,
6777
6777
  renderAllComponentVariants
6778
6778
  };
6779
- //# sourceMappingURL=chunk-7K3VROEP.js.map
6779
+ //# sourceMappingURL=chunk-APTQIBS5.js.map