@storybook/preset-react-webpack 10.2.0-alpha.13 → 10.2.0-alpha.14
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_bzys09wt2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bzys09wt2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bzys09wt2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bzys09wt2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bzys09wt2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bzys09wt2e.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_bzys09wt2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bzys09wt2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bzys09wt2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bzys09wt2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bzys09wt2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bzys09wt2e.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -37,7 +37,7 @@ var webpackFinal = async (config, options) => {
|
|
|
37
37
|
]
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
let { ReactDocgenTypeScriptPlugin } = await import("
|
|
40
|
+
let { ReactDocgenTypeScriptPlugin } = await import("react-docgen-typescript-plugin");
|
|
41
41
|
return {
|
|
42
42
|
...config,
|
|
43
43
|
module: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PresetProperty } from 'storybook/internal/types';
|
|
2
2
|
import { TypescriptOptions as TypescriptOptions$1, WebpackConfiguration, StorybookConfig as StorybookConfig$1 } from '@storybook/core-webpack';
|
|
3
3
|
export { BuilderResult } from '@storybook/core-webpack';
|
|
4
|
-
import { PluginOptions } from '
|
|
4
|
+
import { PluginOptions } from 'react-docgen-typescript-plugin';
|
|
5
5
|
|
|
6
6
|
interface ReactOptions {
|
|
7
7
|
strictMode?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_bzys09wt2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bzys09wt2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bzys09wt2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bzys09wt2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bzys09wt2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bzys09wt2e.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_bzys09wt2e from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_bzys09wt2e from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_bzys09wt2e from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_bzys09wt2e.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_bzys09wt2e.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_bzys09wt2e.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.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.14",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"!src/**/*"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@storybook/core-webpack": "10.2.0-alpha.
|
|
42
|
-
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
|
|
41
|
+
"@storybook/core-webpack": "10.2.0-alpha.14",
|
|
43
42
|
"@types/semver": "^7.7.1",
|
|
44
43
|
"magic-string": "^0.30.5",
|
|
45
44
|
"react-docgen": "^7.1.1",
|
|
45
|
+
"react-docgen-typescript-plugin": "^1.0.8",
|
|
46
46
|
"resolve": "^1.22.8",
|
|
47
47
|
"semver": "^7.7.3",
|
|
48
48
|
"tsconfig-paths": "^4.2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
58
58
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
59
|
-
"storybook": "^10.2.0-alpha.
|
|
59
|
+
"storybook": "^10.2.0-alpha.14"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"typescript": {
|