storybook-react-rsbuild 1.0.1 → 1.0.3

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,9 @@
1
+ import { StorybookConfig } from '../index.js';
2
+ import '@storybook/react';
3
+ import '@storybook/react-docgen-typescript-plugin';
4
+ import 'storybook-builder-rsbuild';
5
+ import 'storybook/internal/types';
6
+
7
+ declare function defineMain(config: StorybookConfig): StorybookConfig;
8
+
9
+ export { defineMain };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/node/index.ts
21
+ var node_exports = {};
22
+ __export(node_exports, {
23
+ defineMain: () => defineMain
24
+ });
25
+ module.exports = __toCommonJS(node_exports);
26
+ function defineMain(config) {
27
+ return config;
28
+ }
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ defineMain
32
+ });
@@ -0,0 +1,6 @@
1
+ // src/node/index.ts
2
+ function defineMain(config) {
3
+ return config;
4
+ }
5
+
6
+ export { defineMain };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-react-rsbuild",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Storybook for React and Rsbuild: Develop React components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook",
@@ -8,7 +8,7 @@
8
8
  "rspack",
9
9
  "react"
10
10
  ],
11
- "homepage": "https://storybook-rsbuild.netlify.app",
11
+ "homepage": "https://storybook.rsbuild.dev",
12
12
  "bugs": {
13
13
  "url": "https://github.com/rspack-contrib/storybook-rsbuild/issues"
14
14
  },
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  "dependencies": {
53
53
  "@rollup/pluginutils": "^5.1.4",
54
- "@storybook/react": "^8.2.1",
54
+ "@storybook/react": "^8.6.14",
55
55
  "@storybook/react-docgen-typescript-plugin": "^1.0.1",
56
56
  "@types/node": "^18.0.0",
57
57
  "find-up": "^5.0.0",
@@ -60,16 +60,16 @@
60
60
  "react-docgen-typescript": "^2.2.2",
61
61
  "resolve": "^1.22.10",
62
62
  "tsconfig-paths": "^4.2.0",
63
- "storybook-builder-rsbuild": "1.0.1"
63
+ "storybook-builder-rsbuild": "1.0.3"
64
64
  },
65
65
  "devDependencies": {
66
- "@rsbuild/core": "^1.1.13",
67
- "@storybook/types": "8.6.3",
68
- "@types/react": "^18.3.19",
66
+ "@rsbuild/core": "^1.3.22",
67
+ "@storybook/types": "8.6.14",
68
+ "@types/react": "^18.3.23",
69
69
  "@types/resolve": "^1.20.6",
70
70
  "react": "18.3.1",
71
71
  "react-dom": "18.3.1",
72
- "storybook": "8.6.3",
72
+ "storybook": "8.6.14",
73
73
  "typescript": "^5.7.3"
74
74
  },
75
75
  "peerDependencies": {