@ruan-cat/utils 4.9.0 → 4.9.2
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/README.md +16 -1
- package/package.json +16 -14
- package/src/.vitepress/config.mts +3 -1
package/README.md
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
order: 10
|
|
3
|
+
dir:
|
|
4
|
+
order: 10
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 工具包
|
|
8
|
+
|
|
9
|
+
这是阮喵喵开发的工具包,提供了一些工具函数。
|
|
10
|
+
|
|
11
|
+
<!-- automd:badges color="yellow" name="@ruan-cat/utils" -->
|
|
12
|
+
|
|
13
|
+
[](https://npmjs.com/package/@ruan-cat/utils)
|
|
14
|
+
[](https://npm.chart.dev/@ruan-cat/utils)
|
|
15
|
+
|
|
16
|
+
<!-- /automd -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruan-cat/utils",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.2",
|
|
4
4
|
"description": "阮喵喵工具集合。默认提供js文件,也直接提供ts文件。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -60,32 +60,33 @@
|
|
|
60
60
|
"tsconfig.json"
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@vueuse/integrations": "^13.
|
|
64
|
-
"axios": "^1.
|
|
65
|
-
"consola": "^3.4.
|
|
63
|
+
"@vueuse/integrations": "^13.6.0",
|
|
64
|
+
"axios": "^1.11.0",
|
|
65
|
+
"consola": "^3.4.2",
|
|
66
66
|
"lodash-es": "^4.17.21"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@antfu/utils": "^9.
|
|
69
|
+
"@antfu/utils": "^9.2.0",
|
|
70
70
|
"@types/lodash-es": "^4.17.12",
|
|
71
|
-
"@types/node": "^22.
|
|
72
|
-
"@types/qs": "^6.
|
|
71
|
+
"@types/node": "^22.17.0",
|
|
72
|
+
"@types/qs": "^6.14.0",
|
|
73
|
+
"automd": "^0.4.0",
|
|
73
74
|
"commander": "^13.1.0",
|
|
74
75
|
"js-yaml": "^4.1.0",
|
|
75
76
|
"qs": "^6.14.0",
|
|
76
|
-
"tsup": "^8.
|
|
77
|
+
"tsup": "^8.5.0",
|
|
77
78
|
"type-plus": "^7.6.2",
|
|
78
|
-
"typedoc": "^0.28.
|
|
79
|
+
"typedoc": "^0.28.9",
|
|
79
80
|
"typedoc-plugin-frontmatter": "^1.3.0",
|
|
80
|
-
"typedoc-plugin-markdown": "^4.
|
|
81
|
-
"typescript": "^5.
|
|
82
|
-
"unplugin-auto-import": "^19.
|
|
83
|
-
"unplugin-vue-router": "^0.
|
|
81
|
+
"typedoc-plugin-markdown": "^4.8.0",
|
|
82
|
+
"typescript": "^5.9.2",
|
|
83
|
+
"unplugin-auto-import": "^19.3.0",
|
|
84
|
+
"unplugin-vue-router": "^0.14.0",
|
|
84
85
|
"vite-plugin-autogeneration-import-file": "^3.0.0",
|
|
85
86
|
"vitepress": "^1.6.3"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
88
|
-
"typescript": "5
|
|
89
|
+
"typescript": ">=5",
|
|
89
90
|
"unplugin-vue-router": "^0.12.0",
|
|
90
91
|
"vite-plugin-autogeneration-import-file": ">=3"
|
|
91
92
|
},
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
},
|
|
112
113
|
"scripts": {
|
|
113
114
|
"build": "tsup",
|
|
115
|
+
"prebuild": "automd",
|
|
114
116
|
"docs:dev": "turbo docs:dev",
|
|
115
117
|
"build:docs": "turbo do-build-docs",
|
|
116
118
|
"typedoc": "typedoc --options typedoc.config.mjs",
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// 工具包文档项目 直接导入生成文档配置 避免出现循环依赖
|
|
2
2
|
import { setUserConfig, setGenerateSidebar, withMermaid } from "../../../vitepress-preset-config";
|
|
3
|
-
import { addChangelog2doc } from "@ruan-cat/utils/node-esm";
|
|
3
|
+
import { addChangelog2doc, copyReadmeMd } from "@ruan-cat/utils/node-esm";
|
|
4
4
|
|
|
5
5
|
import { description } from "../../package.json";
|
|
6
6
|
|
|
7
|
+
copyReadmeMd("./src");
|
|
8
|
+
|
|
7
9
|
addChangelog2doc({
|
|
8
10
|
target: "./src",
|
|
9
11
|
data: {
|