@storybook/preset-create-react-app 10.6.0-alpha.4 → 10.6.0-alpha.6
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.
- package/dist/index.js +7 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_a4nx7klzhai from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_a4nx7klzhai from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_a4nx7klzhai from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_a4nx7klzhai.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_a4nx7klzhai.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_a4nx7klzhai.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -180,7 +180,7 @@ var hasOwnProperty = {}.hasOwnProperty;
|
|
|
180
180
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], own = {}.hasOwnProperty;
|
|
181
181
|
var isWindows = process.platform === "win32", globalCache = globalThis.__EXSOLVE_CACHE__ ||= /* @__PURE__ */ new Map();
|
|
182
182
|
|
|
183
|
-
//
|
|
183
|
+
// ../../core/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
184
184
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
185
185
|
function normalizeWindowsPath(input = "") {
|
|
186
186
|
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preset-create-react-app",
|
|
3
|
-
"version": "10.6.0-alpha.
|
|
3
|
+
"version": "10.6.0-alpha.6",
|
|
4
4
|
"description": "Storybook for Create React App preset",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react-scripts": ">=5.0.0",
|
|
48
|
-
"storybook": "^10.6.0-alpha.
|
|
48
|
+
"storybook": "^10.6.0-alpha.6"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|