@ruan-cat/vercel-deploy-tool 0.10.1 → 0.11.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.
- package/README.md +7 -0
- package/package.json +10 -7
- package/tsconfig.json +5 -11
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# 阮喵喵自用的 vercel 部署工具
|
|
2
2
|
|
|
3
|
+
<!-- automd:badges color="yellow" name="@ruan-cat/vercel-deploy-tool" -->
|
|
4
|
+
|
|
5
|
+
[](https://npmjs.com/package/@ruan-cat/vercel-deploy-tool)
|
|
6
|
+
[](https://npm.chart.dev/@ruan-cat/vercel-deploy-tool)
|
|
7
|
+
|
|
8
|
+
<!-- /automd -->
|
|
9
|
+
|
|
3
10
|
生成满足 [Vercel Output API (v3)](https://vercel.com/docs/build-output-api)规范的目录结构,并推送到 vercel 平台内。
|
|
4
11
|
|
|
5
12
|
目前仅考虑简单的静态页面,没有实现云函数等功能。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruan-cat/vercel-deploy-tool",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "阮喵喵自用的vercel部署工具,用于实现复杂项目的部署。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -37,12 +37,13 @@
|
|
|
37
37
|
"tag": "beta"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
|
+
"!**/.vercel/**",
|
|
40
41
|
"src",
|
|
41
42
|
"tsconfig.json"
|
|
42
43
|
],
|
|
43
44
|
"dependencies": {
|
|
44
|
-
"@dotenvx/dotenvx": "^1.
|
|
45
|
-
"c12": "^3.
|
|
45
|
+
"@dotenvx/dotenvx": "^1.50.1",
|
|
46
|
+
"c12": "^3.3.0",
|
|
46
47
|
"commander": "^13.1.0",
|
|
47
48
|
"consola": "^3.4.2",
|
|
48
49
|
"gradient-string": "^3.0.0",
|
|
@@ -50,20 +51,22 @@
|
|
|
50
51
|
"pathe": "^2.0.3",
|
|
51
52
|
"rimraf": "^6.0.1",
|
|
52
53
|
"vercel": "^41.7.8",
|
|
53
|
-
"@ruan-cat/utils": "^4.
|
|
54
|
+
"@ruan-cat/utils": "^4.13.0"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@types/gulp": "^4.0.17",
|
|
57
58
|
"@types/lodash-es": "^4.17.12",
|
|
58
|
-
"@types/node": "^22.
|
|
59
|
+
"@types/node": "^22.18.6",
|
|
60
|
+
"automd": "^0.4.2",
|
|
59
61
|
"execa": "^9.6.0",
|
|
60
|
-
"vitepress": "^1.6.
|
|
61
|
-
"@ruan-cat/vitepress-preset-config": "^
|
|
62
|
+
"vitepress": "^1.6.4",
|
|
63
|
+
"@ruan-cat/vitepress-preset-config": "^2.4.1"
|
|
62
64
|
},
|
|
63
65
|
"scripts": {
|
|
64
66
|
"docs:dev": "vitepress dev docs --port 8080",
|
|
65
67
|
"build:docs": "vitepress build docs",
|
|
66
68
|
"—build-not-use-for-now": "tsc",
|
|
69
|
+
"prebuild": "automd",
|
|
67
70
|
"start": "node ./dist/index.js",
|
|
68
71
|
"run": "tsx ./src/index.ts --env-path=.env.test",
|
|
69
72
|
"test:config": "dotenvx run -f .env.test -f .env.test-2 -- tsx ./tests/config.test.ts"
|
package/tsconfig.json
CHANGED
|
@@ -22,22 +22,16 @@
|
|
|
22
22
|
"baseUrl": ".",
|
|
23
23
|
"rootDir": ".",
|
|
24
24
|
"paths": {
|
|
25
|
-
"@/*": [
|
|
26
|
-
|
|
27
|
-
]
|
|
28
|
-
"src/*": [
|
|
29
|
-
"src/*"
|
|
30
|
-
],
|
|
31
|
-
"tests/*": [
|
|
32
|
-
"tests/*"
|
|
33
|
-
]
|
|
25
|
+
"@/*": ["src/*"],
|
|
26
|
+
"src/*": ["src/*"],
|
|
27
|
+
"tests/*": ["tests/*"]
|
|
34
28
|
}
|
|
35
29
|
},
|
|
36
30
|
"include": [
|
|
37
31
|
"./src/**/*.ts",
|
|
38
32
|
"./tests/**/*.test.ts",
|
|
39
|
-
"./tests/**/*.ts"
|
|
33
|
+
"./tests/**/*.ts"
|
|
40
34
|
// "src",
|
|
41
35
|
// "tests"
|
|
42
36
|
]
|
|
43
|
-
}
|
|
37
|
+
}
|