@yarnpkg/cli 4.1.1 → 4.2.1
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/lib.d.ts +0 -1
- package/lib/lib.js +2 -3
- package/lib/tools/getPluginConfiguration.js +1 -2
- package/lib/tools/openWorkspace.js +1 -2
- package/package.json +11 -11
package/lib/lib.d.ts
CHANGED
package/lib/lib.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getCli = getCli;
|
|
4
|
+
exports.runExit = runExit;
|
|
4
5
|
const core_1 = require("@yarnpkg/core");
|
|
5
6
|
const fslib_1 = require("@yarnpkg/fslib");
|
|
6
7
|
const child_process_1 = require("child_process");
|
|
@@ -147,7 +148,6 @@ async function getCli({ cwd = fslib_1.ppath.cwd(), pluginConfiguration = (0, get
|
|
|
147
148
|
initCommands(cli, { configuration });
|
|
148
149
|
return cli;
|
|
149
150
|
}
|
|
150
|
-
exports.getCli = getCli;
|
|
151
151
|
async function runExit(argv, { cwd = fslib_1.ppath.cwd(), selfPath, pluginConfiguration }) {
|
|
152
152
|
const cli = getBaseCli({ cwd, pluginConfiguration });
|
|
153
153
|
try {
|
|
@@ -161,4 +161,3 @@ async function runExit(argv, { cwd = fslib_1.ppath.cwd(), selfPath, pluginConfig
|
|
|
161
161
|
await fslib_1.xfs.rmtempPromise();
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
exports.runExit = runExit;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPluginConfiguration =
|
|
3
|
+
exports.getPluginConfiguration = getPluginConfiguration;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("@yarnpkg/cli/package.json"));
|
|
6
6
|
const getDynamicLibs_1 = require("./getDynamicLibs");
|
|
@@ -13,4 +13,3 @@ function getPluginConfiguration() {
|
|
|
13
13
|
modules.set(plugin, require(plugin).default);
|
|
14
14
|
return { plugins, modules };
|
|
15
15
|
}
|
|
16
|
-
exports.getPluginConfiguration = getPluginConfiguration;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.openWorkspace =
|
|
3
|
+
exports.openWorkspace = openWorkspace;
|
|
4
4
|
const core_1 = require("@yarnpkg/core");
|
|
5
5
|
const WorkspaceRequiredError_1 = require("./WorkspaceRequiredError");
|
|
6
6
|
async function openWorkspace(configuration, cwd) {
|
|
@@ -9,4 +9,3 @@ async function openWorkspace(configuration, cwd) {
|
|
|
9
9
|
throw new WorkspaceRequiredError_1.WorkspaceRequiredError(project.cwd, cwd);
|
|
10
10
|
return workspace;
|
|
11
11
|
}
|
|
12
|
-
exports.openWorkspace = openWorkspace;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"./package.json": "./package.json"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@yarnpkg/core": "^4.0.
|
|
11
|
+
"@yarnpkg/core": "^4.0.5",
|
|
12
12
|
"@yarnpkg/fslib": "^3.0.2",
|
|
13
13
|
"@yarnpkg/libzip": "^3.0.1",
|
|
14
|
-
"@yarnpkg/parsers": "^3.0.
|
|
15
|
-
"@yarnpkg/plugin-compat": "^4.0.
|
|
14
|
+
"@yarnpkg/parsers": "^3.0.2",
|
|
15
|
+
"@yarnpkg/plugin-compat": "^4.0.5",
|
|
16
16
|
"@yarnpkg/plugin-constraints": "^4.0.2",
|
|
17
17
|
"@yarnpkg/plugin-dlx": "^4.0.0",
|
|
18
18
|
"@yarnpkg/plugin-essentials": "^4.1.1",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@yarnpkg/plugin-link": "^3.0.0",
|
|
27
27
|
"@yarnpkg/plugin-nm": "^4.0.2",
|
|
28
28
|
"@yarnpkg/plugin-npm": "^3.0.1",
|
|
29
|
-
"@yarnpkg/plugin-npm-cli": "^4.0.
|
|
29
|
+
"@yarnpkg/plugin-npm-cli": "^4.0.4",
|
|
30
30
|
"@yarnpkg/plugin-pack": "^4.0.0",
|
|
31
31
|
"@yarnpkg/plugin-patch": "^4.0.1",
|
|
32
|
-
"@yarnpkg/plugin-pnp": "^4.0.
|
|
32
|
+
"@yarnpkg/plugin-pnp": "^4.0.4",
|
|
33
33
|
"@yarnpkg/plugin-pnpm": "^2.0.0",
|
|
34
34
|
"@yarnpkg/plugin-stage": "^4.0.0",
|
|
35
|
-
"@yarnpkg/plugin-typescript": "^4.
|
|
36
|
-
"@yarnpkg/plugin-version": "^4.0.
|
|
35
|
+
"@yarnpkg/plugin-typescript": "^4.1.1",
|
|
36
|
+
"@yarnpkg/plugin-version": "^4.0.3",
|
|
37
37
|
"@yarnpkg/plugin-workspace-tools": "^4.1.0",
|
|
38
|
-
"@yarnpkg/shell": "^4.0.
|
|
38
|
+
"@yarnpkg/shell": "^4.0.2",
|
|
39
39
|
"ci-info": "^3.2.0",
|
|
40
40
|
"clipanion": "^4.0.0-rc.2",
|
|
41
41
|
"semver": "^7.1.2",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/semver": "^7.1.0",
|
|
47
|
-
"@yarnpkg/builder": "^4.
|
|
47
|
+
"@yarnpkg/builder": "^4.1.1",
|
|
48
48
|
"@yarnpkg/monorepo": "^0.0.0",
|
|
49
49
|
"@yarnpkg/pnpify": "^4.0.1"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@yarnpkg/core": "^4.0.
|
|
52
|
+
"@yarnpkg/core": "^4.0.5"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"postpack": "rm -rf lib",
|