@storybook/nextjs 11.0.0-alpha.7 → 11.0.0-alpha.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-GZLDMKES.js → chunk-A3JWAOV6.js} +6 -6
- package/dist/_node-chunks/{chunk-6T4VPA7T.js → chunk-FMZIWMDY.js} +7 -7
- package/dist/_node-chunks/{chunk-JO5OC426.js → chunk-RU5GXEFG.js} +6 -6
- package/dist/_node-chunks/{configureNextFont-KEFWPISH.js → configureNextFont-FORJG43V.js} +6 -6
- package/dist/_node-chunks/{loader-37SGIJ42.js → loader-5W3S5BYG.js} +8 -8
- package/dist/_node-chunks/{loader-6QT3RYX2.js → loader-AUQJOJIJ.js} +8 -8
- package/dist/_node-chunks/{utils-SVPSKPIC.js → utils-VGEZ7F4B.js} +8 -8
- package/dist/_node-chunks/{webpack-E35F3SAC.js → webpack-7ANNYKPC.js} +8 -8
- package/dist/_node-chunks/{webpack-IUPMA3HM.js → webpack-AMOKTP4O.js} +6 -6
- package/dist/_node-chunks/{webpack-NHAFXJ73.js → webpack-APFA6JW3.js} +8 -8
- package/dist/_node-chunks/{webpack-5ULOZRJ4.js → webpack-EHLQQPAB.js} +6 -6
- package/dist/_node-chunks/{webpack-CMJRJMDA.js → webpack-F6H7ELN6.js} +6 -6
- package/dist/_node-chunks/{webpack-3TFWTAFH.js → webpack-GTTCETL6.js} +6 -6
- package/dist/_node-chunks/{webpack-EZ3FH547.js → webpack-LZNFEU4C.js} +6 -6
- package/dist/_node-chunks/{webpack-67QKUUJX.js → webpack-RREL6B7L.js} +6 -6
- package/dist/export-mocks/index.js +7 -7
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.js +6 -6
- package/dist/node/index.js +6 -6
- package/dist/preset.js +9 -9
- package/dist/swc/next-swc-loader-patch.js +6 -6
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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-A3JWAOV6.js";
|
|
15
15
|
|
|
16
16
|
// src/utils.ts
|
|
17
17
|
import { readFileSync } from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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-FMZIWMDY.js";
|
|
15
|
+
import "./chunk-A3JWAOV6.js";
|
|
16
16
|
|
|
17
17
|
// src/babel/loader.ts
|
|
18
18
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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-FMZIWMDY.js";
|
|
15
|
+
import "./chunk-A3JWAOV6.js";
|
|
16
16
|
|
|
17
17
|
// src/swc/loader.ts
|
|
18
18
|
import { join } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
resolveNextConfig,
|
|
19
19
|
scopedResolve,
|
|
20
20
|
setAlias
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FMZIWMDY.js";
|
|
22
|
+
import "./chunk-A3JWAOV6.js";
|
|
23
23
|
export {
|
|
24
24
|
addScopedAlias,
|
|
25
25
|
configureRuntimeNextjsVersionResolution,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-FMZIWMDY.js";
|
|
15
|
+
import "./chunk-A3JWAOV6.js";
|
|
16
16
|
|
|
17
17
|
// src/styledJsx/webpack.ts
|
|
18
18
|
var configureStyledJsx = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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
|
configureNextExportMocks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RU5GXEFG.js";
|
|
15
15
|
import {
|
|
16
16
|
resolvePackageDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-A3JWAOV6.js";
|
|
18
18
|
|
|
19
19
|
// src/aliases/webpack.ts
|
|
20
20
|
var configureAliases = (baseConfig) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.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-
|
|
14
|
+
} from "../_node-chunks/chunk-RU5GXEFG.js";
|
|
15
15
|
export {
|
|
16
16
|
getPackageAliases
|
|
17
17
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/node/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,8 +13,8 @@ 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-FMZIWMDY.js";
|
|
17
|
+
import "./_node-chunks/chunk-A3JWAOV6.js";
|
|
18
18
|
|
|
19
19
|
// src/preset.ts
|
|
20
20
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
@@ -553,7 +553,7 @@ var addons = [
|
|
|
553
553
|
baseConfig,
|
|
554
554
|
nextConfigPath,
|
|
555
555
|
webpackInstance
|
|
556
|
-
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-
|
|
556
|
+
}), { configureNextFont } = await import("./_node-chunks/configureNextFont-FORJG43V.js"), { configureRuntimeNextjsVersionResolution } = await import("./_node-chunks/utils-VGEZ7F4B.js"), { configureImports } = await import("./_node-chunks/webpack-F6H7ELN6.js"), { configureCss } = await import("./_node-chunks/webpack-GTTCETL6.js"), { configureImages } = await import("./_node-chunks/webpack-AMOKTP4O.js"), { configureStyledJsx } = await import("./_node-chunks/webpack-7ANNYKPC.js"), { configureNodePolyfills } = await import("./_node-chunks/webpack-LZNFEU4C.js"), { configureAliases } = await import("./_node-chunks/webpack-APFA6JW3.js"), { configureFastRefresh } = await import("./_node-chunks/webpack-EHLQQPAB.js"), { configureRSC } = await import("./_node-chunks/webpack-RREL6B7L.js"), { configureSWCLoader } = await import("./_node-chunks/loader-AUQJOJIJ.js"), { configureBabelLoader } = await import("./_node-chunks/loader-5W3S5BYG.js"), hasBabelConfig = !!findBabelConfigFile(getProjectRoot()), isDevelopment = options.configType !== "PRODUCTION", useSWC = nextConfig.experimental?.forceSwcTransforms || !hasBabelConfig;
|
|
557
557
|
return configureNextFont(baseConfig, useSWC), configureRuntimeNextjsVersionResolution(baseConfig), configureImports({ baseConfig, configDir: options.configDir }), configureCss(baseConfig, nextConfig), configureImages(baseConfig, nextConfig), configureStyledJsx(baseConfig), configureNodePolyfills(baseConfig, webpackInstance), configureAliases(baseConfig), isDevelopment && configureFastRefresh(baseConfig), options.features?.experimentalRSC && configureRSC(baseConfig), useSWC ? (logger.info("Using SWC as compiler"), await configureSWCLoader(baseConfig, options, nextConfig)) : (logger.info("Using Babel as compiler"), await configureBabelLoader(baseConfig, options, nextConfig)), baseConfig;
|
|
558
558
|
};
|
|
559
559
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_2hapmpzh9ym from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_2hapmpzh9ym from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_2hapmpzh9ym from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_2hapmpzh9ym.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_2hapmpzh9ym.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_2hapmpzh9ym.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.8",
|
|
4
4
|
"description": "Storybook for Next.js: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"@babel/preset-typescript": "^7.28.5",
|
|
102
102
|
"@babel/runtime": "^7.28.4",
|
|
103
103
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
104
|
-
"@storybook/builder-webpack5": "11.0.0-alpha.
|
|
105
|
-
"@storybook/preset-react-webpack": "11.0.0-alpha.
|
|
106
|
-
"@storybook/react": "11.0.0-alpha.
|
|
104
|
+
"@storybook/builder-webpack5": "11.0.0-alpha.8",
|
|
105
|
+
"@storybook/preset-react-webpack": "11.0.0-alpha.8",
|
|
106
|
+
"@storybook/react": "11.0.0-alpha.8",
|
|
107
107
|
"@types/semver": "^7.7.1",
|
|
108
108
|
"babel-loader": "^9.1.3",
|
|
109
109
|
"browserify-zlib": "^0.2.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"next": "^15.0.0 || ^16.0.0",
|
|
146
146
|
"react": "^18.0.0 || ^19.0.0",
|
|
147
147
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
148
|
-
"storybook": "^11.0.0-alpha.
|
|
148
|
+
"storybook": "^11.0.0-alpha.8",
|
|
149
149
|
"webpack": "^5.0.0"
|
|
150
150
|
},
|
|
151
151
|
"peerDependenciesMeta": {
|