@storybook/cli 10.0.0-beta.2 → 10.0.0-beta.4
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/_node-chunks/{block-dependencies-versions-PZK4GSL2.js → block-dependencies-versions-VAJ43FYF.js} +11 -12
- package/dist/_node-chunks/{block-experimental-addon-test-B6GR46G7.js → block-experimental-addon-test-FECEZIC5.js} +9 -9
- package/dist/_node-chunks/{block-major-version-ZNBAUCMY.js → block-major-version-5TJOKHAM.js} +9 -9
- package/dist/_node-chunks/{block-node-version-32TVGHNA.js → block-node-version-NESQ7RBO.js} +9 -9
- package/dist/_node-chunks/{block-webpack5-frameworks-OJXUXPEU.js → block-webpack5-frameworks-PEPHOPVV.js} +11 -12
- package/dist/_node-chunks/{chunk-ZRECURWB.js → chunk-CROPCQRR.js} +7 -7
- package/dist/_node-chunks/{chunk-L46EMBKQ.js → chunk-H67YXLYS.js} +49 -119
- package/dist/_node-chunks/{chunk-JGA5QHHO.js → chunk-N7B6DFER.js} +6 -6
- package/dist/_node-chunks/{chunk-WR6XFQ6E.js → chunk-SSFPIHJY.js} +7 -7
- package/dist/_node-chunks/{chunk-NF2A4AZ7.js → chunk-SU2D6UUF.js} +7 -7
- package/dist/_node-chunks/{globby-7YQLZQPV.js → globby-Q6MFNC5B.js} +8 -8
- package/dist/_node-chunks/{p-limit-J6OJU7CK.js → p-limit-6BT3Z2NP.js} +76 -10
- package/dist/_node-chunks/{run-RUUIHARP.js → run-W6KO2BME.js} +1488 -1334
- package/dist/bin/index.js +7 -7
- package/package.json +5 -5
- package/dist/_node-chunks/chunk-7QCYDB47.js +0 -87
package/dist/bin/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_7epsbhjaewn from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_7epsbhjaewn from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_7epsbhjaewn from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_7epsbhjaewn.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7epsbhjaewn.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_7epsbhjaewn.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -22,4 +22,4 @@ if (majorNodeVersion < 20 || majorNodeVersion === 20 && minorNodeVersion < 19 ||
|
|
|
22
22
|
);
|
|
23
23
|
process.exit(1);
|
|
24
24
|
}
|
|
25
|
-
import("../_node-chunks/run-
|
|
25
|
+
import("../_node-chunks/run-W6KO2BME.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/cli",
|
|
3
|
-
"version": "10.0.0-beta.
|
|
3
|
+
"version": "10.0.0-beta.4",
|
|
4
4
|
"description": "Storybook CLI: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@storybook/codemod": "10.0.0-beta.
|
|
44
|
+
"@storybook/codemod": "10.0.0-beta.4",
|
|
45
45
|
"@types/semver": "^7.3.4",
|
|
46
46
|
"commander": "^12.1.0",
|
|
47
|
-
"create-storybook": "10.0.0-beta.
|
|
47
|
+
"create-storybook": "10.0.0-beta.4",
|
|
48
48
|
"giget": "^1.0.0",
|
|
49
49
|
"jscodeshift": "^0.15.1",
|
|
50
|
-
"storybook": "10.0.0-beta.
|
|
50
|
+
"storybook": "10.0.0-beta.4",
|
|
51
51
|
"ts-dedent": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"boxen": "^7.1.1",
|
|
57
57
|
"comment-json": "^4.2.5",
|
|
58
58
|
"cross-spawn": "^7.0.6",
|
|
59
|
+
"empathic": "^2.0.0",
|
|
59
60
|
"envinfo": "^7.14.0",
|
|
60
61
|
"execa": "^9.6.0",
|
|
61
|
-
"find-up": "^7.0.0",
|
|
62
62
|
"globby": "^14.0.1",
|
|
63
63
|
"leven": "^4.0.0",
|
|
64
64
|
"p-limit": "^6.2.0",
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_vj6l0ydw3no from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_vj6l0ydw3no from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_vj6l0ydw3no from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_vj6l0ydw3no.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_vj6l0ydw3no.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_vj6l0ydw3no.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
__name
|
|
14
|
-
} from "./chunk-JGA5QHHO.js";
|
|
15
|
-
|
|
16
|
-
// ../../node_modules/yocto-queue/index.js
|
|
17
|
-
var Node = class {
|
|
18
|
-
static {
|
|
19
|
-
__name(this, "Node");
|
|
20
|
-
}
|
|
21
|
-
value;
|
|
22
|
-
next;
|
|
23
|
-
constructor(value) {
|
|
24
|
-
this.value = value;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
var Queue = class {
|
|
28
|
-
static {
|
|
29
|
-
__name(this, "Queue");
|
|
30
|
-
}
|
|
31
|
-
#head;
|
|
32
|
-
#tail;
|
|
33
|
-
#size;
|
|
34
|
-
constructor() {
|
|
35
|
-
this.clear();
|
|
36
|
-
}
|
|
37
|
-
enqueue(value) {
|
|
38
|
-
const node = new Node(value);
|
|
39
|
-
if (this.#head) {
|
|
40
|
-
this.#tail.next = node;
|
|
41
|
-
this.#tail = node;
|
|
42
|
-
} else {
|
|
43
|
-
this.#head = node;
|
|
44
|
-
this.#tail = node;
|
|
45
|
-
}
|
|
46
|
-
this.#size++;
|
|
47
|
-
}
|
|
48
|
-
dequeue() {
|
|
49
|
-
const current = this.#head;
|
|
50
|
-
if (!current) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.#head = this.#head.next;
|
|
54
|
-
this.#size--;
|
|
55
|
-
return current.value;
|
|
56
|
-
}
|
|
57
|
-
peek() {
|
|
58
|
-
if (!this.#head) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
return this.#head.value;
|
|
62
|
-
}
|
|
63
|
-
clear() {
|
|
64
|
-
this.#head = void 0;
|
|
65
|
-
this.#tail = void 0;
|
|
66
|
-
this.#size = 0;
|
|
67
|
-
}
|
|
68
|
-
get size() {
|
|
69
|
-
return this.#size;
|
|
70
|
-
}
|
|
71
|
-
*[Symbol.iterator]() {
|
|
72
|
-
let current = this.#head;
|
|
73
|
-
while (current) {
|
|
74
|
-
yield current.value;
|
|
75
|
-
current = current.next;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
*drain() {
|
|
79
|
-
while (this.#head) {
|
|
80
|
-
yield this.dequeue();
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export {
|
|
86
|
-
Queue
|
|
87
|
-
};
|