Skip to content

Commit

Permalink
pnpm: use npm for tag-version-prefix
Browse files Browse the repository at this point in the history
Fixes half of #738
  • Loading branch information
mmkal committed Mar 20, 2024
1 parent da18f86 commit c457fb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/package-manager/configs.js
Expand Up @@ -17,7 +17,8 @@ export const pnpmConfig = {
installCommand: ['pnpm', ['install']],
installCommandNoLockfile: ['pnpm', ['install']],
versionCommand: version => ['pnpm', ['version', version]],
tagVersionPrefixCommand: ['pnpm', ['config', 'get', 'tag-version-prefix']],
// pnpm config doesn't have `v` as a default tag version prefix, so to get consistent default behavior, use npm.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 21

Comments should not begin with a lowercase character.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 20

Comments should not begin with a lowercase character.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 18

Comments should not begin with a lowercase character.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 21

Comments should not begin with a lowercase character.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 20

Comments should not begin with a lowercase character.

Check failure on line 20 in source/package-manager/configs.js

View workflow job for this annotation

GitHub Actions / Node.js 18

Comments should not begin with a lowercase character.
tagVersionPrefixCommand: ['npm', ['config', 'get', 'tag-version-prefix']],
getRegistryCommand: ['pnpm', ['config', 'get', 'registry']],
lockfiles: ['pnpm-lock.yaml'],
};
Expand Down

0 comments on commit c457fb3

Please sign in to comment.