Skip to content

Commit bbec6b6

Browse files
edvardchenmerceyz
authored andcommitted
fix(cli): correct the cli's dev version to match semver spec (#4458)
1 parent 90999a0 commit bbec6b6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.yarn/versions/fecc5928.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declined:
2+
- "@yarnpkg/cli"

packages/yarnpkg-cli/sources/boot-cli-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (fs.existsSync(pnpFile))
99
require(`@yarnpkg/monorepo/scripts/setup-ts-execution`);
1010

1111
// Exposes the CLI version as like for the bundle
12-
global.YARN_VERSION = `${require(`@yarnpkg/cli/package.json`).version}.dev`;
12+
global.YARN_VERSION = `${require(`@yarnpkg/cli/package.json`).version}-dev`;
1313

1414
// Inject the plugins in the runtime. With Webpack that would be through
1515
// val-loader which would execute pluginConfiguration.raw.js, so in Node

0 commit comments

Comments
 (0)