@yarnpkg/plugin-essentials 4.3.1 → 4.3.2
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/commands/config.js
CHANGED
|
@@ -54,6 +54,8 @@ class ConfigCommand extends cli_1.BaseCommand {
|
|
|
54
54
|
}
|
|
55
55
|
if (this.json) {
|
|
56
56
|
for (const name of names) {
|
|
57
|
+
if (this.noDefaults && !configuration.sources.has(name))
|
|
58
|
+
continue;
|
|
57
59
|
const data = configuration.settings.get(name);
|
|
58
60
|
if (typeof data === `undefined`)
|
|
59
61
|
report.reportError(core_1.MessageName.INVALID_CONFIGURATION_KEY, `No configuration key named "${name}"`);
|
|
@@ -46,7 +46,7 @@ SetResolutionCommand.usage = clipanion_1.Command.Usage({
|
|
|
46
46
|
`,
|
|
47
47
|
examples: [[
|
|
48
48
|
`Force all instances of lodash@npm:^1.2.3 to resolve to 1.5.0`,
|
|
49
|
-
`$0 set resolution lodash@npm:^1.2.3 1.5.0`,
|
|
49
|
+
`$0 set resolution lodash@npm:^1.2.3 npm:1.5.0`,
|
|
50
50
|
]],
|
|
51
51
|
});
|
|
52
52
|
exports.default = SetResolutionCommand;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarnpkg/plugin-essentials",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"license": "BSD-2-Clause",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"typanion": "^3.14.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@yarnpkg/cli": "^4.
|
|
24
|
-
"@yarnpkg/core": "^4.
|
|
23
|
+
"@yarnpkg/cli": "^4.8.0",
|
|
24
|
+
"@yarnpkg/core": "^4.3.0",
|
|
25
25
|
"@yarnpkg/plugin-git": "^3.1.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/lodash": "^4.14.136",
|
|
29
29
|
"@types/micromatch": "^4.0.1",
|
|
30
30
|
"@types/semver": "^7.1.0",
|
|
31
|
-
"@yarnpkg/cli": "^4.
|
|
32
|
-
"@yarnpkg/core": "^4.
|
|
31
|
+
"@yarnpkg/cli": "^4.8.0",
|
|
32
|
+
"@yarnpkg/core": "^4.3.0",
|
|
33
33
|
"@yarnpkg/plugin-git": "^3.1.1"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|