cmyr-template-cli 1.7.1 → 1.7.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/index.js CHANGED
@@ -13,7 +13,7 @@ var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
13
13
 
14
14
  const program = new commander.Command('ct')
15
15
  .description('草梅项目创建器');
16
- program.version("1.7.0" , '-v, --version');
16
+ program.version("1.7.1" , '-v, --version');
17
17
  const args = process.argv.slice(2);
18
18
  if (args.length === 0) {
19
19
  args.push('create');
package/dist/plopfile.js CHANGED
@@ -530,6 +530,7 @@ async function initHusky(projectPath, projectInfos) {
530
530
  scripts: {
531
531
  commit: 'cz',
532
532
  ...pkg === null || pkg === void 0 ? void 0 : pkg.scripts,
533
+ prepare: 'husky install',
533
534
  },
534
535
  devDependencies: {
535
536
  ...devDependencies,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",