@oclif/core 2.0.2-beta.7 → 2.0.2-beta.8
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/config/config.js +2 -1
- package/lib/interfaces/parser.d.ts +1 -1
- package/lib/main.js +1 -1
- package/package.json +3 -3
package/lib/config/config.js
CHANGED
|
@@ -727,7 +727,8 @@ async function toCached(c, plugin) {
|
|
|
727
727
|
flags,
|
|
728
728
|
args,
|
|
729
729
|
};
|
|
730
|
-
|
|
730
|
+
// do not include these properties in manifest
|
|
731
|
+
const ignoreCommandProperties = ['plugin', '_flags', '_enableJsonFlag', '_globalFlags', '_baseFlags'];
|
|
731
732
|
const stdKeys = Object.keys(stdProperties);
|
|
732
733
|
const keysToAdd = Object.keys(c).filter(property => ![...stdKeys, ...ignoreCommandProperties].includes(property));
|
|
733
734
|
const additionalProperties = {};
|
package/lib/main.js
CHANGED
|
@@ -72,7 +72,7 @@ async function run(argv, options) {
|
|
|
72
72
|
// command id.
|
|
73
73
|
if (config.pjson.oclif.default === '.' && id === '.' && argv[0] === '.')
|
|
74
74
|
argvSlice = ['.', ...argvSlice];
|
|
75
|
-
|
|
75
|
+
return config.runCommand(id, argvSlice, cmd);
|
|
76
76
|
}
|
|
77
77
|
exports.run = run;
|
|
78
78
|
function getTsConfigPath(dir, type) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/core",
|
|
3
3
|
"description": "base library for oclif CLIs",
|
|
4
|
-
"version": "2.0.2-beta.
|
|
4
|
+
"version": "2.0.2-beta.8",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/core/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@commitlint/config-conventional": "^12.1.4",
|
|
39
39
|
"@oclif/plugin-help": "^5.1.22",
|
|
40
40
|
"@oclif/plugin-plugins": "^2.1.12",
|
|
41
|
-
"@oclif/test": "^2.2.
|
|
41
|
+
"@oclif/test": "^2.2.20",
|
|
42
42
|
"@types/ansi-styles": "^3.2.1",
|
|
43
43
|
"@types/chai": "^4.3.4",
|
|
44
44
|
"@types/chai-as-promised": "^7.1.5",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"globby": "^11.1.0",
|
|
69
69
|
"husky": "6",
|
|
70
70
|
"mocha": "^8.4.0",
|
|
71
|
-
"nock": "^13.
|
|
71
|
+
"nock": "^13.3.0",
|
|
72
72
|
"proxyquire": "^2.1.3",
|
|
73
73
|
"shelljs": "^0.8.5",
|
|
74
74
|
"shx": "^0.3.4",
|