@yarnpkg/cli 4.0.0-rc.4 → 4.0.0-rc.40
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.
package/lib/boot-cli-dev.js
CHANGED
|
@@ -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 =
|
|
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
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getPluginConfiguration = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
// @ts-expect-error
|
|
6
5
|
const package_json_1 = tslib_1.__importDefault(require("@yarnpkg/cli/package.json"));
|
|
7
6
|
const getDynamicLibs_1 = require("./getDynamicLibs");
|
|
8
7
|
function getPluginConfiguration() {
|
package/package.json
CHANGED
|
@@ -1,52 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/cli",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.40",
|
|
4
|
+
"stableVersion": "3.4.1",
|
|
4
5
|
"license": "BSD-2-Clause",
|
|
5
6
|
"main": "./lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./package.json": "./package.json"
|
|
10
|
+
},
|
|
6
11
|
"dependencies": {
|
|
7
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
8
|
-
"@yarnpkg/fslib": "^3.0.0-rc.
|
|
9
|
-
"@yarnpkg/libzip": "^3.0.0-rc.
|
|
10
|
-
"@yarnpkg/parsers": "^3.0.0-rc.
|
|
11
|
-
"@yarnpkg/plugin-compat": "^4.0.0-rc.
|
|
12
|
-
"@yarnpkg/plugin-constraints": "^4.0.0-rc.
|
|
13
|
-
"@yarnpkg/plugin-dlx": "^4.0.0-rc.
|
|
14
|
-
"@yarnpkg/plugin-essentials": "^4.0.0-rc.
|
|
15
|
-
"@yarnpkg/plugin-exec": "^3.0.0-rc.
|
|
16
|
-
"@yarnpkg/plugin-file": "^3.0.0-rc.
|
|
17
|
-
"@yarnpkg/plugin-git": "^3.0.0-rc.
|
|
18
|
-
"@yarnpkg/plugin-github": "^3.0.0-rc.
|
|
19
|
-
"@yarnpkg/plugin-http": "^3.0.0-rc.
|
|
20
|
-
"@yarnpkg/plugin-init": "^4.0.0-rc.
|
|
21
|
-
"@yarnpkg/plugin-interactive-tools": "^4.0.0-rc.
|
|
22
|
-
"@yarnpkg/plugin-link": "^3.0.0-rc.
|
|
23
|
-
"@yarnpkg/plugin-nm": "^4.0.0-rc.
|
|
24
|
-
"@yarnpkg/plugin-npm": "^3.0.0-rc.
|
|
25
|
-
"@yarnpkg/plugin-npm-cli": "^4.0.0-rc.
|
|
26
|
-
"@yarnpkg/plugin-pack": "^4.0.0-rc.
|
|
27
|
-
"@yarnpkg/plugin-patch": "^4.0.0-rc.
|
|
28
|
-
"@yarnpkg/plugin-pnp": "^4.0.0-rc.
|
|
29
|
-
"@yarnpkg/plugin-pnpm": "^2.0.0-rc.
|
|
30
|
-
"@yarnpkg/plugin-stage": "^4.0.0-rc.
|
|
31
|
-
"@yarnpkg/plugin-typescript": "^4.0.0-rc.
|
|
32
|
-
"@yarnpkg/plugin-version": "^4.0.0-rc.
|
|
33
|
-
"@yarnpkg/plugin-workspace-tools": "^4.0.0-rc.
|
|
34
|
-
"@yarnpkg/shell": "^4.0.0-rc.
|
|
12
|
+
"@yarnpkg/core": "^4.0.0-rc.40",
|
|
13
|
+
"@yarnpkg/fslib": "^3.0.0-rc.40",
|
|
14
|
+
"@yarnpkg/libzip": "^3.0.0-rc.40",
|
|
15
|
+
"@yarnpkg/parsers": "^3.0.0-rc.40",
|
|
16
|
+
"@yarnpkg/plugin-compat": "^4.0.0-rc.40",
|
|
17
|
+
"@yarnpkg/plugin-constraints": "^4.0.0-rc.40",
|
|
18
|
+
"@yarnpkg/plugin-dlx": "^4.0.0-rc.40",
|
|
19
|
+
"@yarnpkg/plugin-essentials": "^4.0.0-rc.40",
|
|
20
|
+
"@yarnpkg/plugin-exec": "^3.0.0-rc.40",
|
|
21
|
+
"@yarnpkg/plugin-file": "^3.0.0-rc.40",
|
|
22
|
+
"@yarnpkg/plugin-git": "^3.0.0-rc.40",
|
|
23
|
+
"@yarnpkg/plugin-github": "^3.0.0-rc.40",
|
|
24
|
+
"@yarnpkg/plugin-http": "^3.0.0-rc.40",
|
|
25
|
+
"@yarnpkg/plugin-init": "^4.0.0-rc.40",
|
|
26
|
+
"@yarnpkg/plugin-interactive-tools": "^4.0.0-rc.40",
|
|
27
|
+
"@yarnpkg/plugin-link": "^3.0.0-rc.40",
|
|
28
|
+
"@yarnpkg/plugin-nm": "^4.0.0-rc.40",
|
|
29
|
+
"@yarnpkg/plugin-npm": "^3.0.0-rc.40",
|
|
30
|
+
"@yarnpkg/plugin-npm-cli": "^4.0.0-rc.40",
|
|
31
|
+
"@yarnpkg/plugin-pack": "^4.0.0-rc.40",
|
|
32
|
+
"@yarnpkg/plugin-patch": "^4.0.0-rc.40",
|
|
33
|
+
"@yarnpkg/plugin-pnp": "^4.0.0-rc.40",
|
|
34
|
+
"@yarnpkg/plugin-pnpm": "^2.0.0-rc.40",
|
|
35
|
+
"@yarnpkg/plugin-stage": "^4.0.0-rc.40",
|
|
36
|
+
"@yarnpkg/plugin-typescript": "^4.0.0-rc.40",
|
|
37
|
+
"@yarnpkg/plugin-version": "^4.0.0-rc.40",
|
|
38
|
+
"@yarnpkg/plugin-workspace-tools": "^4.0.0-rc.40",
|
|
39
|
+
"@yarnpkg/shell": "^4.0.0-rc.40",
|
|
35
40
|
"ci-info": "^3.2.0",
|
|
36
41
|
"clipanion": "^3.2.0-rc.10",
|
|
37
42
|
"semver": "^7.1.2",
|
|
38
|
-
"tslib": "^
|
|
43
|
+
"tslib": "^2.4.0",
|
|
39
44
|
"typanion": "^3.3.0"
|
|
40
45
|
},
|
|
41
46
|
"devDependencies": {
|
|
42
47
|
"@types/semver": "^7.1.0",
|
|
43
|
-
"@yarnpkg/builder": "^4.0.0-rc.
|
|
48
|
+
"@yarnpkg/builder": "^4.0.0-rc.40",
|
|
44
49
|
"@yarnpkg/monorepo": "^0.0.0",
|
|
45
|
-
"@yarnpkg/pnpify": "^4.0.0-rc.
|
|
50
|
+
"@yarnpkg/pnpify": "^4.0.0-rc.40",
|
|
46
51
|
"micromatch": "^4.0.2"
|
|
47
52
|
},
|
|
48
53
|
"peerDependencies": {
|
|
49
|
-
"@yarnpkg/core": "^4.0.0-rc.
|
|
54
|
+
"@yarnpkg/core": "^4.0.0-rc.40"
|
|
50
55
|
},
|
|
51
56
|
"scripts": {
|
|
52
57
|
"postpack": "rm -rf lib",
|
|
@@ -58,8 +63,11 @@
|
|
|
58
63
|
},
|
|
59
64
|
"publishConfig": {
|
|
60
65
|
"main": "./lib/index.js",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
66
|
+
"bin": null,
|
|
67
|
+
"exports": {
|
|
68
|
+
".": "./lib/index.js",
|
|
69
|
+
"./package.json": "./package.json"
|
|
70
|
+
}
|
|
63
71
|
},
|
|
64
72
|
"files": [
|
|
65
73
|
"/lib/**/*",
|
|
@@ -102,7 +110,5 @@
|
|
|
102
110
|
},
|
|
103
111
|
"engines": {
|
|
104
112
|
"node": ">=14.15.0"
|
|
105
|
-
}
|
|
106
|
-
"stableVersion": "3.2.0",
|
|
107
|
-
"types": "./lib/index.d.ts"
|
|
113
|
+
}
|
|
108
114
|
}
|