cmyr-template-cli 1.25.4 → 1.26.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/dist/plopfile.js
CHANGED
|
@@ -51,15 +51,7 @@ const PACKAGE_MANAGER = 'pnpm';
|
|
|
51
51
|
|
|
52
52
|
const TEMPLATES_META_LIST = [
|
|
53
53
|
{
|
|
54
|
-
name: '
|
|
55
|
-
language: 'vue',
|
|
56
|
-
runtime: 'browser',
|
|
57
|
-
vueVersion: 3,
|
|
58
|
-
docker: false,
|
|
59
|
-
priority: 0,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: 'vite3-template',
|
|
54
|
+
name: 'vite-latest-template',
|
|
63
55
|
language: 'vue',
|
|
64
56
|
runtime: 'browser',
|
|
65
57
|
vueVersion: 3,
|
|
@@ -74,14 +66,6 @@ const TEMPLATES_META_LIST = [
|
|
|
74
66
|
docker: false,
|
|
75
67
|
priority: 0,
|
|
76
68
|
},
|
|
77
|
-
{
|
|
78
|
-
name: 'vite2-template',
|
|
79
|
-
language: 'vue',
|
|
80
|
-
runtime: 'browser',
|
|
81
|
-
vueVersion: 3,
|
|
82
|
-
docker: false,
|
|
83
|
-
priority: 0,
|
|
84
|
-
},
|
|
85
69
|
{
|
|
86
70
|
name: 'electron-vite-template',
|
|
87
71
|
language: 'vue',
|
|
@@ -214,22 +198,6 @@ const TEMPLATES_META_LIST = [
|
|
|
214
198
|
docker: false,
|
|
215
199
|
priority: 0,
|
|
216
200
|
},
|
|
217
|
-
{
|
|
218
|
-
name: 'vue-template',
|
|
219
|
-
language: 'vue',
|
|
220
|
-
runtime: 'browser',
|
|
221
|
-
vueVersion: 2,
|
|
222
|
-
docker: false,
|
|
223
|
-
priority: 0,
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: 'vue3-template',
|
|
227
|
-
language: 'vue',
|
|
228
|
-
runtime: 'browser',
|
|
229
|
-
vueVersion: 3,
|
|
230
|
-
docker: false,
|
|
231
|
-
priority: 0,
|
|
232
|
-
},
|
|
233
201
|
{
|
|
234
202
|
name: 'python-flask-template',
|
|
235
203
|
language: 'python',
|
|
@@ -1535,7 +1503,7 @@ module.exports = function (plop) {
|
|
|
1535
1503
|
name: 'description',
|
|
1536
1504
|
message: '请输入项目简介',
|
|
1537
1505
|
default: '',
|
|
1538
|
-
filter: (e) => e.trim(),
|
|
1506
|
+
filter: (e) => lintMd(e.trim()),
|
|
1539
1507
|
},
|
|
1540
1508
|
{
|
|
1541
1509
|
type: 'input',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmyr-template-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.1",
|
|
4
4
|
"description": "草梅友仁自制的项目模板创建器",
|
|
5
5
|
"author": "CaoMeiYouRen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@types/lodash": "^4.14.165",
|
|
47
47
|
"@types/node": "^20.0.0",
|
|
48
48
|
"@types/promise.any": "^2.0.0",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
50
|
-
"@typescript-eslint/parser": "6.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "6.17.0",
|
|
50
|
+
"@typescript-eslint/parser": "6.17.0",
|
|
51
51
|
"commitizen": "^4.2.2",
|
|
52
52
|
"conventional-changelog-cli": "^4.0.0",
|
|
53
53
|
"conventional-changelog-cmyr-config": "^2.1.1",
|
|
@@ -14,9 +14,10 @@ jobs:
|
|
|
14
14
|
with:
|
|
15
15
|
version: "latest"
|
|
16
16
|
- name: Setup Node.js@lts environment
|
|
17
|
-
uses: actions/setup-node@
|
|
17
|
+
uses: actions/setup-node@v4
|
|
18
18
|
with:
|
|
19
19
|
node-version: "lts/*"
|
|
20
|
+
cache: "pnpm"
|
|
20
21
|
- name: Cache Dependency
|
|
21
22
|
uses: actions/cache@v3
|
|
22
23
|
with:
|