From 2e57fd02a5fd2b2dcf89d3235a6956edaeaf672c Mon Sep 17 00:00:00 2001 From: Eugene Date: Wed, 1 Feb 2023 06:26:55 +0300 Subject: [PATCH 1/3] ci(build.yml): add pnpm installation to azure pipeline (#966) I used this https://pnpm.io/continuous-integration#azure-pipelines snippet from official site. --- jobs/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jobs/build.yml b/jobs/build.yml index 3dfdda13..bdc0cd33 100644 --- a/jobs/build.yml +++ b/jobs/build.yml @@ -24,6 +24,10 @@ jobs: versionSpec: $(node_version) - script: git config --global user.email "example@example.com" - script: git config --global user.name "Example Git User" + - script: | + curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@6 + pnpm config set store-dir $(pnpm_config_cache) + displayName: "Setup pnpm" - script: npm install - script: npm run build - script: npm test && npm run write-coverage @@ -42,4 +46,4 @@ jobs: displayName: Publish packages condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false)) inputs: - pathtoPublish: '$(Build.ArtifactStagingDirectory)' \ No newline at end of file + pathtoPublish: '$(Build.ArtifactStagingDirectory)' From 28d96ef98d702dc48c7a19d44dce710ab80911ba Mon Sep 17 00:00:00 2001 From: Tal Rofe <100444463+tal-rofe@users.noreply.github.com> Date: Mon, 18 Dec 2023 00:40:53 +0700 Subject: [PATCH 2/3] docs(readme): add adapter (#972) Co-authored-by: tal-rofe --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e0c0a41e..bb39e2e7 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,7 @@ We know that every project and build process has different requirements, so we'v - [cz-format-extension](https://github.com/tyankatsu0105/cz-format-extension) - [cz-emoji-conventional](https://www.npmjs.com/package/cz-emoji-conventional) - [cz-git](https://github.com/Zhengqbbb/cz-git) +- [cz-vinyl](https://github.com/Exlint/cz-vinyl) To create an adapter, just fork one of these great adapters and modify it to suit your needs. We pass you an instance of [Inquirer.js](https://github.com/SBoudrias/Inquirer.js/), but you can capture input using whatever means necessary. Just call the `commit` callback with a string and we'll be happy. Publish it to npm, and you'll be all set! From 3ce8dd5a87f58f9ae8be5d4d8db8278bebd3181a Mon Sep 17 00:00:00 2001 From: Jim Cummins Date: Thu, 26 Sep 2024 23:18:15 -0500 Subject: [PATCH 3/3] fix: Close process after retry commit. Closes #974 (#1001) --- src/cli/strategies/git-cz.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/strategies/git-cz.js b/src/cli/strategies/git-cz.js index 059c5f33..3cdf9348 100644 --- a/src/cli/strategies/git-cz.js +++ b/src/cli/strategies/git-cz.js @@ -67,6 +67,7 @@ function gitCz (rawGitArgs, environment, adapterConfig) { if (error) { throw error; } + process.exit(0); }); }, shouldStageAllFiles);