@fragments-sdk/cli 0.14.1 → 0.14.3
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 +6 -6
- package/dist/{chunk-Z5BUXIFJ.js → chunk-5A6X2Y73.js} +2 -2
- package/dist/{chunk-7K3VROEP.js → chunk-APTQIBS5.js} +2 -2
- package/dist/chunk-APTQIBS5.js.map +1 -0
- package/dist/{chunk-FZLPVN32.js → chunk-LOYS64QS.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{init-U6534EMZ.js → init-WRUSW7R5.js} +2 -2
- package/dist/mcp-bin.js +1 -1
- package/dist/{scan-LE2JEIJ4.js → scan-YJHQIRKG.js} +3 -3
- package/dist/{service-S5LXPKV4.js → service-HKJ6B7P7.js} +2 -2
- package/dist/{tokens-OPVTVITP.js → tokens-KE73G5JC.js} +2 -2
- package/dist/{viewer-OBTEPVY7.js → viewer-2TZS3NDL.js} +9 -9
- package/package.json +3 -3
- package/src/service/browser-pool.ts +2 -1
- package/dist/chunk-7K3VROEP.js.map +0 -1
- /package/dist/{chunk-Z5BUXIFJ.js.map → chunk-5A6X2Y73.js.map} +0 -0
- /package/dist/{chunk-FZLPVN32.js.map → chunk-LOYS64QS.js.map} +0 -0
- /package/dist/{init-U6534EMZ.js.map → init-WRUSW7R5.js.map} +0 -0
- /package/dist/{scan-LE2JEIJ4.js.map → scan-YJHQIRKG.js.map} +0 -0
- /package/dist/{service-S5LXPKV4.js.map → service-HKJ6B7P7.js.map} +0 -0
- /package/dist/{tokens-OPVTVITP.js.map → tokens-KE73G5JC.js.map} +0 -0
- /package/dist/{viewer-OBTEPVY7.js.map → viewer-2TZS3NDL.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
validateDrift,
|
|
23
23
|
validateSchema,
|
|
24
24
|
validateSnippets
|
|
25
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6779
|
+
//# sourceMappingURL=chunk-APTQIBS5.js.map
|