@storybook/preset-create-react-app 10.0.3 → 10.0.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +4 -3
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0py6qkb49kt from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0py6qkb49kt from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0py6qkb49kt from "node:module";
1
+ import CJS_COMPAT_NODE_URL_d2n1po854q from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_d2n1po854q from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_d2n1po854q from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_0py6qkb49kt.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0py6qkb49kt.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0py6qkb49kt.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_d2n1po854q.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_d2n1po854q.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_d2n1po854q.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -19,6 +19,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
19
19
  });
20
20
 
21
21
  // src/index.ts
22
+ import module from "node:module";
22
23
  import { dirname as dirname2, join as join4, relative as relative2 } from "node:path";
23
24
  import { logger as logger2 } from "storybook/internal/node-logger";
24
25
  import PnpWebpackPlugin from "pnp-webpack-plugin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preset-create-react-app",
3
- "version": "10.0.3",
3
+ "version": "10.0.4",
4
4
  "description": "Storybook for Create React App preset",
5
5
  "keywords": [
6
6
  "storybook"
@@ -22,7 +22,8 @@
22
22
  "type": "module",
23
23
  "exports": {
24
24
  "./index": "./dist/index.js",
25
- "./package.json": "./package.json"
25
+ "./package.json": "./package.json",
26
+ "./preset": "./dist/index.js"
26
27
  },
27
28
  "files": [
28
29
  "dist/**/*",
@@ -48,7 +49,7 @@
48
49
  },
49
50
  "peerDependencies": {
50
51
  "react-scripts": ">=5.0.0",
51
- "storybook": "^10.0.3"
52
+ "storybook": "^10.0.4"
52
53
  },
53
54
  "publishConfig": {
54
55
  "access": "public"