oclif 4.5.2 → 4.5.4
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/README.md +20 -22
- package/lib/commands/readme.js +0 -1
- package/oclif.manifest.json +1 -1
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -7,20 +7,19 @@
|
|
|
7
7
|
[](https://github.com/oclif/oclif/blob/main/package.json)
|
|
8
8
|
|
|
9
9
|
<!-- toc -->
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- [📣 Feedback](#-feedback)
|
|
10
|
+
* [oclif: Node.JS Open CLI Framework](#oclif-nodejs-open-cli-framework)
|
|
11
|
+
* [🗒 Description](#-description)
|
|
12
|
+
* [🚀 Getting Started Tutorial](#-getting-started-tutorial)
|
|
13
|
+
* [✨ Features](#-features)
|
|
14
|
+
* [📌 Requirements](#-requirements)
|
|
15
|
+
* [📌 Migrating from V1](#-migrating-from-v1)
|
|
16
|
+
* [🏗 Usage](#-usage)
|
|
17
|
+
* [📚 Examples](#-examples)
|
|
18
|
+
* [🔨 Commands](#-commands)
|
|
19
|
+
* [Command Topics](#command-topics)
|
|
20
|
+
* [🏭 Related Repositories](#-related-repositories)
|
|
21
|
+
* [🦔 Learn More](#-learn-more)
|
|
22
|
+
* [📣 Feedback](#-feedback)
|
|
24
23
|
<!-- tocstop -->
|
|
25
24
|
|
|
26
25
|
# 🗒 Description
|
|
@@ -112,16 +111,15 @@ hello world! (./src/commands/hello/world.ts)
|
|
|
112
111
|
# 🔨 Commands
|
|
113
112
|
|
|
114
113
|
<!-- commands -->
|
|
115
|
-
|
|
116
114
|
# Command Topics
|
|
117
115
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
* [`oclif generate`](docs/generate.md) - generate a new CLI
|
|
117
|
+
* [`oclif help`](docs/help.md) - Display help for oclif.
|
|
118
|
+
* [`oclif manifest`](docs/manifest.md) - generates plugin manifest json
|
|
119
|
+
* [`oclif pack`](docs/pack.md) - package an oclif CLI into installable artifacts
|
|
120
|
+
* [`oclif promote`](docs/promote.md) - promote CLI builds to a S3 release channel
|
|
121
|
+
* [`oclif readme`](docs/readme.md) - adds commands to README.md in current directory
|
|
122
|
+
* [`oclif upload`](docs/upload.md) - upload installable CLI artifacts to AWS S3
|
|
125
123
|
|
|
126
124
|
<!-- commandsstop -->
|
|
127
125
|
|
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/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.4",
|
|
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",
|
|
@@ -128,7 +127,7 @@
|
|
|
128
127
|
"lint": "eslint . --ext .ts",
|
|
129
128
|
"postpack": "shx rm oclif.manifest.json",
|
|
130
129
|
"posttest": "yarn run lint",
|
|
131
|
-
"prepack": "
|
|
130
|
+
"prepack": "yarn build && bin/run.js manifest && bin/run.js readme --multi",
|
|
132
131
|
"prepare": "husky",
|
|
133
132
|
"test:integration:cli": "mocha test/integration/cli.test.ts --timeout 600000",
|
|
134
133
|
"test:integration:deb": "mocha test/integration/deb.test.ts --timeout 900000",
|