@storybook/react-vite 10.0.0-beta.9 → 10.0.0-rc.1

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.
@@ -0,0 +1,17 @@
1
+ import CJS_COMPAT_NODE_URL_at48xm0s1fa from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_at48xm0s1fa from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_at48xm0s1fa from "node:module";
4
+
5
+ var __filename = CJS_COMPAT_NODE_URL_at48xm0s1fa.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_at48xm0s1fa.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_at48xm0s1fa.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,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_vtv4e724r1 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_vtv4e724r1 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_vtv4e724r1 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_at48xm0s1fa from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_at48xm0s1fa from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_at48xm0s1fa from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_vtv4e724r1.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_vtv4e724r1.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_vtv4e724r1.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_at48xm0s1fa.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_at48xm0s1fa.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_at48xm0s1fa.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-32WTP7XI.js";
14
+ } from "./chunk-6G5YB457.js";
15
15
 
16
16
  // src/plugins/react-docgen.ts
17
17
  import { existsSync } from "node:fs";
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_vtv4e724r1 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_vtv4e724r1 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_vtv4e724r1 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_at48xm0s1fa from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_at48xm0s1fa from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_at48xm0s1fa from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_vtv4e724r1.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_vtv4e724r1.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_vtv4e724r1.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_at48xm0s1fa.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_at48xm0s1fa.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_at48xm0s1fa.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-32WTP7XI.js";
14
+ } from "../_node-chunks/chunk-6G5YB457.js";
15
15
 
16
16
  // src/node/index.ts
17
17
  function defineMain(config) {
package/dist/preset.js CHANGED
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_vtv4e724r1 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_vtv4e724r1 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_vtv4e724r1 from "node:module";
1
+ import CJS_COMPAT_NODE_URL_at48xm0s1fa from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_at48xm0s1fa from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_at48xm0s1fa from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_vtv4e724r1.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_vtv4e724r1.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_vtv4e724r1.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_at48xm0s1fa.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_at48xm0s1fa.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_at48xm0s1fa.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-32WTP7XI.js";
14
+ } from "./_node-chunks/chunk-6G5YB457.js";
15
15
 
16
16
  // src/preset.ts
17
17
  var core = {
@@ -41,7 +41,7 @@ var viteFinal = /* @__PURE__ */ __name(async (config, { presets }) => {
41
41
  );
42
42
  }
43
43
  if (typeof reactDocgenOption === "string") {
44
- const { reactDocgen } = await import("./_node-chunks/react-docgen-Q6OU2PTS.js");
44
+ const { reactDocgen } = await import("./_node-chunks/react-docgen-BZUASLVU.js");
45
45
  plugins.unshift(
46
46
  // If react-docgen is specified, use it for everything, otherwise only use it for non-typescript files
47
47
  await reactDocgen({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-vite",
3
- "version": "10.0.0-beta.9",
3
+ "version": "10.0.0-rc.1",
4
4
  "description": "Storybook for React and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -55,8 +55,8 @@
55
55
  "dependencies": {
56
56
  "@joshwooding/vite-plugin-react-docgen-typescript": "0.6.1",
57
57
  "@rollup/pluginutils": "^5.0.2",
58
- "@storybook/builder-vite": "10.0.0-beta.9",
59
- "@storybook/react": "10.0.0-beta.9",
58
+ "@storybook/builder-vite": "10.0.0-rc.1",
59
+ "@storybook/react": "10.0.0-rc.1",
60
60
  "empathic": "^2.0.0",
61
61
  "magic-string": "^0.30.0",
62
62
  "react-docgen": "^8.0.0",
@@ -71,7 +71,7 @@
71
71
  "peerDependencies": {
72
72
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
73
73
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
74
- "storybook": "^10.0.0-beta.9",
74
+ "storybook": "^10.0.0-rc.1",
75
75
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
76
76
  },
77
77
  "publishConfig": {
@@ -1,17 +0,0 @@
1
- import CJS_COMPAT_NODE_URL_vtv4e724r1 from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_vtv4e724r1 from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_vtv4e724r1 from "node:module";
4
-
5
- var __filename = CJS_COMPAT_NODE_URL_vtv4e724r1.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_vtv4e724r1.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_vtv4e724r1.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
- };