@storybook/preset-create-react-app 10.2.0-alpha.0 → 10.2.0-alpha.2
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 +8 -8
- package/package.json +2 -6
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7eum3tboflo from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7eum3tboflo from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7eum3tboflo from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7eum3tboflo.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7eum3tboflo.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7eum3tboflo.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -55,7 +55,7 @@ import { join as join3 } from "node:path";
|
|
|
55
55
|
// ../../core/src/shared/utils/module.ts
|
|
56
56
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
57
57
|
|
|
58
|
-
//
|
|
58
|
+
// ../../../node_modules/exsolve/dist/index.mjs
|
|
59
59
|
import assert from "node:assert";
|
|
60
60
|
import v8 from "node:v8";
|
|
61
61
|
import { format, inspect } from "node:util";
|
|
@@ -179,7 +179,7 @@ var hasOwnProperty = {}.hasOwnProperty;
|
|
|
179
179
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], own = {}.hasOwnProperty;
|
|
180
180
|
var isWindows = process.platform === "win32", globalCache = globalThis.__EXSOLVE_CACHE__ ||= /* @__PURE__ */ new Map();
|
|
181
181
|
|
|
182
|
-
//
|
|
182
|
+
// ../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
183
183
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
184
184
|
function normalizeWindowsPath(input = "") {
|
|
185
185
|
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.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.2",
|
|
4
4
|
"description": "Storybook for Create React App preset",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -32,10 +32,6 @@
|
|
|
32
32
|
"*.d.ts",
|
|
33
33
|
"!src/**/*"
|
|
34
34
|
],
|
|
35
|
-
"scripts": {
|
|
36
|
-
"check": "jiti ../../../scripts/check/check-package.ts",
|
|
37
|
-
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
38
|
-
},
|
|
39
35
|
"dependencies": {
|
|
40
36
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
|
|
41
37
|
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0",
|
|
@@ -49,7 +45,7 @@
|
|
|
49
45
|
},
|
|
50
46
|
"peerDependencies": {
|
|
51
47
|
"react-scripts": ">=5.0.0",
|
|
52
|
-
"storybook": "^10.2.0-alpha.
|
|
48
|
+
"storybook": "^10.2.0-alpha.2"
|
|
53
49
|
},
|
|
54
50
|
"publishConfig": {
|
|
55
51
|
"access": "public"
|