dumi 2.1.12 → 2.1.13
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/features/derivative.js +13 -0
- package/package.json +5 -5
|
@@ -145,6 +145,19 @@ var derivative_default = (api) => {
|
|
|
145
145
|
api.registerPlugins([require.resolve("../../compiled/@umijs/plugins")]);
|
|
146
146
|
if (api.isPluginEnable("prepare"))
|
|
147
147
|
api.skipPlugins(["prepare"]);
|
|
148
|
+
if (api.isPluginEnable("routeProps")) {
|
|
149
|
+
api.skipPlugins(["routeProps"]);
|
|
150
|
+
api.onGenerateFiles({
|
|
151
|
+
stage: -Infinity,
|
|
152
|
+
fn() {
|
|
153
|
+
api.writeTmpFile({
|
|
154
|
+
noPluginDir: true,
|
|
155
|
+
path: "core/routeProps.js",
|
|
156
|
+
content: "export default {}"
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
}
|
|
148
161
|
};
|
|
149
162
|
// Annotate the CommonJS export names for ESM import in node:
|
|
150
163
|
0 && (module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.13",
|
|
4
4
|
"description": "📖 Documentation Generator of React Component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"generator",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"@swc/core": "^1.2.224",
|
|
81
81
|
"@types/hast": "^2.3.4",
|
|
82
82
|
"@types/mdast": "^3.0.10",
|
|
83
|
-
"@umijs/bundler-utils": "^4.0.
|
|
84
|
-
"@umijs/core": "^4.0.
|
|
83
|
+
"@umijs/bundler-utils": "^4.0.53",
|
|
84
|
+
"@umijs/core": "^4.0.53",
|
|
85
85
|
"animated-scroll-to": "^2.3.0",
|
|
86
86
|
"classnames": "2.3.2",
|
|
87
87
|
"codesandbox": "^2.2.3",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"remark-rehype": "^10.1.0",
|
|
123
123
|
"sass": "^1.55.0",
|
|
124
124
|
"sitemap": "^7.1.1",
|
|
125
|
-
"umi": "^4.0.
|
|
125
|
+
"umi": "^4.0.53",
|
|
126
126
|
"unified": "^10.1.2",
|
|
127
127
|
"unist-util-visit": "^4.1.0",
|
|
128
128
|
"unist-util-visit-parents": "^5.1.1",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@types/pluralize": "^0.0.29",
|
|
142
142
|
"@types/react": "^18.0.16",
|
|
143
143
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
144
|
-
"@umijs/lint": "^4.0.
|
|
144
|
+
"@umijs/lint": "^4.0.53",
|
|
145
145
|
"@umijs/plugins": "4.0.32",
|
|
146
146
|
"dumi-theme-mobile": "workspace:*",
|
|
147
147
|
"eslint": "^8.20.0",
|