@storybook/nextjs 10.0.0-beta.8 → 10.0.0-rc.0
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-6EMKPN2P.js +17 -0
- package/dist/_node-chunks/{chunk-B77NHWTR.js → chunk-SJ54QNJC.js} +15 -8
- package/dist/_node-chunks/{chunk-Q3S355VY.js → chunk-WTD3B2CA.js} +8 -8
- package/dist/_node-chunks/{chunk-UEIBSMZL.js → chunk-ZK5PBZYL.js} +7 -7
- package/dist/_node-chunks/{configureNextFont-MFFP7K7D.js → configureNextFont-5P26ZT23.js} +7 -7
- package/dist/_node-chunks/{loader-6DM5MWXK.js → loader-57JASDB3.js} +9 -9
- package/dist/_node-chunks/{loader-JQ7H36LO.js → loader-KKZ3AGFY.js} +9 -9
- package/dist/_node-chunks/{utils-O3DGBI5I.js → utils-ZNQAYLOB.js} +11 -9
- package/dist/_node-chunks/{webpack-CNE4NSUI.js → webpack-2WH4RQ54.js} +8 -8
- package/dist/_node-chunks/{webpack-7YFL5PMI.js → webpack-4OY52I4C.js} +7 -7
- package/dist/_node-chunks/{webpack-MFYMY2TH.js → webpack-BOWOJGRY.js} +10 -10
- package/dist/_node-chunks/{webpack-X23VLAXQ.js → webpack-FI2OEXQA.js} +7 -7
- package/dist/_node-chunks/webpack-G443IPPQ.js +26 -0
- package/dist/_node-chunks/{webpack-JQS2ER3R.js → webpack-TGT3IWIZ.js} +7 -7
- package/dist/_node-chunks/{webpack-C6KKFNYK.js → webpack-URGJGGAI.js} +9 -9
- package/dist/_node-chunks/{webpack-7Y7SY442.js → webpack-VEU3NKPC.js} +7 -7
- package/dist/export-mocks/index.js +10 -10
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +7 -7
- package/dist/node/index.js +7 -7
- package/dist/preset.js +27 -30
- package/dist/swc/next-swc-loader-patch.js +7 -7
- package/package.json +5 -5
- package/dist/_node-chunks/chunk-EVC64OZ2.js +0 -17
- package/dist/_node-chunks/webpack-PGAOU5PQ.js +0 -26
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
var __defProp = Object.defineProperty;
|
|
13
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
__name
|
|
17
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZK5PBZYL.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6EMKPN2P.js";
|
|
18
18
|
|
|
19
19
|
// src/utils.ts
|
|
20
20
|
import { readFileSync } from "node:fs";
|
|
@@ -24,6 +24,7 @@ import { getProjectRoot } from "storybook/internal/common";
|
|
|
24
24
|
import { WebpackDefinePlugin } from "@storybook/builder-webpack5";
|
|
25
25
|
import { PHASE_DEVELOPMENT_SERVER } from "next/constants.js";
|
|
26
26
|
import nextJsLoadConfigModule from "next/dist/server/config.js";
|
|
27
|
+
import semver from "semver";
|
|
27
28
|
var configureRuntimeNextjsVersionResolution = /* @__PURE__ */ __name((baseConfig) => {
|
|
28
29
|
baseConfig.plugins?.push(
|
|
29
30
|
new WebpackDefinePlugin({
|
|
@@ -32,6 +33,11 @@ var configureRuntimeNextjsVersionResolution = /* @__PURE__ */ __name((baseConfig
|
|
|
32
33
|
);
|
|
33
34
|
}, "configureRuntimeNextjsVersionResolution");
|
|
34
35
|
var getNextjsVersion = /* @__PURE__ */ __name(() => JSON.parse(readFileSync(join(resolvePackageDir("next"), "package.json"), "utf8")).version, "getNextjsVersion");
|
|
36
|
+
var isNextVersionGte = /* @__PURE__ */ __name((version) => {
|
|
37
|
+
const currentVersion = getNextjsVersion();
|
|
38
|
+
const coercedVersion = semver.coerce(currentVersion);
|
|
39
|
+
return coercedVersion ? semver.gte(coercedVersion, version) : false;
|
|
40
|
+
}, "isNextVersionGte");
|
|
35
41
|
var resolveNextConfig = /* @__PURE__ */ __name(async ({
|
|
36
42
|
nextConfigPath
|
|
37
43
|
}) => {
|
|
@@ -87,6 +93,7 @@ __name(getNodeModulesExcludeRegex, "getNodeModulesExcludeRegex");
|
|
|
87
93
|
export {
|
|
88
94
|
configureRuntimeNextjsVersionResolution,
|
|
89
95
|
getNextjsVersion,
|
|
96
|
+
isNextVersionGte,
|
|
90
97
|
resolveNextConfig,
|
|
91
98
|
setAlias,
|
|
92
99
|
addScopedAlias,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
addScopedAlias,
|
|
14
14
|
getNextjsVersion,
|
|
15
15
|
setAlias
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SJ54QNJC.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6EMKPN2P.js";
|
|
20
20
|
|
|
21
21
|
// src/compatibility/compatibility-map.ts
|
|
22
22
|
import semver from "semver";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// ../../core/src/shared/utils/module.ts
|
|
17
17
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/font/webpack/configureNextFont.ts
|
|
17
17
|
function configureNextFont(baseConfig, isSWC) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
getNodeModulesExcludeRegex
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SJ54QNJC.js";
|
|
15
|
+
import "./chunk-ZK5PBZYL.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EMKPN2P.js";
|
|
19
19
|
|
|
20
20
|
// src/swc/loader.ts
|
|
21
21
|
import { join } from "node:path";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
getNodeModulesExcludeRegex
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SJ54QNJC.js";
|
|
15
|
+
import "./chunk-ZK5PBZYL.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EMKPN2P.js";
|
|
19
19
|
|
|
20
20
|
// src/babel/loader.ts
|
|
21
21
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,17 +14,19 @@ import {
|
|
|
14
14
|
configureRuntimeNextjsVersionResolution,
|
|
15
15
|
getNextjsVersion,
|
|
16
16
|
getNodeModulesExcludeRegex,
|
|
17
|
+
isNextVersionGte,
|
|
17
18
|
resolveNextConfig,
|
|
18
19
|
scopedResolve,
|
|
19
20
|
setAlias
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-SJ54QNJC.js";
|
|
22
|
+
import "./chunk-ZK5PBZYL.js";
|
|
23
|
+
import "./chunk-6EMKPN2P.js";
|
|
23
24
|
export {
|
|
24
25
|
addScopedAlias,
|
|
25
26
|
configureRuntimeNextjsVersionResolution,
|
|
26
27
|
getNextjsVersion,
|
|
27
28
|
getNodeModulesExcludeRegex,
|
|
29
|
+
isNextVersionGte,
|
|
28
30
|
resolveNextConfig,
|
|
29
31
|
scopedResolve,
|
|
30
32
|
setAlias
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
resolvePackageDir
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZK5PBZYL.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6EMKPN2P.js";
|
|
18
18
|
|
|
19
19
|
// src/css/webpack.ts
|
|
20
20
|
import { readFileSync } from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/imports/webpack.ts
|
|
17
17
|
import { loadConfig } from "tsconfig-paths";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,14 +12,14 @@ var require = CJS_COMPAT_NODE_MODULE_k95dbi6en.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
configureCompatibilityAliases,
|
|
14
14
|
configureNextExportMocks
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-WTD3B2CA.js";
|
|
16
|
+
import "./chunk-SJ54QNJC.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZK5PBZYL.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6EMKPN2P.js";
|
|
23
23
|
|
|
24
24
|
// src/aliases/webpack.ts
|
|
25
25
|
var configureAliases = /* @__PURE__ */ __name((baseConfig) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/nodePolyfills/webpack.ts
|
|
17
17
|
import NodePolyfillPlugin from "node-polyfill-webpack-plugin";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
addScopedAlias
|
|
14
|
+
} from "./chunk-SJ54QNJC.js";
|
|
15
|
+
import "./chunk-ZK5PBZYL.js";
|
|
16
|
+
import {
|
|
17
|
+
__name
|
|
18
|
+
} from "./chunk-6EMKPN2P.js";
|
|
19
|
+
|
|
20
|
+
// src/styledJsx/webpack.ts
|
|
21
|
+
var configureStyledJsx = /* @__PURE__ */ __name((baseConfig) => {
|
|
22
|
+
addScopedAlias(baseConfig, "styled-jsx");
|
|
23
|
+
}, "configureStyledJsx");
|
|
24
|
+
export {
|
|
25
|
+
configureStyledJsx
|
|
26
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/rsc/webpack.ts
|
|
17
17
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
getNextjsVersion
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SJ54QNJC.js";
|
|
15
|
+
import "./chunk-ZK5PBZYL.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6EMKPN2P.js";
|
|
19
19
|
|
|
20
20
|
// src/images/webpack.ts
|
|
21
21
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/fastRefresh/webpack.ts
|
|
17
17
|
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
getPackageAliases
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-WTD3B2CA.js";
|
|
15
|
+
import "../_node-chunks/chunk-SJ54QNJC.js";
|
|
16
|
+
import "../_node-chunks/chunk-ZK5PBZYL.js";
|
|
17
|
+
import "../_node-chunks/chunk-6EMKPN2P.js";
|
|
18
18
|
export {
|
|
19
19
|
getPackageAliases
|
|
20
20
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../_node-chunks/chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/font/webpack/loader/storybook-nextjs-font-loader.ts
|
|
17
17
|
import { sep } from "node:path";
|
package/dist/node/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/node/index.ts
|
|
17
17
|
function defineMain(config) {
|
package/dist/preset.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
addScopedAlias,
|
|
14
|
-
|
|
14
|
+
isNextVersionGte,
|
|
15
15
|
resolveNextConfig
|
|
16
|
-
} from "./_node-chunks/chunk-
|
|
17
|
-
import "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-SJ54QNJC.js";
|
|
17
|
+
import "./_node-chunks/chunk-ZK5PBZYL.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
|
-
} from "./_node-chunks/chunk-
|
|
20
|
+
} from "./_node-chunks/chunk-6EMKPN2P.js";
|
|
21
21
|
|
|
22
22
|
// src/preset.ts
|
|
23
23
|
import { existsSync } from "node:fs";
|
|
@@ -26,7 +26,7 @@ import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
|
26
26
|
import { getProjectRoot } from "storybook/internal/common";
|
|
27
27
|
import { logger } from "storybook/internal/node-logger";
|
|
28
28
|
import { loadPartialConfig } from "@babel/core";
|
|
29
|
-
import
|
|
29
|
+
import semver from "semver";
|
|
30
30
|
|
|
31
31
|
// src/babel/preset.ts
|
|
32
32
|
import { createRequire } from "node:module";
|
|
@@ -457,9 +457,7 @@ var preset_default = /* @__PURE__ */ __name((api, options = {}) => {
|
|
|
457
457
|
|
|
458
458
|
// src/config/webpack.ts
|
|
459
459
|
import { fileURLToPath } from "node:url";
|
|
460
|
-
|
|
461
|
-
var nextjsVersion = getNextjsVersion();
|
|
462
|
-
var isNext16orNewer = semver.gte(nextjsVersion, "16.0.0");
|
|
460
|
+
var isNext16orNewer = isNextVersionGte("16.0.0");
|
|
463
461
|
var tryResolve = /* @__PURE__ */ __name((path) => {
|
|
464
462
|
try {
|
|
465
463
|
return fileURLToPath(import.meta.resolve(path)) || false;
|
|
@@ -719,8 +717,7 @@ var core = /* @__PURE__ */ __name(async (config, options) => {
|
|
|
719
717
|
}, "core");
|
|
720
718
|
var previewAnnotations = /* @__PURE__ */ __name((entry = []) => {
|
|
721
719
|
const annotations = [...entry, fileURLToPath2(import.meta.resolve("@storybook/nextjs/preview"))];
|
|
722
|
-
const
|
|
723
|
-
const isNext16orNewer2 = semver2.gte(nextjsVersion2, "16.0.0");
|
|
720
|
+
const isNext16orNewer2 = isNextVersionGte("16.0.0");
|
|
724
721
|
if (!isNext16orNewer2) {
|
|
725
722
|
annotations.push(fileURLToPath2(import.meta.resolve("@storybook/nextjs/config/preview")));
|
|
726
723
|
}
|
|
@@ -789,24 +786,24 @@ var webpackFinal = /* @__PURE__ */ __name(async (baseConfig, options) => {
|
|
|
789
786
|
baseConfig,
|
|
790
787
|
nextConfigPath
|
|
791
788
|
});
|
|
792
|
-
const { configureNextFont } = await import("./_node-chunks/configureNextFont-
|
|
793
|
-
const { configureRuntimeNextjsVersionResolution, getNextjsVersion
|
|
794
|
-
const { configureImports } = await import("./_node-chunks/webpack-
|
|
795
|
-
const { configureCss } = await import("./_node-chunks/webpack-
|
|
796
|
-
const { configureImages } = await import("./_node-chunks/webpack-
|
|
797
|
-
const { configureStyledJsx } = await import("./_node-chunks/webpack-
|
|
798
|
-
const { configureNodePolyfills } = await import("./_node-chunks/webpack-
|
|
799
|
-
const { configureAliases } = await import("./_node-chunks/webpack-
|
|
800
|
-
const { configureFastRefresh } = await import("./_node-chunks/webpack-
|
|
801
|
-
const { configureRSC } = await import("./_node-chunks/webpack-
|
|
802
|
-
const { configureSWCLoader } = await import("./_node-chunks/loader-
|
|
803
|
-
const { configureBabelLoader } = await import("./_node-chunks/loader-
|
|
789
|
+
const { configureNextFont } = await import("./_node-chunks/configureNextFont-5P26ZT23.js");
|
|
790
|
+
const { configureRuntimeNextjsVersionResolution, getNextjsVersion } = await import("./_node-chunks/utils-ZNQAYLOB.js");
|
|
791
|
+
const { configureImports } = await import("./_node-chunks/webpack-4OY52I4C.js");
|
|
792
|
+
const { configureCss } = await import("./_node-chunks/webpack-2WH4RQ54.js");
|
|
793
|
+
const { configureImages } = await import("./_node-chunks/webpack-URGJGGAI.js");
|
|
794
|
+
const { configureStyledJsx } = await import("./_node-chunks/webpack-G443IPPQ.js");
|
|
795
|
+
const { configureNodePolyfills } = await import("./_node-chunks/webpack-FI2OEXQA.js");
|
|
796
|
+
const { configureAliases } = await import("./_node-chunks/webpack-BOWOJGRY.js");
|
|
797
|
+
const { configureFastRefresh } = await import("./_node-chunks/webpack-VEU3NKPC.js");
|
|
798
|
+
const { configureRSC } = await import("./_node-chunks/webpack-TGT3IWIZ.js");
|
|
799
|
+
const { configureSWCLoader } = await import("./_node-chunks/loader-57JASDB3.js");
|
|
800
|
+
const { configureBabelLoader } = await import("./_node-chunks/loader-KKZ3AGFY.js");
|
|
804
801
|
const babelRCPath = join(getProjectRoot(), ".babelrc");
|
|
805
802
|
const babelConfigPath = join(getProjectRoot(), "babel.config.js");
|
|
806
803
|
const hasBabelConfig = existsSync(babelRCPath) || existsSync(babelConfigPath);
|
|
807
|
-
const
|
|
804
|
+
const nextjsVersion = getNextjsVersion();
|
|
808
805
|
const isDevelopment = options.configType !== "PRODUCTION";
|
|
809
|
-
const isNext14orNewer =
|
|
806
|
+
const isNext14orNewer = semver.gte(nextjsVersion, "14.0.0");
|
|
810
807
|
const useSWC = isNext14orNewer && (nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig);
|
|
811
808
|
configureNextFont(baseConfig, useSWC);
|
|
812
809
|
configureRuntimeNextjsVersionResolution(baseConfig);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_6fpowjfc146 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_6fpowjfc146 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_6fpowjfc146 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_6fpowjfc146.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_6fpowjfc146.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_6fpowjfc146.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
|
__name
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-6EMKPN2P.js";
|
|
15
15
|
|
|
16
16
|
// src/swc/next-swc-loader-patch.ts
|
|
17
17
|
import { isAbsolute, relative } from "node:path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs",
|
|
3
|
-
"version": "10.0.0-
|
|
3
|
+
"version": "10.0.0-rc.0",
|
|
4
4
|
"description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
"@babel/preset-typescript": "^7.24.1",
|
|
95
95
|
"@babel/runtime": "^7.24.4",
|
|
96
96
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
97
|
-
"@storybook/builder-webpack5": "10.0.0-
|
|
98
|
-
"@storybook/preset-react-webpack": "10.0.0-
|
|
99
|
-
"@storybook/react": "10.0.0-
|
|
97
|
+
"@storybook/builder-webpack5": "10.0.0-rc.0",
|
|
98
|
+
"@storybook/preset-react-webpack": "10.0.0-rc.0",
|
|
99
|
+
"@storybook/react": "10.0.0-rc.0",
|
|
100
100
|
"@types/semver": "^7.3.4",
|
|
101
101
|
"babel-loader": "^9.1.3",
|
|
102
102
|
"css-loader": "^6.7.3",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"next": "^14.1.0 || ^15.0.0",
|
|
131
131
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
132
132
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
133
|
-
"storybook": "^10.0.0-
|
|
133
|
+
"storybook": "^10.0.0-rc.0",
|
|
134
134
|
"webpack": "^5.0.0"
|
|
135
135
|
},
|
|
136
136
|
"peerDependenciesMeta": {
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_k95dbi6en from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_k95dbi6en from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_k95dbi6en from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_k95dbi6en.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_k95dbi6en.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_k95dbi6en.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
var __defProp = Object.defineProperty;
|
|
13
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
__name
|
|
17
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_k95dbi6en from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_k95dbi6en from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_k95dbi6en from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_k95dbi6en.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_k95dbi6en.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_k95dbi6en.createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
// ------------------------------------------------------------
|
|
10
|
-
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
|
-
// ------------------------------------------------------------
|
|
12
|
-
import {
|
|
13
|
-
addScopedAlias
|
|
14
|
-
} from "./chunk-B77NHWTR.js";
|
|
15
|
-
import "./chunk-UEIBSMZL.js";
|
|
16
|
-
import {
|
|
17
|
-
__name
|
|
18
|
-
} from "./chunk-EVC64OZ2.js";
|
|
19
|
-
|
|
20
|
-
// src/styledJsx/webpack.ts
|
|
21
|
-
var configureStyledJsx = /* @__PURE__ */ __name((baseConfig) => {
|
|
22
|
-
addScopedAlias(baseConfig, "styled-jsx");
|
|
23
|
-
}, "configureStyledJsx");
|
|
24
|
-
export {
|
|
25
|
-
configureStyledJsx
|
|
26
|
-
};
|