Skip to content

Commit

Permalink
fix(other): 修复release-it拷贝文件错误
Browse files Browse the repository at this point in the history
  • Loading branch information
v_jpch committed Aug 11, 2023
1 parent ad1a146 commit 124e3a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/create-husky/index.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
#!/usr/bin/env node
import prompts from "prompts";
import beautify from "js-beautify";
import { red, cyan, green } from "kolorist";
Expand Down Expand Up @@ -36,7 +36,7 @@ const projectDirectory = cwd(), // 项目目录
releaseItFileTemplateDir = resolve(
fileURLToPath(import.meta.url),
"../src/template",
".cz-config.js"
".release-it.json"
),
needDependencies = ["eslint", "prettier", "stylelint"], // pak包中需包含的依赖
// 命令枚举
Expand Down
2 changes: 1 addition & 1 deletion packages/create-husky/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mr.mikey/create-husky",
"version": "1.0.11",
"version": "1.1.1",
"description": "自动为项目工程生成husky及git hook等配置,会创建commitlint对提交信息进行规范限制(angular commit规范)、汉化commitizen配置、lint-staged仅对commit文件做lint校验。",
"author": "JP.Chen",
"license": "MIT",
Expand Down

0 comments on commit 124e3a0

Please sign in to comment.