@modern-js/storybook-builder 0.0.0-next-20250715034308 → 0.0.0-next-20250716121119

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.
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(modern_exports);
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_runtime = __toESM(require("@modern-js/plugin-state/runtime"));
37
37
  var import_runtime2 = require("@modern-js/runtime");
38
- var import_internal = __toESM(require("@modern-js/runtime/router/internal"));
38
+ var import_router = __toESM(require("@modern-js/runtime/router"));
39
39
  const WrapProviders = (storyFn, config) => {
40
40
  const App = (0, import_runtime2.createApp)({
41
41
  plugins: resolvePlugins(config.modernConfigRuntime)
@@ -63,7 +63,7 @@ const resolvePlugins = (runtime) => {
63
63
  plugins.push((0, import_runtime.default)(runtime.state));
64
64
  }
65
65
  } else if (api === allowedRuntimeAPI.router) {
66
- plugins.push((0, import_internal.default)({
66
+ plugins.push((0, import_router.default)({
67
67
  ...{
68
68
  serverBase: [
69
69
  "/"
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import state from "@modern-js/plugin-state/runtime";
3
3
  import { createApp } from "@modern-js/runtime";
4
- import router from "@modern-js/runtime/router/internal";
4
+ import router from "@modern-js/runtime/router";
5
5
  const WrapProviders = (storyFn, config) => {
6
6
  const App = createApp({
7
7
  plugins: resolvePlugins(config.modernConfigRuntime)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/storybook-builder",
3
- "version": "0.0.0-next-20250715034308",
3
+ "version": "0.0.0-next-20250716121119",
4
4
  "description": "modern.js support for storybook",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "license": "MIT",
53
53
  "dependencies": {
54
- "@rsbuild/core": "1.4.4",
54
+ "@rsbuild/core": "1.3.22",
55
55
  "@storybook/components": "~7.6.12",
56
56
  "@storybook/core-common": "~7.6.12",
57
57
  "@storybook/csf-plugin": "~7.6.12",
@@ -64,25 +64,25 @@
64
64
  "@storybook/router": "~7.6.12",
65
65
  "@storybook/theming": "~7.6.12",
66
66
  "ast-types": "^0.14.2",
67
- "minimatch": "^9.0.5",
67
+ "minimatch": "^9.0.3",
68
68
  "react-docgen": "6.0.0-alpha.3",
69
69
  "remark-external-links": "^9.0.1",
70
70
  "remark-slug": "^7.0.1",
71
71
  "serve-static": "^1.14.1",
72
72
  "tinypool": "^0.8.0",
73
- "@modern-js/core": "0.0.0-next-20250715034308",
74
- "@modern-js/plugin-state": "0.0.0-next-20250715034308",
75
- "@modern-js/runtime": "0.0.0-next-20250715034308",
76
- "@modern-js/uni-builder": "0.0.0-next-20250715034308",
77
- "@modern-js/utils": "0.0.0-next-20250715034308"
73
+ "@modern-js/core": "0.0.0-next-20250716121119",
74
+ "@modern-js/plugin-state": "0.0.0-next-20250716121119",
75
+ "@modern-js/runtime": "0.0.0-next-20250716121119",
76
+ "@modern-js/uni-builder": "0.0.0-next-20250716121119",
77
+ "@modern-js/utils": "0.0.0-next-20250716121119"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@storybook/types": "~7.6.12",
81
81
  "@types/babel__core": "^7.20.5",
82
82
  "@types/serve-static": "^1.13.10",
83
83
  "typescript": "^5.2.2",
84
- "@modern-js/core": "0.0.0-next-20250715034308",
85
- "@scripts/build": "0.0.0-next-20250715034308"
84
+ "@modern-js/core": "0.0.0-next-20250716121119",
85
+ "@scripts/build": "0.0.0-next-20250716121119"
86
86
  },
87
87
  "publishConfig": {
88
88
  "registry": "https://registry.npmjs.org/",