@oclif/plugin-test-esm-1 0.7.0 → 0.7.1
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 +66 -30
- package/oclif.manifest.json +45 -27
- package/package.json +5 -6
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-esm-1
|
|
|
18
18
|
$ esm1 COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ esm1 (--version)
|
|
21
|
-
@oclif/plugin-test-esm-1/0.7.
|
|
21
|
+
@oclif/plugin-test-esm-1/0.7.1 linux-x64 node-v20.11.1
|
|
22
22
|
$ esm1 --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ esm1 COMMAND
|
|
@@ -35,6 +35,7 @@ USAGE
|
|
|
35
35
|
* [`esm1 plugins:install PLUGIN...`](#esm1-pluginsinstall-plugin-1)
|
|
36
36
|
* [`esm1 plugins:link PLUGIN`](#esm1-pluginslink-plugin)
|
|
37
37
|
* [`esm1 plugins:uninstall PLUGIN...`](#esm1-pluginsuninstall-plugin)
|
|
38
|
+
* [`esm1 plugins reset`](#esm1-plugins-reset)
|
|
38
39
|
* [`esm1 plugins:uninstall PLUGIN...`](#esm1-pluginsuninstall-plugin-1)
|
|
39
40
|
* [`esm1 plugins:uninstall PLUGIN...`](#esm1-pluginsuninstall-plugin-2)
|
|
40
41
|
* [`esm1 plugins update`](#esm1-plugins-update)
|
|
@@ -43,16 +44,19 @@ USAGE
|
|
|
43
44
|
|
|
44
45
|
```
|
|
45
46
|
USAGE
|
|
46
|
-
$ esm1 esm1 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--optionalString <value>]
|
|
47
|
-
<value>] [--defaultFnString <value>]
|
|
47
|
+
$ esm1 esm1 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG] [--json] [--optionalString <value>]
|
|
48
|
+
[--defaultString <value>] [--defaultFnString <value>]
|
|
48
49
|
|
|
49
50
|
FLAGS
|
|
50
51
|
--defaultFnString=<value> [default: async fn default]
|
|
51
52
|
--defaultString=<value> [default: simple string default]
|
|
52
53
|
--optionalString=<value>
|
|
54
|
+
|
|
55
|
+
GLOBAL FLAGS
|
|
56
|
+
--json Format output as json.
|
|
53
57
|
```
|
|
54
58
|
|
|
55
|
-
_See code: [src/commands/esm1.ts](https://github.com/oclif/plugin-test-esm-1/blob/v0.7.
|
|
59
|
+
_See code: [src/commands/esm1.ts](https://github.com/oclif/plugin-test-esm-1/blob/v0.7.1/src/commands/esm1.ts)_
|
|
56
60
|
|
|
57
61
|
## `esm1 help [COMMANDS]`
|
|
58
62
|
|
|
@@ -72,7 +76,7 @@ DESCRIPTION
|
|
|
72
76
|
Display help for esm1.
|
|
73
77
|
```
|
|
74
78
|
|
|
75
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/
|
|
79
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.14/src/commands/help.ts)_
|
|
76
80
|
|
|
77
81
|
## `esm1 plugins`
|
|
78
82
|
|
|
@@ -95,7 +99,7 @@ EXAMPLES
|
|
|
95
99
|
$ esm1 plugins
|
|
96
100
|
```
|
|
97
101
|
|
|
98
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
102
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/index.ts)_
|
|
99
103
|
|
|
100
104
|
## `esm1 plugins:install PLUGIN...`
|
|
101
105
|
|
|
@@ -103,7 +107,7 @@ Installs a plugin into the CLI.
|
|
|
103
107
|
|
|
104
108
|
```
|
|
105
109
|
USAGE
|
|
106
|
-
$ esm1 plugins:install PLUGIN...
|
|
110
|
+
$ esm1 plugins add plugins:install PLUGIN...
|
|
107
111
|
|
|
108
112
|
ARGUMENTS
|
|
109
113
|
PLUGIN Plugin to install.
|
|
@@ -111,7 +115,11 @@ ARGUMENTS
|
|
|
111
115
|
FLAGS
|
|
112
116
|
-f, --force Run yarn install with force flag.
|
|
113
117
|
-h, --help Show CLI help.
|
|
114
|
-
-
|
|
118
|
+
-s, --silent Silences yarn output.
|
|
119
|
+
-v, --verbose Show verbose yarn output.
|
|
120
|
+
|
|
121
|
+
GLOBAL FLAGS
|
|
122
|
+
--json Format output as json.
|
|
115
123
|
|
|
116
124
|
DESCRIPTION
|
|
117
125
|
Installs a plugin into the CLI.
|
|
@@ -128,11 +136,11 @@ ALIASES
|
|
|
128
136
|
$ esm1 plugins add
|
|
129
137
|
|
|
130
138
|
EXAMPLES
|
|
131
|
-
$ esm1 plugins
|
|
139
|
+
$ esm1 plugins add myplugin
|
|
132
140
|
|
|
133
|
-
$ esm1 plugins
|
|
141
|
+
$ esm1 plugins add https://github.com/someuser/someplugin
|
|
134
142
|
|
|
135
|
-
$ esm1 plugins
|
|
143
|
+
$ esm1 plugins add someuser/someplugin
|
|
136
144
|
```
|
|
137
145
|
|
|
138
146
|
## `esm1 plugins:inspect PLUGIN...`
|
|
@@ -141,7 +149,7 @@ Displays installation properties of a plugin.
|
|
|
141
149
|
|
|
142
150
|
```
|
|
143
151
|
USAGE
|
|
144
|
-
$ esm1 plugins
|
|
152
|
+
$ esm1 plugins inspect PLUGIN...
|
|
145
153
|
|
|
146
154
|
ARGUMENTS
|
|
147
155
|
PLUGIN [default: .] Plugin to inspect.
|
|
@@ -157,10 +165,10 @@ DESCRIPTION
|
|
|
157
165
|
Displays installation properties of a plugin.
|
|
158
166
|
|
|
159
167
|
EXAMPLES
|
|
160
|
-
$ esm1 plugins
|
|
168
|
+
$ esm1 plugins inspect myplugin
|
|
161
169
|
```
|
|
162
170
|
|
|
163
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
171
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/inspect.ts)_
|
|
164
172
|
|
|
165
173
|
## `esm1 plugins:install PLUGIN...`
|
|
166
174
|
|
|
@@ -168,7 +176,7 @@ Installs a plugin into the CLI.
|
|
|
168
176
|
|
|
169
177
|
```
|
|
170
178
|
USAGE
|
|
171
|
-
$ esm1 plugins
|
|
179
|
+
$ esm1 plugins install PLUGIN...
|
|
172
180
|
|
|
173
181
|
ARGUMENTS
|
|
174
182
|
PLUGIN Plugin to install.
|
|
@@ -176,7 +184,11 @@ ARGUMENTS
|
|
|
176
184
|
FLAGS
|
|
177
185
|
-f, --force Run yarn install with force flag.
|
|
178
186
|
-h, --help Show CLI help.
|
|
179
|
-
-
|
|
187
|
+
-s, --silent Silences yarn output.
|
|
188
|
+
-v, --verbose Show verbose yarn output.
|
|
189
|
+
|
|
190
|
+
GLOBAL FLAGS
|
|
191
|
+
--json Format output as json.
|
|
180
192
|
|
|
181
193
|
DESCRIPTION
|
|
182
194
|
Installs a plugin into the CLI.
|
|
@@ -193,14 +205,14 @@ ALIASES
|
|
|
193
205
|
$ esm1 plugins add
|
|
194
206
|
|
|
195
207
|
EXAMPLES
|
|
196
|
-
$ esm1 plugins
|
|
208
|
+
$ esm1 plugins install myplugin
|
|
197
209
|
|
|
198
|
-
$ esm1 plugins
|
|
210
|
+
$ esm1 plugins install https://github.com/someuser/someplugin
|
|
199
211
|
|
|
200
|
-
$ esm1 plugins
|
|
212
|
+
$ esm1 plugins install someuser/someplugin
|
|
201
213
|
```
|
|
202
214
|
|
|
203
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
215
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/install.ts)_
|
|
204
216
|
|
|
205
217
|
## `esm1 plugins:link PLUGIN`
|
|
206
218
|
|
|
@@ -208,15 +220,15 @@ Links a plugin into the CLI for development.
|
|
|
208
220
|
|
|
209
221
|
```
|
|
210
222
|
USAGE
|
|
211
|
-
$ esm1 plugins
|
|
223
|
+
$ esm1 plugins link PLUGIN
|
|
212
224
|
|
|
213
225
|
ARGUMENTS
|
|
214
226
|
PATH [default: .] path to plugin
|
|
215
227
|
|
|
216
228
|
FLAGS
|
|
217
|
-
-h, --help
|
|
229
|
+
-h, --help Show CLI help.
|
|
218
230
|
-v, --verbose
|
|
219
|
-
|
|
231
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
220
232
|
|
|
221
233
|
DESCRIPTION
|
|
222
234
|
Links a plugin into the CLI for development.
|
|
@@ -227,10 +239,10 @@ DESCRIPTION
|
|
|
227
239
|
|
|
228
240
|
|
|
229
241
|
EXAMPLES
|
|
230
|
-
$ esm1 plugins
|
|
242
|
+
$ esm1 plugins link myplugin
|
|
231
243
|
```
|
|
232
244
|
|
|
233
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
245
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/link.ts)_
|
|
234
246
|
|
|
235
247
|
## `esm1 plugins:uninstall PLUGIN...`
|
|
236
248
|
|
|
@@ -238,7 +250,7 @@ Removes a plugin from the CLI.
|
|
|
238
250
|
|
|
239
251
|
```
|
|
240
252
|
USAGE
|
|
241
|
-
$ esm1 plugins:uninstall PLUGIN...
|
|
253
|
+
$ esm1 plugins remove plugins:uninstall PLUGIN...
|
|
242
254
|
|
|
243
255
|
ARGUMENTS
|
|
244
256
|
PLUGIN plugin to uninstall
|
|
@@ -253,15 +265,33 @@ DESCRIPTION
|
|
|
253
265
|
ALIASES
|
|
254
266
|
$ esm1 plugins unlink
|
|
255
267
|
$ esm1 plugins remove
|
|
268
|
+
|
|
269
|
+
EXAMPLES
|
|
270
|
+
$ esm1 plugins remove myplugin
|
|
256
271
|
```
|
|
257
272
|
|
|
273
|
+
## `esm1 plugins reset`
|
|
274
|
+
|
|
275
|
+
Remove all user-installed and linked plugins.
|
|
276
|
+
|
|
277
|
+
```
|
|
278
|
+
USAGE
|
|
279
|
+
$ esm1 plugins reset [--hard] [--reinstall]
|
|
280
|
+
|
|
281
|
+
FLAGS
|
|
282
|
+
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
283
|
+
--reinstall Reinstall all plugins after uninstalling.
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/reset.ts)_
|
|
287
|
+
|
|
258
288
|
## `esm1 plugins:uninstall PLUGIN...`
|
|
259
289
|
|
|
260
290
|
Removes a plugin from the CLI.
|
|
261
291
|
|
|
262
292
|
```
|
|
263
293
|
USAGE
|
|
264
|
-
$ esm1 plugins
|
|
294
|
+
$ esm1 plugins uninstall PLUGIN...
|
|
265
295
|
|
|
266
296
|
ARGUMENTS
|
|
267
297
|
PLUGIN plugin to uninstall
|
|
@@ -276,9 +306,12 @@ DESCRIPTION
|
|
|
276
306
|
ALIASES
|
|
277
307
|
$ esm1 plugins unlink
|
|
278
308
|
$ esm1 plugins remove
|
|
309
|
+
|
|
310
|
+
EXAMPLES
|
|
311
|
+
$ esm1 plugins uninstall myplugin
|
|
279
312
|
```
|
|
280
313
|
|
|
281
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
314
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/uninstall.ts)_
|
|
282
315
|
|
|
283
316
|
## `esm1 plugins:uninstall PLUGIN...`
|
|
284
317
|
|
|
@@ -286,7 +319,7 @@ Removes a plugin from the CLI.
|
|
|
286
319
|
|
|
287
320
|
```
|
|
288
321
|
USAGE
|
|
289
|
-
$ esm1 plugins:uninstall PLUGIN...
|
|
322
|
+
$ esm1 plugins unlink plugins:uninstall PLUGIN...
|
|
290
323
|
|
|
291
324
|
ARGUMENTS
|
|
292
325
|
PLUGIN plugin to uninstall
|
|
@@ -301,6 +334,9 @@ DESCRIPTION
|
|
|
301
334
|
ALIASES
|
|
302
335
|
$ esm1 plugins unlink
|
|
303
336
|
$ esm1 plugins remove
|
|
337
|
+
|
|
338
|
+
EXAMPLES
|
|
339
|
+
$ esm1 plugins unlink myplugin
|
|
304
340
|
```
|
|
305
341
|
|
|
306
342
|
## `esm1 plugins update`
|
|
@@ -319,5 +355,5 @@ DESCRIPTION
|
|
|
319
355
|
Update installed plugins.
|
|
320
356
|
```
|
|
321
357
|
|
|
322
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
358
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v4.2.5/src/commands/plugins/update.ts)_
|
|
323
359
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1,46 +1,64 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.0",
|
|
3
2
|
"commands": {
|
|
4
3
|
"esm1": {
|
|
5
|
-
"id": "esm1",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"pluginName": "@oclif/plugin-test-esm-1",
|
|
8
|
-
"pluginAlias": "@oclif/plugin-test-esm-1",
|
|
9
|
-
"pluginType": "core",
|
|
10
4
|
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"optionalArg": {
|
|
7
|
+
"name": "optionalArg"
|
|
8
|
+
},
|
|
9
|
+
"defaultArg": {
|
|
10
|
+
"default": "simple string default",
|
|
11
|
+
"name": "defaultArg"
|
|
12
|
+
},
|
|
13
|
+
"defaultFnArg": {
|
|
14
|
+
"default": "async fn default",
|
|
15
|
+
"name": "defaultFnArg"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"flags": {
|
|
19
|
+
"json": {
|
|
20
|
+
"description": "Format output as json.",
|
|
21
|
+
"helpGroup": "GLOBAL",
|
|
22
|
+
"name": "json",
|
|
23
|
+
"allowNo": false,
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
},
|
|
12
26
|
"optionalString": {
|
|
13
27
|
"name": "optionalString",
|
|
14
|
-
"
|
|
15
|
-
"multiple": false
|
|
28
|
+
"hasDynamicHelp": false,
|
|
29
|
+
"multiple": false,
|
|
30
|
+
"type": "option"
|
|
16
31
|
},
|
|
17
32
|
"defaultString": {
|
|
18
33
|
"name": "defaultString",
|
|
19
|
-
"
|
|
34
|
+
"default": "simple string default",
|
|
35
|
+
"hasDynamicHelp": false,
|
|
20
36
|
"multiple": false,
|
|
21
|
-
"
|
|
37
|
+
"type": "option"
|
|
22
38
|
},
|
|
23
39
|
"defaultFnString": {
|
|
24
40
|
"name": "defaultFnString",
|
|
25
|
-
"
|
|
41
|
+
"default": "async fn default",
|
|
42
|
+
"hasDynamicHelp": false,
|
|
26
43
|
"multiple": false,
|
|
27
|
-
"
|
|
44
|
+
"type": "option"
|
|
28
45
|
}
|
|
29
46
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
"hasDynamicHelp": false,
|
|
48
|
+
"hiddenAliases": [],
|
|
49
|
+
"id": "esm1",
|
|
50
|
+
"pluginAlias": "@oclif/plugin-test-esm-1",
|
|
51
|
+
"pluginName": "@oclif/plugin-test-esm-1",
|
|
52
|
+
"pluginType": "core",
|
|
53
|
+
"strict": true,
|
|
54
|
+
"enableJsonFlag": true,
|
|
55
|
+
"isESM": true,
|
|
56
|
+
"relativePath": [
|
|
57
|
+
"dist",
|
|
58
|
+
"commands",
|
|
59
|
+
"esm1.js"
|
|
60
|
+
]
|
|
44
61
|
}
|
|
45
|
-
}
|
|
62
|
+
},
|
|
63
|
+
"version": "0.7.1"
|
|
46
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/plugin-test-esm-1",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Test ESM plugin",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://github.com/oclif/plugin-test-esm-1",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"main": "",
|
|
12
11
|
"repository": "oclif/plugin-test-esm-1",
|
|
13
12
|
"files": [
|
|
14
13
|
"/bin",
|
|
@@ -18,8 +17,8 @@
|
|
|
18
17
|
],
|
|
19
18
|
"dependencies": {
|
|
20
19
|
"@oclif/core": "^3",
|
|
21
|
-
"@oclif/plugin-help": "^
|
|
22
|
-
"@oclif/plugin-plugins": "^
|
|
20
|
+
"@oclif/plugin-help": "^6",
|
|
21
|
+
"@oclif/plugin-plugins": "^4"
|
|
23
22
|
},
|
|
24
23
|
"devDependencies": {
|
|
25
24
|
"@oclif/prettier-config": "^0.2.1",
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
"eslint-config-oclif-typescript": "^2.0.1",
|
|
34
33
|
"eslint-config-prettier": "^9.1.0",
|
|
35
34
|
"mocha": "^10",
|
|
36
|
-
"oclif": "^
|
|
35
|
+
"oclif": "^4",
|
|
37
36
|
"shx": "^0.3.4",
|
|
38
37
|
"ts-node": "^10.9.2",
|
|
39
38
|
"typescript": "^5"
|
|
@@ -73,6 +72,6 @@
|
|
|
73
72
|
"oclif"
|
|
74
73
|
],
|
|
75
74
|
"types": "dist/index.d.ts",
|
|
76
|
-
"exports": "./
|
|
75
|
+
"exports": "./dist/index.js",
|
|
77
76
|
"type": "module"
|
|
78
77
|
}
|