Skip to content

Commit

Permalink
fix(cli): correct the cli's dev version to match semver spec
Browse files Browse the repository at this point in the history
  • Loading branch information
edvardchen committed May 16, 2022
1 parent 15c481d commit 067cbe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .yarn/versions/fecc5928.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declined:
- "@yarnpkg/cli"
2 changes: 1 addition & 1 deletion packages/yarnpkg-cli/sources/boot-cli-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (fs.existsSync(pnpFile))
require(`@yarnpkg/monorepo/scripts/setup-ts-execution`);

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

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

0 comments on commit 067cbe0

Please sign in to comment.