@storybook/nextjs-vite 10.1.2 → 10.1.3
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-HY7JI3E4.js → chunk-CRBD3IDO.js} +6 -6
- package/dist/_node-chunks/{dist-G5HHMLYJ.js → dist-7ZF75MVD.js} +7 -7
- package/dist/_node-chunks/{jiti-3YYCO5MT.js → jiti-YNKM764Y.js} +7 -7
- package/dist/node/index.js +7 -7
- package/dist/preset.js +9 -9
- package/dist/vite-plugin/index.js +7 -7
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.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_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_fbktxoajjld.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CRBD3IDO.js";
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
18
18
|
var require_identity = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__esm,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CRBD3IDO.js";
|
|
18
18
|
|
|
19
19
|
// ../../node_modules/jiti/dist/jiti.cjs
|
|
20
20
|
var require_jiti = __commonJS({
|
package/dist/node/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.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 "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-CRBD3IDO.js";
|
|
13
13
|
|
|
14
14
|
// src/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.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 "./_node-chunks/chunk-
|
|
16
|
+
} from "./_node-chunks/chunk-CRBD3IDO.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/semver/internal/constants.js
|
|
19
19
|
var require_constants = __commonJS({
|
|
@@ -1479,7 +1479,7 @@ var require_req = __commonJS({
|
|
|
1479
1479
|
}
|
|
1480
1480
|
if (jiti === void 0)
|
|
1481
1481
|
try {
|
|
1482
|
-
jiti = (await import("./_node-chunks/jiti-
|
|
1482
|
+
jiti = (await import("./_node-chunks/jiti-YNKM764Y.js")).default;
|
|
1483
1483
|
} catch (error) {
|
|
1484
1484
|
importError.push(error);
|
|
1485
1485
|
}
|
|
@@ -1596,7 +1596,7 @@ var require_src2 = __commonJS({
|
|
|
1596
1596
|
async function yamlLoader(_, content) {
|
|
1597
1597
|
if (!yaml)
|
|
1598
1598
|
try {
|
|
1599
|
-
yaml = await import("./_node-chunks/dist-
|
|
1599
|
+
yaml = await import("./_node-chunks/dist-7ZF75MVD.js");
|
|
1600
1600
|
} catch (e) {
|
|
1601
1601
|
throw new Error(
|
|
1602
1602
|
`'yaml' is required for the YAML configuration files. Make sure it is installed
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_9xg7b1j5hxe from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_9xg7b1j5hxe from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_9xg7b1j5hxe.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_9xg7b1j5hxe.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_9xg7b1j5hxe.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 "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-CRBD3IDO.js";
|
|
13
13
|
|
|
14
14
|
// src/vite-plugin/index.ts
|
|
15
15
|
import { createRequire } from "node:module";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/nextjs-vite",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"description": "Storybook for Next.js and Vite: Develop, document, and test UI components in isolation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@storybook/builder-vite": "10.1.
|
|
83
|
-
"@storybook/react": "10.1.
|
|
84
|
-
"@storybook/react-vite": "10.1.
|
|
82
|
+
"@storybook/builder-vite": "10.1.3",
|
|
83
|
+
"@storybook/react": "10.1.3",
|
|
84
|
+
"@storybook/react-vite": "10.1.3",
|
|
85
85
|
"styled-jsx": "5.1.6",
|
|
86
86
|
"vite-plugin-storybook-nextjs": "^3.1.0"
|
|
87
87
|
},
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"next": "^14.1.0 || ^15.0.0 || ^16.0.0",
|
|
98
98
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
99
99
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
100
|
-
"storybook": "^10.1.
|
|
100
|
+
"storybook": "^10.1.3",
|
|
101
101
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependenciesMeta": {
|