@modern-js/storybook-builder 2.68.0 → 2.68.1
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
|
38
|
+
var import_internal = __toESM(require("@modern-js/runtime/router/internal"));
|
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,
|
66
|
+
plugins.push((0, import_internal.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";
|
4
|
+
import router from "@modern-js/runtime/router/internal";
|
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": "2.68.
|
3
|
+
"version": "2.68.1",
|
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.
|
54
|
+
"@rsbuild/core": "1.4.4",
|
55
55
|
"@storybook/components": "~7.6.12",
|
56
56
|
"@storybook/core-common": "~7.6.12",
|
57
57
|
"@storybook/csf-plugin": "~7.6.12",
|
@@ -70,18 +70,18 @@
|
|
70
70
|
"remark-slug": "^7.0.1",
|
71
71
|
"serve-static": "^1.14.1",
|
72
72
|
"tinypool": "^0.8.0",
|
73
|
-
"@modern-js/core": "2.68.
|
74
|
-
"@modern-js/plugin-state": "2.68.
|
75
|
-
"@modern-js/runtime": "2.68.
|
76
|
-
"@modern-js/uni-builder": "2.68.
|
77
|
-
"@modern-js/utils": "2.68.
|
73
|
+
"@modern-js/core": "2.68.1",
|
74
|
+
"@modern-js/plugin-state": "2.68.1",
|
75
|
+
"@modern-js/runtime": "2.68.1",
|
76
|
+
"@modern-js/uni-builder": "2.68.1",
|
77
|
+
"@modern-js/utils": "2.68.1"
|
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": "2.68.
|
84
|
+
"@modern-js/core": "2.68.1",
|
85
85
|
"@scripts/build": "2.66.0"
|
86
86
|
},
|
87
87
|
"publishConfig": {
|