@storybook/cli 11.0.0-alpha.0 → 11.0.0-alpha.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/_node-chunks/block-create-react-app-S75U52PV.js +42 -0
- package/dist/_node-chunks/block-dependencies-versions-OE33DFGG.js +109 -0
- package/dist/_node-chunks/{block-experimental-addon-test-XNH74PCO.js → block-experimental-addon-test-WOXAZ3RX.js} +9 -9
- package/dist/_node-chunks/{block-major-version-YOQYZU5B.js → block-major-version-RDFODY7R.js} +9 -9
- package/dist/_node-chunks/block-node-version-UYPE22YT.js +33 -0
- package/dist/_node-chunks/block-react-legacy-root-api-PGXZ7QMZ.js +46 -0
- package/dist/_node-chunks/{block-webpack5-frameworks-22N7B7LN.js → block-webpack5-frameworks-YMQMDT4K.js} +11 -11
- package/dist/_node-chunks/{chunk-Z6UVGYIX.js → chunk-4FMYWB7X.js} +19 -19
- package/dist/_node-chunks/chunk-AN6OIB5U.js +11 -0
- package/dist/_node-chunks/{chunk-ZFSSZ5II.js → chunk-HQDYW2YJ.js} +7 -7
- package/dist/_node-chunks/{chunk-ERKEB6JM.js → chunk-J3WRLX7B.js} +6 -6
- package/dist/_node-chunks/{chunk-L7H6KZKS.js → chunk-W57OB62U.js} +62 -104
- package/dist/_node-chunks/{globby-3N2PP55V.js → globby-WMCQAVLC.js} +8 -8
- package/dist/_node-chunks/{p-limit-NCZCMJYE.js → p-limit-LXSOEKNZ.js} +7 -7
- package/dist/_node-chunks/{run-X5OTTCRL.js → run-RAVT6J4R.js} +2524 -2814
- package/dist/bin/index.js +8 -9
- package/package.json +5 -5
- package/dist/_node-chunks/block-dependencies-versions-325L2TXU.js +0 -68
- package/dist/_node-chunks/block-node-version-HFQ6OZ6T.js +0 -38
- package/dist/_node-chunks/chunk-QMXJDFWB.js +0 -11
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import "./chunk-AN6OIB5U.js";
|
|
13
|
+
import "./chunk-J3WRLX7B.js";
|
|
14
|
+
|
|
15
|
+
// src/autoblock/block-create-react-app.ts
|
|
16
|
+
import { dedent } from "ts-dedent";
|
|
17
|
+
var blocker = {
|
|
18
|
+
id: "createReactApp",
|
|
19
|
+
async check({ packageManager }) {
|
|
20
|
+
return await packageManager.getInstalledVersion(
|
|
21
|
+
"@storybook/preset-create-react-app"
|
|
22
|
+
) !== null;
|
|
23
|
+
},
|
|
24
|
+
log() {
|
|
25
|
+
return {
|
|
26
|
+
title: "Create React App: support removed",
|
|
27
|
+
message: dedent`
|
|
28
|
+
Storybook 11+ does not automatically inherit Create React App's configurations.
|
|
29
|
+
|
|
30
|
+
Migrate your project to, e.g., Vite (\`@storybook/react-vite\`) to keep using Storybook.
|
|
31
|
+
|
|
32
|
+
Alternatively, rerun init with explicit project type and builder flags to set Storybook
|
|
33
|
+
up with webpack5 or vite instead:
|
|
34
|
+
npx storybook@latest init --type react --builder vite
|
|
35
|
+
`,
|
|
36
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#create-react-app-support-removed"
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
blocker
|
|
42
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
findOutdatedPackage
|
|
14
|
+
} from "./chunk-W57OB62U.js";
|
|
15
|
+
import "./chunk-4FMYWB7X.js";
|
|
16
|
+
import "./chunk-HQDYW2YJ.js";
|
|
17
|
+
import "./chunk-AN6OIB5U.js";
|
|
18
|
+
import "./chunk-J3WRLX7B.js";
|
|
19
|
+
|
|
20
|
+
// src/autoblock/block-dependencies-versions.ts
|
|
21
|
+
import { dedent } from "ts-dedent";
|
|
22
|
+
var minimalVersionsMap = {
|
|
23
|
+
"@angular/core": "21.0.0",
|
|
24
|
+
next: "15.0.0",
|
|
25
|
+
preact: "10.8.0",
|
|
26
|
+
react: "18.0.0",
|
|
27
|
+
"react-dom": "18.0.0",
|
|
28
|
+
svelte: "5.0.0",
|
|
29
|
+
vue: "3.0.0",
|
|
30
|
+
vite: "5.0.0"
|
|
31
|
+
}, conditionalVersionsMap = {
|
|
32
|
+
vitest: { gatedBy: "@storybook/addon-vitest", minimumVersion: "4.0.0" }
|
|
33
|
+
}, blocker = {
|
|
34
|
+
id: "dependenciesVersions",
|
|
35
|
+
async check({ packageManager }) {
|
|
36
|
+
let outdated = await findOutdatedPackage(minimalVersionsMap, {
|
|
37
|
+
packageManager
|
|
38
|
+
});
|
|
39
|
+
if (outdated && (outdated.packageName === "react" || outdated.packageName === "react-dom") && outdated.installedVersion?.startsWith("0.0.0"))
|
|
40
|
+
return !1;
|
|
41
|
+
if (outdated !== !1)
|
|
42
|
+
return outdated;
|
|
43
|
+
try {
|
|
44
|
+
let installedGates = await Promise.all(
|
|
45
|
+
Object.entries(conditionalVersionsMap).map(
|
|
46
|
+
async ([packageName, { gatedBy, minimumVersion }]) => await packageManager.getInstalledVersion(gatedBy) ? [packageName, minimumVersion] : null
|
|
47
|
+
)
|
|
48
|
+
), gatedVersions = Object.fromEntries(installedGates.filter((gate) => gate !== null));
|
|
49
|
+
return Object.keys(gatedVersions).length === 0 ? !1 : await findOutdatedPackage(gatedVersions, { packageManager });
|
|
50
|
+
} catch {
|
|
51
|
+
return !1;
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
log(data) {
|
|
55
|
+
switch (data.packageName) {
|
|
56
|
+
case "@angular/core":
|
|
57
|
+
return {
|
|
58
|
+
title: "Require Angular v21 and up",
|
|
59
|
+
message: dedent`
|
|
60
|
+
Support for Angular < 21 has been removed.
|
|
61
|
+
Please see the migration guide for more information:
|
|
62
|
+
`,
|
|
63
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#angular-requires-angular-21-or-higher"
|
|
64
|
+
};
|
|
65
|
+
case "next":
|
|
66
|
+
return {
|
|
67
|
+
title: "Next.js 15 support removed",
|
|
68
|
+
message: dedent`
|
|
69
|
+
Support for Next.js < 15 has been removed.
|
|
70
|
+
Please see the migration guide for more information:
|
|
71
|
+
`,
|
|
72
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#nextjs-require-v15-and-up"
|
|
73
|
+
};
|
|
74
|
+
case "vitest":
|
|
75
|
+
return {
|
|
76
|
+
title: "Vitest 4 required by @storybook/addon-vitest",
|
|
77
|
+
message: dedent`
|
|
78
|
+
The addon requires Vitest 4.0.0 or higher. You are currently using Vitest ${data.installedVersion}.
|
|
79
|
+
|
|
80
|
+
Please upgrade Vitest to 4.0.0 or higher before upgrading Storybook:
|
|
81
|
+
1. Update vitest (and any @vitest/* packages) in your project to version 4
|
|
82
|
+
2. Run your test suite to verify the migration
|
|
83
|
+
`,
|
|
84
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#vitest-addon-requires-vitest-40-or-higher"
|
|
85
|
+
};
|
|
86
|
+
case "react":
|
|
87
|
+
case "react-dom":
|
|
88
|
+
return {
|
|
89
|
+
title: "React 18 or newer required",
|
|
90
|
+
message: dedent`
|
|
91
|
+
Support for React < 18 has been removed.
|
|
92
|
+
Please see the migration guide for more information:
|
|
93
|
+
`,
|
|
94
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-require-v18-and-up"
|
|
95
|
+
};
|
|
96
|
+
default:
|
|
97
|
+
return {
|
|
98
|
+
title: `${data.packageName} version < ${data.minimumVersion} support removed`,
|
|
99
|
+
message: dedent`
|
|
100
|
+
Support for ${data.packageName} version < ${data.minimumVersion} has been removed.
|
|
101
|
+
Storybook needs a minimum version of ${data.minimumVersion}, but you have version ${data.installedVersion}.
|
|
102
|
+
`
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
export {
|
|
108
|
+
blocker
|
|
109
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.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-QMXJDFWB.js";
|
|
13
12
|
import {
|
|
14
13
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HQDYW2YJ.js";
|
|
15
|
+
import "./chunk-AN6OIB5U.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3WRLX7B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-experimental-addon-test.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
package/dist/_node-chunks/{block-major-version-YOQYZU5B.js → block-major-version-RDFODY7R.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.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-QMXJDFWB.js";
|
|
13
12
|
import {
|
|
14
13
|
require_semver
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HQDYW2YJ.js";
|
|
15
|
+
import "./chunk-AN6OIB5U.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3WRLX7B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-major-version.ts
|
|
21
21
|
var import_semver = __toESM(require_semver(), 1);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import "./chunk-AN6OIB5U.js";
|
|
13
|
+
import "./chunk-J3WRLX7B.js";
|
|
14
|
+
|
|
15
|
+
// src/autoblock/block-node-version.ts
|
|
16
|
+
import { MIN_SUPPORTED_NODE_DESCRIPTION, isNodeVersionSupported } from "storybook/internal/common";
|
|
17
|
+
var blocker = {
|
|
18
|
+
id: "minimumNode22",
|
|
19
|
+
async check() {
|
|
20
|
+
let nodeVersion = process.versions.node;
|
|
21
|
+
return nodeVersion && !isNodeVersionSupported(nodeVersion) ? { nodeVersion } : !1;
|
|
22
|
+
},
|
|
23
|
+
log(data) {
|
|
24
|
+
return {
|
|
25
|
+
title: "Node.js 22.12 or higher required",
|
|
26
|
+
message: `We've detected you're using Node.js v${data.nodeVersion}. Storybook requires Node.js ${MIN_SUPPORTED_NODE_DESCRIPTION}.`,
|
|
27
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#nodejs-2212-or-higher"
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
blocker
|
|
33
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import "./chunk-AN6OIB5U.js";
|
|
13
|
+
import "./chunk-J3WRLX7B.js";
|
|
14
|
+
|
|
15
|
+
// src/autoblock/block-react-legacy-root-api.ts
|
|
16
|
+
import { dedent } from "ts-dedent";
|
|
17
|
+
var blocker = {
|
|
18
|
+
id: "reactLegacyRootApi",
|
|
19
|
+
async check({ mainConfig }) {
|
|
20
|
+
let framework = mainConfig.framework;
|
|
21
|
+
return typeof framework != "object" || framework === null ? !1 : "legacyRootApi" in (framework.options ?? {});
|
|
22
|
+
},
|
|
23
|
+
log() {
|
|
24
|
+
return {
|
|
25
|
+
title: "React legacy root API removed",
|
|
26
|
+
message: dedent`
|
|
27
|
+
Your Storybook config sets the \`framework.options.legacyRootApi\` option, which no longer exists.
|
|
28
|
+
|
|
29
|
+
Storybook now always renders through React's new root API (\`react-dom/client\`), introduced in
|
|
30
|
+
React 18 and required by React 19. Remove \`legacyRootApi\` from your \`.storybook/main.*\`
|
|
31
|
+
framework options, whether it is set to \`true\` or \`false\`.
|
|
32
|
+
|
|
33
|
+
If you set it to \`true\` to defer a React 18 migration, migrate your application code to the
|
|
34
|
+
new root API before upgrading, and verify your stories still render as expected:
|
|
35
|
+
https://react.dev/blog/2022/03/08/react-18-upgrade-guide
|
|
36
|
+
|
|
37
|
+
This is a manual migration. Storybook cannot remove the option for you, because it cannot
|
|
38
|
+
verify that your components behave correctly under the new root API.
|
|
39
|
+
`,
|
|
40
|
+
link: "https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-require-v18-and-up"
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
blocker
|
|
46
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.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
|
findOutdatedPackage
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-W57OB62U.js";
|
|
15
|
+
import "./chunk-4FMYWB7X.js";
|
|
16
|
+
import "./chunk-HQDYW2YJ.js";
|
|
17
|
+
import "./chunk-AN6OIB5U.js";
|
|
18
|
+
import "./chunk-J3WRLX7B.js";
|
|
19
19
|
|
|
20
20
|
// src/autoblock/block-webpack5-frameworks.ts
|
|
21
21
|
var minimalVersionsMap = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J3WRLX7B.js";
|
|
17
17
|
|
|
18
18
|
// ../../../node_modules/fast-glob/out/utils/array.js
|
|
19
19
|
var require_array = __commonJS({
|
|
@@ -869,9 +869,9 @@ var require_braces = __commonJS({
|
|
|
869
869
|
}
|
|
870
870
|
});
|
|
871
871
|
|
|
872
|
-
// ../../../node_modules/picomatch/lib/constants.js
|
|
872
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/constants.js
|
|
873
873
|
var require_constants2 = __commonJS({
|
|
874
|
-
"../../../node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
874
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
875
875
|
"use strict";
|
|
876
876
|
var path2 = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
|
|
877
877
|
DOT_LITERAL,
|
|
@@ -1046,9 +1046,9 @@ var require_constants2 = __commonJS({
|
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
|
|
1049
|
-
// ../../../node_modules/picomatch/lib/utils.js
|
|
1049
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/utils.js
|
|
1050
1050
|
var require_utils2 = __commonJS({
|
|
1051
|
-
"../../../node_modules/picomatch/lib/utils.js"(exports) {
|
|
1051
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/utils.js"(exports) {
|
|
1052
1052
|
"use strict";
|
|
1053
1053
|
var path2 = __require("path"), win32 = process.platform === "win32", {
|
|
1054
1054
|
REGEX_BACKSLASH,
|
|
@@ -1082,9 +1082,9 @@ var require_utils2 = __commonJS({
|
|
|
1082
1082
|
}
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
1085
|
-
// ../../../node_modules/picomatch/lib/scan.js
|
|
1085
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/scan.js
|
|
1086
1086
|
var require_scan = __commonJS({
|
|
1087
|
-
"../../../node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1087
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
1088
1088
|
"use strict";
|
|
1089
1089
|
var utils = require_utils2(), {
|
|
1090
1090
|
CHAR_ASTERISK,
|
|
@@ -1268,9 +1268,9 @@ var require_scan = __commonJS({
|
|
|
1268
1268
|
}
|
|
1269
1269
|
});
|
|
1270
1270
|
|
|
1271
|
-
// ../../../node_modules/picomatch/lib/parse.js
|
|
1271
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/parse.js
|
|
1272
1272
|
var require_parse2 = __commonJS({
|
|
1273
|
-
"../../../node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
1273
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
1274
1274
|
"use strict";
|
|
1275
1275
|
var constants = require_constants2(), utils = require_utils2(), {
|
|
1276
1276
|
MAX_LENGTH,
|
|
@@ -1713,9 +1713,9 @@ var require_parse2 = __commonJS({
|
|
|
1713
1713
|
}
|
|
1714
1714
|
});
|
|
1715
1715
|
|
|
1716
|
-
// ../../../node_modules/picomatch/lib/picomatch.js
|
|
1716
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/lib/picomatch.js
|
|
1717
1717
|
var require_picomatch = __commonJS({
|
|
1718
|
-
"../../../node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1718
|
+
"../../../node_modules/micromatch/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1719
1719
|
"use strict";
|
|
1720
1720
|
var path2 = __require("path"), scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
|
|
1721
1721
|
if (Array.isArray(glob)) {
|
|
@@ -1784,9 +1784,9 @@ var require_picomatch = __commonJS({
|
|
|
1784
1784
|
}
|
|
1785
1785
|
});
|
|
1786
1786
|
|
|
1787
|
-
// ../../../node_modules/picomatch/index.js
|
|
1787
|
+
// ../../../node_modules/micromatch/node_modules/picomatch/index.js
|
|
1788
1788
|
var require_picomatch2 = __commonJS({
|
|
1789
|
-
"../../../node_modules/picomatch/index.js"(exports, module) {
|
|
1789
|
+
"../../../node_modules/micromatch/node_modules/picomatch/index.js"(exports, module) {
|
|
1790
1790
|
"use strict";
|
|
1791
1791
|
module.exports = require_picomatch();
|
|
1792
1792
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.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
|
__commonJS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J3WRLX7B.js";
|
|
15
15
|
|
|
16
16
|
// ../../../node_modules/semver/internal/constants.js
|
|
17
17
|
var require_constants = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_gumrwr0b82r from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_gumrwr0b82r from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_gumrwr0b82r from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_gumrwr0b82r.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_gumrwr0b82r.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_gumrwr0b82r.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|