oclif 4.1.1 → 4.1.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/manifest.js +1 -2
- package/lib/commands/readme.js +1 -0
- package/lib/tarballs/index.js +18 -5
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/lib/commands/manifest.js
CHANGED
|
@@ -76,8 +76,7 @@ class Manifest extends core_1.Command {
|
|
|
76
76
|
throw new Error('plugin not found');
|
|
77
77
|
await plugin.load();
|
|
78
78
|
if (!plugin.valid) {
|
|
79
|
-
const
|
|
80
|
-
const { PluginLegacy } = require(p);
|
|
79
|
+
const { PluginLegacy } = await Promise.resolve().then(() => require('@oclif/plugin-legacy'));
|
|
81
80
|
plugin = new PluginLegacy(this.config, plugin);
|
|
82
81
|
await plugin.load();
|
|
83
82
|
}
|
package/lib/commands/readme.js
CHANGED
|
@@ -156,6 +156,7 @@ Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
|
|
|
156
156
|
}
|
|
157
157
|
const config = await core_1.Config.load({ devPlugins: false, root: cwd, userPlugins: false });
|
|
158
158
|
try {
|
|
159
|
+
// eslint-disable-next-line node/no-missing-require
|
|
159
160
|
const p = require.resolve('@oclif/plugin-legacy', { paths: [cwd] });
|
|
160
161
|
const plugin = new core_1.Plugin({ root: p, type: 'core' });
|
|
161
162
|
await plugin.load();
|
package/lib/tarballs/index.js
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__exportStar(require("./node"), exports);
|
|
17
|
+
__exportStar(require("./bin"), exports);
|
|
18
|
+
__exportStar(require("./build"), exports);
|
|
19
|
+
__exportStar(require("./config"), exports);
|
|
20
|
+
__exportStar(require("./node"), exports);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oclif",
|
|
3
3
|
"description": "oclif: create your own CLI",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oclif": "bin/run.js"
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/oclif/oclif/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@oclif/core": "^3.0
|
|
12
|
-
"@oclif/plugin-help": "^
|
|
13
|
-
"@oclif/plugin-not-found": "^
|
|
14
|
-
"@oclif/plugin-warn-if-update-available": "^3.0.
|
|
11
|
+
"@oclif/core": "^3.16.0",
|
|
12
|
+
"@oclif/plugin-help": "^6.0.9",
|
|
13
|
+
"@oclif/plugin-not-found": "^3.0.7",
|
|
14
|
+
"@oclif/plugin-warn-if-update-available": "^3.0.8",
|
|
15
15
|
"async-retry": "^1.3.3",
|
|
16
16
|
"aws-sdk": "^2.1231.0",
|
|
17
17
|
"change-case": "^4",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@commitlint/config-conventional": "^17.7.0",
|
|
32
|
-
"@oclif/plugin-legacy": "^
|
|
32
|
+
"@oclif/plugin-legacy": "^2.0.4",
|
|
33
33
|
"@oclif/prettier-config": "^0.2.1",
|
|
34
34
|
"@oclif/test": "^3.1.2",
|
|
35
35
|
"@types/async-retry": "^1.4.5",
|