cmyr-template-cli 1.28.0 → 1.28.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/dist/plopfile.js
CHANGED
|
@@ -731,6 +731,7 @@ async function initDependabot(projectPath, answers) {
|
|
|
731
731
|
...((_c = dependabot === null || dependabot === void 0 ? void 0 : dependabot.updates) === null || _c === void 0 ? void 0 : _c[0].ignore) || [],
|
|
732
732
|
{
|
|
733
733
|
'dependency-name': 'semantic-release',
|
|
734
|
+
versions: ['>= 21.0.1'],
|
|
734
735
|
},
|
|
735
736
|
{
|
|
736
737
|
'dependency-name': '@commitlint/cli',
|
|
@@ -1365,6 +1366,7 @@ async function initJest(projectPath) {
|
|
|
1365
1366
|
...pkg === null || pkg === void 0 ? void 0 : pkg.devDependencies,
|
|
1366
1367
|
},
|
|
1367
1368
|
});
|
|
1369
|
+
newPkg.jest = undefined;
|
|
1368
1370
|
await saveProjectJson(projectPath, newPkg);
|
|
1369
1371
|
loading.succeed('Jest 初始化成功!');
|
|
1370
1372
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmyr-template-cli",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.2",
|
|
4
4
|
"description": "草梅友仁自制的项目模板创建器",
|
|
5
5
|
"author": "CaoMeiYouRen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"@types/node": "^20.0.0",
|
|
48
48
|
"@types/promise.any": "^2.0.0",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "7.5.0",
|
|
50
|
-
"@typescript-eslint/parser": "7.
|
|
50
|
+
"@typescript-eslint/parser": "7.12.0",
|
|
51
51
|
"commitizen": "^4.2.2",
|
|
52
|
-
"conventional-changelog-cli": "^
|
|
52
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
53
53
|
"conventional-changelog-cmyr-config": "^2.1.1",
|
|
54
54
|
"cross-env": "^7.0.2",
|
|
55
55
|
"cz-conventional-changelog-cmyr": "^1.0.0",
|
|
@@ -8,11 +8,11 @@ jobs:
|
|
|
8
8
|
name: Release
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
12
|
with:
|
|
13
13
|
persist-credentials: false
|
|
14
14
|
- name: Setup pnpm
|
|
15
|
-
uses: pnpm/action-setup@
|
|
15
|
+
uses: pnpm/action-setup@v4
|
|
16
16
|
with:
|
|
17
17
|
version: "latest"
|
|
18
18
|
- name: Setup Node.js environment
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
node-version: "lts/*"
|
|
22
22
|
cache: "pnpm"
|
|
23
23
|
- name: Cache Dependency
|
|
24
|
-
uses: actions/cache@
|
|
24
|
+
uses: actions/cache@v4
|
|
25
25
|
with:
|
|
26
26
|
path: |
|
|
27
27
|
~/.npm
|
|
@@ -8,9 +8,9 @@ jobs:
|
|
|
8
8
|
name: Test
|
|
9
9
|
runs-on: ubuntu-latest
|
|
10
10
|
steps:
|
|
11
|
-
- uses: actions/checkout@
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
12
|
- name: Setup pnpm
|
|
13
|
-
uses: pnpm/action-setup@
|
|
13
|
+
uses: pnpm/action-setup@v4
|
|
14
14
|
with:
|
|
15
15
|
version: "latest"
|
|
16
16
|
- name: Setup Node.js@lts environment
|
|
@@ -19,7 +19,7 @@ jobs:
|
|
|
19
19
|
node-version: "lts/*"
|
|
20
20
|
cache: "pnpm"
|
|
21
21
|
- name: Cache Dependency
|
|
22
|
-
uses: actions/cache@
|
|
22
|
+
uses: actions/cache@v4
|
|
23
23
|
with:
|
|
24
24
|
path: |
|
|
25
25
|
~/.npm
|