create-storybook 10.5.7 → 10.5.8
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/{chunk-LL776J7W.js → chunk-6UXQ6MKN.js} +6 -6
- package/dist/_node-chunks/{chunk-XZDMQSTU.js → chunk-LIIJVO3F.js} +13 -13
- package/dist/_node-chunks/{chunk-FEJ3DY2P.js → chunk-RWUHENIZ.js} +6 -6
- package/dist/_node-chunks/{postinstallAddon-TTTHDKT2.js → postinstallAddon-QKDD5G2D.js} +8 -8
- package/dist/_node-chunks/{run-HDSADL3B.js → run-N3XFFZMZ.js} +10 -10
- package/dist/_node-chunks/{vitest.config.3.2.template-Z25H6YLP.js → vitest.config.3.2.template-QGONLQNW.js} +7 -7
- package/dist/_node-chunks/{vitest.config.4.template-7UYKEVQH.js → vitest.config.4.template-UZVUSAPP.js} +7 -7
- package/dist/_node-chunks/{vitest.config.template-FKZ57HH4.js → vitest.config.template-KH5TOVVE.js} +7 -7
- package/dist/_node-chunks/{vitest.workspace.template-Y3RASU7X.js → vitest.workspace.template-FCAAMLOU.js} +7 -7
- package/dist/bin/index.js +7 -7
- package/dist/index.js +9 -9
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
normalize,
|
|
15
15
|
relative,
|
|
16
16
|
resolve
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6UXQ6MKN.js";
|
|
18
18
|
import {
|
|
19
19
|
__commonJS,
|
|
20
20
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RWUHENIZ.js";
|
|
22
22
|
|
|
23
23
|
// ../../../node_modules/ts-dedent/dist/index.js
|
|
24
24
|
var require_dist = __commonJS({
|
|
@@ -1781,13 +1781,13 @@ import {
|
|
|
1781
1781
|
async function getTemplatePath(name) {
|
|
1782
1782
|
switch (name) {
|
|
1783
1783
|
case "vitest.config.template":
|
|
1784
|
-
return import("./vitest.config.template-
|
|
1784
|
+
return import("./vitest.config.template-KH5TOVVE.js");
|
|
1785
1785
|
case "vitest.config.4.template":
|
|
1786
|
-
return import("./vitest.config.4.template-
|
|
1786
|
+
return import("./vitest.config.4.template-UZVUSAPP.js");
|
|
1787
1787
|
case "vitest.config.3.2.template":
|
|
1788
|
-
return import("./vitest.config.3.2.template-
|
|
1788
|
+
return import("./vitest.config.3.2.template-QGONLQNW.js");
|
|
1789
1789
|
case "vitest.workspace.template":
|
|
1790
|
-
return import("./vitest.workspace.template-
|
|
1790
|
+
return import("./vitest.workspace.template-FCAAMLOU.js");
|
|
1791
1791
|
default:
|
|
1792
1792
|
throw new Error(`Unknown template: ${name}`);
|
|
1793
1793
|
}
|
|
@@ -2376,7 +2376,7 @@ var ADDON_INSTALLATION_INSTRUCTIONS = {
|
|
|
2376
2376
|
}
|
|
2377
2377
|
/** Configure test addons (a11y and vitest) */
|
|
2378
2378
|
async configureAddons(configDir, addons) {
|
|
2379
|
-
let { postinstallAddon } = await import("./postinstallAddon-
|
|
2379
|
+
let { postinstallAddon } = await import("./postinstallAddon-QKDD5G2D.js"), task = prompt6.taskLog({
|
|
2380
2380
|
id: "configure-addons",
|
|
2381
2381
|
title: "Configuring addons..."
|
|
2382
2382
|
}), addonResults = /* @__PURE__ */ new Map();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-6UXQ6MKN.js";
|
|
13
|
+
import "./chunk-RWUHENIZ.js";
|
|
14
14
|
|
|
15
15
|
// ../cli-storybook/src/postinstallAddon.ts
|
|
16
16
|
import { spawnSync } from "node:child_process";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
initiate
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-LIIJVO3F.js";
|
|
15
|
+
import "./chunk-6UXQ6MKN.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RWUHENIZ.js";
|
|
21
21
|
|
|
22
22
|
// ../../../node_modules/commander/lib/error.js
|
|
23
23
|
var require_error = __commonJS({
|
|
@@ -2620,7 +2620,7 @@ var import_index = __toESM(require_commander(), 1), {
|
|
|
2620
2620
|
} = import_index.default;
|
|
2621
2621
|
|
|
2622
2622
|
// package.json
|
|
2623
|
-
var version = "10.5.
|
|
2623
|
+
var version = "10.5.8";
|
|
2624
2624
|
|
|
2625
2625
|
// ../../../node_modules/std-env/dist/index.mjs
|
|
2626
2626
|
var e = globalThis.process?.env || /* @__PURE__ */ Object.create(null), t = globalThis.process || { env: e }, n = t !== void 0 && t.env && t.env.NODE_ENV || void 0, r = [["claude", ["CLAUDECODE", "CLAUDE_CODE"]], ["replit", ["REPL_ID"]], ["gemini", ["GEMINI_CLI"]], ["codex", ["CODEX_SANDBOX", "CODEX_THREAD_ID"]], ["opencode", ["OPENCODE"]], ["pi", [i("PATH", /\.pi[\\/]agent/)]], ["auggie", ["AUGMENT_AGENT"]], ["goose", ["GOOSE_PROVIDER"]], ["devin", [i("EDITOR", /devin/)]], ["cursor", ["CURSOR_AGENT"]], ["kiro", [i("TERM_PROGRAM", /kiro/)]]];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RWUHENIZ.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.3.2.template.ts
|
|
15
15
|
var vitest_config_3_2_template_default = `import path from 'node:path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RWUHENIZ.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.4.template.ts
|
|
15
15
|
var vitest_config_4_template_default = `import path from 'node:path';
|
package/dist/_node-chunks/{vitest.config.template-FKZ57HH4.js → vitest.config.template-KH5TOVVE.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RWUHENIZ.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.config.template.ts
|
|
15
15
|
var vitest_config_template_default = `import path from 'node:path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RWUHENIZ.js";
|
|
13
13
|
|
|
14
14
|
// raw:../templates/vitest.workspace.template.ts
|
|
15
15
|
var vitest_workspace_template_default = `import path from 'node:path';
|
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_golu5hwfkl from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -20,4 +20,4 @@ if (!isNodeVersionSupported(major, minor, patch)) {
|
|
|
20
20
|
You are currently running Node.js ${process.version}.`
|
|
21
21
|
), logger.outro(""), process.exit(1);
|
|
22
22
|
}
|
|
23
|
-
await import("../_node-chunks/run-
|
|
23
|
+
await import("../_node-chunks/run-N3XFFZMZ.js");
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_golu5hwfkl from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_golu5hwfkl from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_golu5hwfkl from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_golu5hwfkl.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_golu5hwfkl.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_golu5hwfkl.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
doInitiate
|
|
14
|
-
} from "./_node-chunks/chunk-
|
|
15
|
-
import "./_node-chunks/chunk-
|
|
16
|
-
import "./_node-chunks/chunk-
|
|
14
|
+
} from "./_node-chunks/chunk-LIIJVO3F.js";
|
|
15
|
+
import "./_node-chunks/chunk-6UXQ6MKN.js";
|
|
16
|
+
import "./_node-chunks/chunk-RWUHENIZ.js";
|
|
17
17
|
export {
|
|
18
18
|
doInitiate as initiate
|
|
19
19
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-storybook",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.8",
|
|
4
4
|
"description": "Storybook installer: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"semver": "^7.7.3",
|
|
42
|
-
"storybook": "10.5.
|
|
42
|
+
"storybook": "10.5.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/prompts": "^2.0.9",
|