@storybook/preset-react-webpack 10.1.0-alpha.2 → 10.1.0-alpha.4
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_ijycg5iqcje from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ijycg5iqcje from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ijycg5iqcje from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ijycg5iqcje.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ijycg5iqcje.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ijycg5iqcje.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
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ijycg5iqcje from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ijycg5iqcje from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ijycg5iqcje from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ijycg5iqcje.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ijycg5iqcje.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ijycg5iqcje.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-
|
|
14
|
+
} from "./_node-chunks/chunk-I6H2XFE3.js";
|
|
15
15
|
|
|
16
16
|
// src/framework-preset-cra.ts
|
|
17
17
|
import { logger as logger2 } from "storybook/internal/node-logger";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ijycg5iqcje from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ijycg5iqcje from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ijycg5iqcje from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ijycg5iqcje.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ijycg5iqcje.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ijycg5iqcje.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-
|
|
14
|
+
} from "./_node-chunks/chunk-I6H2XFE3.js";
|
|
15
15
|
|
|
16
16
|
// src/framework-preset-react-docs.ts
|
|
17
17
|
import { fileURLToPath } from "node:url";
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ijycg5iqcje from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ijycg5iqcje from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ijycg5iqcje from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ijycg5iqcje.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ijycg5iqcje.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ijycg5iqcje.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-I6H2XFE3.js";
|
|
13
13
|
|
|
14
14
|
// src/index.ts
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ijycg5iqcje from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ijycg5iqcje from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ijycg5iqcje from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ijycg5iqcje.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ijycg5iqcje.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ijycg5iqcje.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-
|
|
14
|
+
} from "../_node-chunks/chunk-I6H2XFE3.js";
|
|
15
15
|
|
|
16
16
|
// src/loaders/react-docgen-loader.ts
|
|
17
17
|
import { getProjectRoot } from "storybook/internal/common";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preset-react-webpack",
|
|
3
|
-
"version": "10.1.0-alpha.
|
|
3
|
+
"version": "10.1.0-alpha.4",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@storybook/core-webpack": "10.1.0-alpha.
|
|
45
|
+
"@storybook/core-webpack": "10.1.0-alpha.4",
|
|
46
46
|
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
|
|
47
47
|
"@types/semver": "^7.3.4",
|
|
48
48
|
"magic-string": "^0.30.5",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
62
62
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
63
|
-
"storybook": "^10.1.0-alpha.
|
|
63
|
+
"storybook": "^10.1.0-alpha.4"
|
|
64
64
|
},
|
|
65
65
|
"peerDependenciesMeta": {
|
|
66
66
|
"typescript": {
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import CJS_COMPAT_NODE_URL_0grljifmdjxa from 'node:url';
|
|
2
|
-
import CJS_COMPAT_NODE_PATH_0grljifmdjxa from 'node:path';
|
|
3
|
-
import CJS_COMPAT_NODE_MODULE_0grljifmdjxa from "node:module";
|
|
4
|
-
|
|
5
|
-
var __filename = CJS_COMPAT_NODE_URL_0grljifmdjxa.fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = CJS_COMPAT_NODE_PATH_0grljifmdjxa.dirname(__filename);
|
|
7
|
-
var require = CJS_COMPAT_NODE_MODULE_0grljifmdjxa.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
|
-
};
|