cmyr-template-cli 1.27.0 → 1.27.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 +8 -3
- package/package.json +3 -3
- package/templates/.husky/commit-msg +1 -1
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/config-conventional',
|
|
734
|
+
versions: ['>= 19.0.0'],
|
|
735
|
+
},
|
|
732
736
|
];
|
|
733
737
|
fs__default["default"].writeFile(dependabotPath, yaml__default["default"].stringify(dependabot));
|
|
734
738
|
}
|
|
@@ -1100,9 +1104,9 @@ async function initHusky(projectPath) {
|
|
|
1100
1104
|
}
|
|
1101
1105
|
const keyname = `*.{${extnames.join(',')}}`;
|
|
1102
1106
|
const devDependencies = {
|
|
1103
|
-
'@commitlint/config-conventional': '
|
|
1104
|
-
husky: '^
|
|
1105
|
-
'lint-staged': '^
|
|
1107
|
+
'@commitlint/config-conventional': '18.6.3',
|
|
1108
|
+
husky: '^9.0.11',
|
|
1109
|
+
'lint-staged': '^15.2.2',
|
|
1106
1110
|
};
|
|
1107
1111
|
const pkgData = {
|
|
1108
1112
|
scripts: {
|
|
@@ -1263,6 +1267,7 @@ async function initCommitizen(projectPath) {
|
|
|
1263
1267
|
devDependencies: {
|
|
1264
1268
|
...devDependencies,
|
|
1265
1269
|
...pkg === null || pkg === void 0 ? void 0 : pkg.devDependencies,
|
|
1270
|
+
'@commitlint/config-conventional': '^18.6.3',
|
|
1266
1271
|
},
|
|
1267
1272
|
config: {
|
|
1268
1273
|
...pkg === null || pkg === void 0 ? void 0 : pkg.config,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmyr-template-cli",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.2",
|
|
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": "
|
|
50
|
-
"@typescript-eslint/parser": "
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "7.5.0",
|
|
50
|
+
"@typescript-eslint/parser": "7.5.0",
|
|
51
51
|
"commitizen": "^4.2.2",
|
|
52
52
|
"conventional-changelog-cli": "^4.0.0",
|
|
53
53
|
"conventional-changelog-cmyr-config": "^2.1.1",
|