@yarnpkg/cli 4.0.0-rc.10 → 4.0.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/boot-cli-dev.js +7 -1
  2. package/package.json +33 -33
@@ -8,8 +8,14 @@ if (fs.existsSync(pnpFile))
8
8
  // Adds TS support to Node
9
9
  require(`@yarnpkg/monorepo/scripts/setup-ts-execution`);
10
10
 
11
+ const semver = require(`semver`);
12
+
13
+ const {version} = require(`@yarnpkg/cli/package.json`);
14
+
11
15
  // Exposes the CLI version as like for the bundle
12
- global.YARN_VERSION = `${require(`@yarnpkg/cli/package.json`).version}-dev`;
16
+ global.YARN_VERSION = semver.prerelease(version) !== null
17
+ ? `${version}.dev`
18
+ : `${version}-dev`;
13
19
 
14
20
  // Inject the plugins in the runtime. With Webpack that would be through
15
21
  // val-loader which would execute pluginConfiguration.raw.js, so in Node
package/package.json CHANGED
@@ -1,37 +1,38 @@
1
1
  {
2
2
  "name": "@yarnpkg/cli",
3
- "version": "4.0.0-rc.10",
3
+ "version": "4.0.0-rc.14",
4
+ "stableVersion": "3.2.2",
4
5
  "license": "BSD-2-Clause",
5
6
  "main": "./lib/index.js",
6
7
  "dependencies": {
7
- "@yarnpkg/core": "^4.0.0-rc.10",
8
- "@yarnpkg/fslib": "^3.0.0-rc.10",
9
- "@yarnpkg/libzip": "^3.0.0-rc.10",
10
- "@yarnpkg/parsers": "^3.0.0-rc.10",
11
- "@yarnpkg/plugin-compat": "^4.0.0-rc.10",
12
- "@yarnpkg/plugin-constraints": "^4.0.0-rc.10",
13
- "@yarnpkg/plugin-dlx": "^4.0.0-rc.10",
14
- "@yarnpkg/plugin-essentials": "^4.0.0-rc.10",
15
- "@yarnpkg/plugin-exec": "^3.0.0-rc.10",
16
- "@yarnpkg/plugin-file": "^3.0.0-rc.10",
17
- "@yarnpkg/plugin-git": "^3.0.0-rc.10",
18
- "@yarnpkg/plugin-github": "^3.0.0-rc.10",
19
- "@yarnpkg/plugin-http": "^3.0.0-rc.10",
20
- "@yarnpkg/plugin-init": "^4.0.0-rc.10",
21
- "@yarnpkg/plugin-interactive-tools": "^4.0.0-rc.10",
22
- "@yarnpkg/plugin-link": "^3.0.0-rc.10",
23
- "@yarnpkg/plugin-nm": "^4.0.0-rc.10",
24
- "@yarnpkg/plugin-npm": "^3.0.0-rc.10",
25
- "@yarnpkg/plugin-npm-cli": "^4.0.0-rc.10",
26
- "@yarnpkg/plugin-pack": "^4.0.0-rc.10",
27
- "@yarnpkg/plugin-patch": "^4.0.0-rc.10",
28
- "@yarnpkg/plugin-pnp": "^4.0.0-rc.10",
29
- "@yarnpkg/plugin-pnpm": "^2.0.0-rc.10",
30
- "@yarnpkg/plugin-stage": "^4.0.0-rc.10",
31
- "@yarnpkg/plugin-typescript": "^4.0.0-rc.10",
32
- "@yarnpkg/plugin-version": "^4.0.0-rc.10",
33
- "@yarnpkg/plugin-workspace-tools": "^4.0.0-rc.10",
34
- "@yarnpkg/shell": "^4.0.0-rc.10",
8
+ "@yarnpkg/core": "^4.0.0-rc.14",
9
+ "@yarnpkg/fslib": "^3.0.0-rc.14",
10
+ "@yarnpkg/libzip": "^3.0.0-rc.14",
11
+ "@yarnpkg/parsers": "^3.0.0-rc.14",
12
+ "@yarnpkg/plugin-compat": "^4.0.0-rc.14",
13
+ "@yarnpkg/plugin-constraints": "^4.0.0-rc.14",
14
+ "@yarnpkg/plugin-dlx": "^4.0.0-rc.14",
15
+ "@yarnpkg/plugin-essentials": "^4.0.0-rc.14",
16
+ "@yarnpkg/plugin-exec": "^3.0.0-rc.14",
17
+ "@yarnpkg/plugin-file": "^3.0.0-rc.14",
18
+ "@yarnpkg/plugin-git": "^3.0.0-rc.14",
19
+ "@yarnpkg/plugin-github": "^3.0.0-rc.14",
20
+ "@yarnpkg/plugin-http": "^3.0.0-rc.14",
21
+ "@yarnpkg/plugin-init": "^4.0.0-rc.14",
22
+ "@yarnpkg/plugin-interactive-tools": "^4.0.0-rc.14",
23
+ "@yarnpkg/plugin-link": "^3.0.0-rc.14",
24
+ "@yarnpkg/plugin-nm": "^4.0.0-rc.14",
25
+ "@yarnpkg/plugin-npm": "^3.0.0-rc.14",
26
+ "@yarnpkg/plugin-npm-cli": "^4.0.0-rc.14",
27
+ "@yarnpkg/plugin-pack": "^4.0.0-rc.14",
28
+ "@yarnpkg/plugin-patch": "^4.0.0-rc.14",
29
+ "@yarnpkg/plugin-pnp": "^4.0.0-rc.14",
30
+ "@yarnpkg/plugin-pnpm": "^2.0.0-rc.14",
31
+ "@yarnpkg/plugin-stage": "^4.0.0-rc.14",
32
+ "@yarnpkg/plugin-typescript": "^4.0.0-rc.14",
33
+ "@yarnpkg/plugin-version": "^4.0.0-rc.14",
34
+ "@yarnpkg/plugin-workspace-tools": "^4.0.0-rc.14",
35
+ "@yarnpkg/shell": "^4.0.0-rc.14",
35
36
  "ci-info": "^3.2.0",
36
37
  "clipanion": "^3.2.0-rc.10",
37
38
  "semver": "^7.1.2",
@@ -40,13 +41,13 @@
40
41
  },
41
42
  "devDependencies": {
42
43
  "@types/semver": "^7.1.0",
43
- "@yarnpkg/builder": "^4.0.0-rc.10",
44
+ "@yarnpkg/builder": "^4.0.0-rc.14",
44
45
  "@yarnpkg/monorepo": "^0.0.0",
45
- "@yarnpkg/pnpify": "^4.0.0-rc.10",
46
+ "@yarnpkg/pnpify": "^4.0.0-rc.14",
46
47
  "micromatch": "^4.0.2"
47
48
  },
48
49
  "peerDependencies": {
49
- "@yarnpkg/core": "^4.0.0-rc.10"
50
+ "@yarnpkg/core": "^4.0.0-rc.14"
50
51
  },
51
52
  "scripts": {
52
53
  "postpack": "rm -rf lib",
@@ -103,6 +104,5 @@
103
104
  "engines": {
104
105
  "node": ">=14.15.0"
105
106
  },
106
- "stableVersion": "3.2.0",
107
107
  "types": "./lib/index.d.ts"
108
108
  }