oclif 4.5.1 → 4.5.3
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/readme.js +0 -1
- package/lib/tarballs/build.js +4 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -8
package/lib/commands/readme.js
CHANGED
|
@@ -209,7 +209,6 @@ Customize the code URL prefix by setting oclif.repositoryPrefix in package.json.
|
|
|
209
209
|
userPlugins: false,
|
|
210
210
|
});
|
|
211
211
|
try {
|
|
212
|
-
// eslint-disable-next-line node/no-missing-require
|
|
213
212
|
const p = require.resolve('@oclif/plugin-legacy', { paths: [this.flags['plugin-directory']] });
|
|
214
213
|
const plugin = new core_1.Plugin({ root: p, type: 'core' });
|
|
215
214
|
await plugin.load();
|
package/lib/tarballs/build.js
CHANGED
|
@@ -95,7 +95,10 @@ async function build(c, options = {}) {
|
|
|
95
95
|
await (0, fs_extra_1.emptyDir)(c.workspace());
|
|
96
96
|
const tarballNewLocation = path.join(c.workspace(), path.basename(tarball));
|
|
97
97
|
await (0, fs_extra_1.move)(tarball, tarballNewLocation);
|
|
98
|
-
|
|
98
|
+
let tarCommand = `tar -xzf "${tarballNewLocation}"`;
|
|
99
|
+
if (process.platform === 'win32')
|
|
100
|
+
tarCommand += ' --force-local';
|
|
101
|
+
await exec(tarCommand, { cwd: c.workspace() });
|
|
99
102
|
const files = await (0, promises_1.readdir)(path.join(c.workspace(), 'package'), { withFileTypes: true });
|
|
100
103
|
await Promise.all(files.map((i) => (0, fs_extra_1.move)(path.join(c.workspace(), 'package', i.name), path.join(c.workspace(), i.name))));
|
|
101
104
|
await Promise.all([
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oclif",
|
|
3
3
|
"description": "oclif: create your own CLI",
|
|
4
|
-
"version": "4.5.
|
|
4
|
+
"version": "4.5.3",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"oclif": "bin/run.js"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@aws-sdk/client-s3": "^3.515.0",
|
|
13
13
|
"@oclif/core": "^3.21.0",
|
|
14
14
|
"@oclif/plugin-help": "^6.0.14",
|
|
15
|
-
"@oclif/plugin-not-found": "^3.0.
|
|
15
|
+
"@oclif/plugin-not-found": "^3.0.14",
|
|
16
16
|
"@oclif/plugin-warn-if-update-available": "^3.0.12",
|
|
17
17
|
"async-retry": "^1.3.3",
|
|
18
18
|
"change-case": "^4",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@commitlint/config-conventional": "^18",
|
|
34
34
|
"@oclif/plugin-legacy": "^2.0.7",
|
|
35
35
|
"@oclif/prettier-config": "^0.2.1",
|
|
36
|
-
"@oclif/test": "^3.1
|
|
36
|
+
"@oclif/test": "^3.2.1",
|
|
37
37
|
"@types/async-retry": "^1.4.5",
|
|
38
38
|
"@types/chai": "^4.3.4",
|
|
39
39
|
"@types/cli-progress": "^3.11.0",
|
|
@@ -42,18 +42,17 @@
|
|
|
42
42
|
"@types/lodash.template": "^4.5.0",
|
|
43
43
|
"@types/mocha": "^10.0.2",
|
|
44
44
|
"@types/node": "^18",
|
|
45
|
-
"@types/semver": "^7.5.
|
|
45
|
+
"@types/semver": "^7.5.8",
|
|
46
46
|
"@types/shelljs": "^0.8.11",
|
|
47
47
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
48
48
|
"@types/yeoman-generator": "^5.2.11",
|
|
49
49
|
"chai": "^4.4.1",
|
|
50
50
|
"commitlint": "^18",
|
|
51
51
|
"eslint": "^8.57.0",
|
|
52
|
-
"eslint-config-oclif": "^5.0
|
|
53
|
-
"eslint-config-oclif-typescript": "^3.0
|
|
52
|
+
"eslint-config-oclif": "^5.1.0",
|
|
53
|
+
"eslint-config-oclif-typescript": "^3.1.0",
|
|
54
54
|
"eslint-config-prettier": "^9.0.0",
|
|
55
|
-
"eslint-plugin-perfectionist": "^2.
|
|
56
|
-
"fancy-test": "^3.0.11",
|
|
55
|
+
"eslint-plugin-perfectionist": "^2.6.0",
|
|
57
56
|
"husky": "^9",
|
|
58
57
|
"lint-staged": "^15",
|
|
59
58
|
"lodash.clonedeep": "^4.5.0",
|