dumi 2.4.39 → 2.4.40-alpha.0
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.
|
Binary file
|
|
@@ -243,6 +243,12 @@ var getUtoopackRules = (api, config = api.config) => {
|
|
|
243
243
|
],
|
|
244
244
|
as: "*.js"
|
|
245
245
|
},
|
|
246
|
+
// handle untouched raw content for user imports like `import source from './file?raw'`
|
|
247
|
+
{
|
|
248
|
+
condition: { query: /^\?raw$/ },
|
|
249
|
+
loaders: [require.resolve("raw-loader")],
|
|
250
|
+
as: "*.js"
|
|
251
|
+
},
|
|
246
252
|
// handle external demo component files (?techStack=xxx)
|
|
247
253
|
// techStacks are NOT serializable; pass loaderContextPath and hydrate in the loader
|
|
248
254
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.40-alpha.0",
|
|
4
4
|
"description": "📖 Documentation Generator of React Component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"generator",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/umijs/dumi"
|
|
23
|
+
"url": "git+https://github.com/umijs/dumi.git"
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"main": "dist/index.js",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"@swc/core": "1.9.2",
|
|
70
70
|
"@types/hast": "^2.3.5",
|
|
71
71
|
"@types/mdast": "^3.0.12",
|
|
72
|
-
"@umijs/bundler-utils": "^4.6.
|
|
73
|
-
"@umijs/core": "^4.6.
|
|
74
|
-
"@umijs/utils": "^4.6.
|
|
72
|
+
"@umijs/bundler-utils": "^4.6.72",
|
|
73
|
+
"@umijs/core": "^4.6.72",
|
|
74
|
+
"@umijs/utils": "^4.6.72",
|
|
75
75
|
"animated-scroll-to": "^2.3.0",
|
|
76
76
|
"classnames": "2.3.2",
|
|
77
77
|
"codesandbox-import-utils": "^2.2.3",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"sass": "^1.64.1",
|
|
124
124
|
"sitemap": "^7.1.1",
|
|
125
125
|
"sucrase": "^3.34.0",
|
|
126
|
-
"umi": "^4.6.
|
|
126
|
+
"umi": "^4.6.72",
|
|
127
127
|
"unified": "^10.1.2",
|
|
128
128
|
"unist-util-visit": "^4.1.2",
|
|
129
129
|
"unist-util-visit-parents": "^5.1.3",
|
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
148
148
|
"@types/react-dom": "^18.2.7",
|
|
149
149
|
"@typescript/native-preview": "7.0.0-dev.20260623.1",
|
|
150
|
-
"@umijs/lint": "^4.6.
|
|
151
|
-
"@umijs/plugins": "4.6.
|
|
150
|
+
"@umijs/lint": "^4.6.72",
|
|
151
|
+
"@umijs/plugins": "4.6.72",
|
|
152
152
|
"eslint": "^8.46.0",
|
|
153
153
|
"esno": "^4.7.0",
|
|
154
154
|
"fast-glob": "^3.3.1",
|
|
@@ -194,6 +194,7 @@
|
|
|
194
194
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
195
195
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
196
196
|
"release": "esno scripts/release.ts",
|
|
197
|
+
"release:publish": "esno scripts/releasePublish.ts",
|
|
197
198
|
"test": "vitest run",
|
|
198
199
|
"vercel:build": "npm run docs:build",
|
|
199
200
|
"vercel:install": "./scripts/vercel-install.sh"
|