From 21a4d4c2c56c5f664e019d83a675c321b0596171 Mon Sep 17 00:00:00 2001 From: ruan-cat <1219043956@qq.com> Date: Sat, 12 Oct 2024 17:13:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci:=20=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96cz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpx commitizen init cz-conventional-changelog --pnpm -Dw https://juejin.cn/post/7215608036394827836 --- .npmrc | 5 ++++- package.json | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 2d63670..724814b 100644 --- a/.npmrc +++ b/.npmrc @@ -6,4 +6,7 @@ link-workspace-packages=deep # registry=https://registry.npmjs.org/ # https://blog.csdn.net/qq_41499782/article/details/128723054 -public-hoist-pattern[]=*vue* \ No newline at end of file +public-hoist-pattern[]=*vue* + +# https://juejin.cn/post/7215608036394827836 +ignore-workspace-root-check = true \ No newline at end of file diff --git a/package.json b/package.json index 94b271c..b516713 100644 --- a/package.json +++ b/package.json @@ -95,5 +95,10 @@ "@dotenvx/dotenvx": "^1.17.0", "consola": "^3.2.3", "lodash-es": "catalog:" + }, + "config": { + "commitizen": { + "path": "./node_modules/cz-conventional-changelog" + } } -} \ No newline at end of file +}