@storybook/preset-react-webpack 10.5.0-alpha.1 → 10.5.0-alpha.11
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_8lcyuea7pn6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_8lcyuea7pn6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_8lcyuea7pn6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_8lcyuea7pn6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_8lcyuea7pn6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_8lcyuea7pn6.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_8lcyuea7pn6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_8lcyuea7pn6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_8lcyuea7pn6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_8lcyuea7pn6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_8lcyuea7pn6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_8lcyuea7pn6.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -13,6 +13,8 @@ var require = CJS_COMPAT_NODE_MODULE_sly1owgc3d.createRequire(import.meta.url);
|
|
|
13
13
|
// src/framework-preset-react-docs.ts
|
|
14
14
|
import { fileURLToPath } from "node:url";
|
|
15
15
|
var webpackFinal = async (config, options) => {
|
|
16
|
+
if ((await options.presets.apply("features", {}))?.experimentalDocgenServer)
|
|
17
|
+
return config;
|
|
16
18
|
let typescriptOptions = await options.presets.apply("typescript", {}), debug = options.loglevel === "debug", { reactDocgen, reactDocgenTypescriptOptions } = typescriptOptions || {};
|
|
17
19
|
if (typeof reactDocgen != "string")
|
|
18
20
|
return config;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_8lcyuea7pn6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_8lcyuea7pn6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_8lcyuea7pn6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_8lcyuea7pn6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_8lcyuea7pn6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_8lcyuea7pn6.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_8lcyuea7pn6 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_8lcyuea7pn6 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_8lcyuea7pn6 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_8lcyuea7pn6.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_8lcyuea7pn6.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_8lcyuea7pn6.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/preset-react-webpack",
|
|
3
|
-
"version": "10.5.0-alpha.
|
|
3
|
+
"version": "10.5.0-alpha.11",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"!src/**/*"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@storybook/core-webpack": "10.5.0-alpha.
|
|
42
|
+
"@storybook/core-webpack": "10.5.0-alpha.11",
|
|
43
43
|
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
|
|
44
44
|
"@types/semver": "^7.7.1",
|
|
45
45
|
"magic-string": "^0.30.5",
|
|
46
|
-
"react-docgen": "^
|
|
46
|
+
"react-docgen": "^8.0.2",
|
|
47
47
|
"resolve": "^1.22.8",
|
|
48
48
|
"semver": "^7.7.3",
|
|
49
49
|
"tsconfig-paths": "^4.2.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
59
59
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
60
|
-
"storybook": "^10.5.0-alpha.
|
|
60
|
+
"storybook": "^10.5.0-alpha.11"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"typescript": {
|