@storybook/preset-react-webpack 10.1.0-alpha.12 → 10.1.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_qww2u7e93x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qww2u7e93x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qww2u7e93x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qww2u7e93x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qww2u7e93x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qww2u7e93x.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_qww2u7e93x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qww2u7e93x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qww2u7e93x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qww2u7e93x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qww2u7e93x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qww2u7e93x.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_qww2u7e93x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qww2u7e93x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qww2u7e93x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qww2u7e93x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qww2u7e93x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qww2u7e93x.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_qww2u7e93x from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_qww2u7e93x from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_qww2u7e93x from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_qww2u7e93x.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_qww2u7e93x.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_qww2u7e93x.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -142,7 +142,7 @@ async function reactDocgenLoader(source, map) {
|
|
|
142
142
|
let callback = this.async(), options = this.getOptions() || {}, { debug = !1 } = options;
|
|
143
143
|
if (!tsconfigPathsInitialized) {
|
|
144
144
|
let tsconfigPath = up2("tsconfig.json", { cwd: process.cwd(), last: getProjectRoot() }), tsconfig = TsconfigPaths.loadConfig(tsconfigPath);
|
|
145
|
-
tsconfig.resultType === "success" && (matchPath = TsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl, tsconfig.paths, [
|
|
145
|
+
tsconfig.resultType === "success" && (logger.debug("Using tsconfig paths for react-docgen"), matchPath = TsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl, tsconfig.paths, [
|
|
146
146
|
"browser",
|
|
147
147
|
"module",
|
|
148
148
|
"main"
|
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.14",
|
|
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.14",
|
|
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.14"
|
|
64
64
|
},
|
|
65
65
|
"peerDependenciesMeta": {
|
|
66
66
|
"typescript": {
|