cmyr-template-cli 1.27.3 → 1.27.4

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
@@ -729,6 +729,10 @@ async function initDependabot(projectPath, answers) {
729
729
  {
730
730
  'dependency-name': 'semantic-release',
731
731
  },
732
+ {
733
+ 'dependency-name': '@commitlint/cli',
734
+ versions: ['>= 19.0.0'],
735
+ },
732
736
  {
733
737
  'dependency-name': '@commitlint/config-conventional',
734
738
  versions: ['>= 19.0.0'],
@@ -1266,6 +1270,7 @@ async function initCommitizen(projectPath) {
1266
1270
  devDependencies: {
1267
1271
  ...devDependencies,
1268
1272
  ...pkg === null || pkg === void 0 ? void 0 : pkg.devDependencies,
1273
+ '@commitlint/cli': '^18.6.1',
1269
1274
  '@commitlint/config-conventional': '^18.6.3',
1270
1275
  },
1271
1276
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.27.3",
3
+ "version": "1.27.4",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@ jobs:
16
16
  with:
17
17
  version: "latest"
18
18
  - name: Setup Node.js environment
19
- uses: actions/setup-node@v3
19
+ uses: actions/setup-node@v4
20
20
  with:
21
21
  node-version: "lts/*"
22
22
  cache: "pnpm"
@@ -32,7 +32,7 @@ jobs:
32
32
  **/node_modules
33
33
  key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
34
34
  restore-keys: pnpm-${{ runner.os }}
35
- - run: pnpm i --fix-lockfile
35
+ - run: pnpm i --frozen-lockfile
36
36
  - run: pnpm run lint
37
37
  - run: pnpm run build
38
38
  - env:
@@ -30,6 +30,6 @@ jobs:
30
30
  **/node_modules
31
31
  key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
32
32
  restore-keys: pnpm-${{ runner.os }}
33
- - run: pnpm i --fix-lockfile
33
+ - run: pnpm i --frozen-lockfile
34
34
  - run: pnpm run lint
35
35
  - run: pnpm run build
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- npx --no-install commitlint@18.6.1 --edit "$1"
4
+ npx --no-install commitlint --edit "$1"