@oclif/plugin-test-cjs-1 0.6.33 → 0.6.34

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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @oclif/plugin-test-cjs-1
18
18
  $ cjs1 COMMAND
19
19
  running command...
20
20
  $ cjs1 (--version)
21
- @oclif/plugin-test-cjs-1/0.6.33 linux-x64 node-v20.12.2
21
+ @oclif/plugin-test-cjs-1/0.6.34 linux-x64 node-v20.13.1
22
22
  $ cjs1 --help [COMMAND]
23
23
  USAGE
24
24
  $ cjs1 COMMAND
@@ -28,15 +28,16 @@ USAGE
28
28
  # Commands
29
29
  <!-- commands -->
30
30
  * [`cjs1 cjs1 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`](#cjs1-cjs1-optionalarg-defaultarg-defaultfnarg)
31
- * [`cjs1 help [COMMANDS]`](#cjs1-help-commands)
31
+ * [`cjs1 help [COMMAND]`](#cjs1-help-command)
32
32
  * [`cjs1 plugins`](#cjs1-plugins)
33
- * [`cjs1 plugins:install PLUGIN...`](#cjs1-pluginsinstall-plugin)
33
+ * [`cjs1 plugins add PLUGIN`](#cjs1-plugins-add-plugin)
34
34
  * [`cjs1 plugins:inspect PLUGIN...`](#cjs1-pluginsinspect-plugin)
35
- * [`cjs1 plugins:install PLUGIN...`](#cjs1-pluginsinstall-plugin-1)
36
- * [`cjs1 plugins:link PLUGIN`](#cjs1-pluginslink-plugin)
37
- * [`cjs1 plugins:uninstall PLUGIN...`](#cjs1-pluginsuninstall-plugin)
38
- * [`cjs1 plugins:uninstall PLUGIN...`](#cjs1-pluginsuninstall-plugin-1)
39
- * [`cjs1 plugins:uninstall PLUGIN...`](#cjs1-pluginsuninstall-plugin-2)
35
+ * [`cjs1 plugins install PLUGIN`](#cjs1-plugins-install-plugin)
36
+ * [`cjs1 plugins link PATH`](#cjs1-plugins-link-path)
37
+ * [`cjs1 plugins remove [PLUGIN]`](#cjs1-plugins-remove-plugin)
38
+ * [`cjs1 plugins reset`](#cjs1-plugins-reset)
39
+ * [`cjs1 plugins uninstall [PLUGIN]`](#cjs1-plugins-uninstall-plugin)
40
+ * [`cjs1 plugins unlink [PLUGIN]`](#cjs1-plugins-unlink-plugin)
40
41
  * [`cjs1 plugins update`](#cjs1-plugins-update)
41
42
 
42
43
  ## `cjs1 cjs1 [OPTIONALARG] [DEFAULTARG] [DEFAULTFNARG]`
@@ -52,18 +53,18 @@ FLAGS
52
53
  --optionalString=<value>
53
54
  ```
54
55
 
55
- _See code: [src/commands/cjs1.ts](https://github.com/oclif/plugin-test-cjs-1/blob/v0.6.33/src/commands/cjs1.ts)_
56
+ _See code: [src/commands/cjs1.ts](https://github.com/oclif/plugin-test-cjs-1/blob/v0.6.34/src/commands/cjs1.ts)_
56
57
 
57
- ## `cjs1 help [COMMANDS]`
58
+ ## `cjs1 help [COMMAND]`
58
59
 
59
60
  Display help for cjs1.
60
61
 
61
62
  ```
62
63
  USAGE
63
- $ cjs1 help [COMMANDS] [-n]
64
+ $ cjs1 help [COMMAND] [-n]
64
65
 
65
66
  ARGUMENTS
66
- COMMANDS Command to show help for.
67
+ COMMAND Command to show help for.
67
68
 
68
69
  FLAGS
69
70
  -n, --nested-commands Include all nested commands in the output.
@@ -72,7 +73,7 @@ DESCRIPTION
72
73
  Display help for cjs1.
73
74
  ```
74
75
 
75
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.20/src/commands/help.ts)_
76
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_
76
77
 
77
78
  ## `cjs1 plugins`
78
79
 
@@ -95,44 +96,53 @@ EXAMPLES
95
96
  $ cjs1 plugins
96
97
  ```
97
98
 
98
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/index.ts)_
99
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/index.ts)_
99
100
 
100
- ## `cjs1 plugins:install PLUGIN...`
101
+ ## `cjs1 plugins add PLUGIN`
101
102
 
102
- Installs a plugin into the CLI.
103
+ Installs a plugin into cjs1.
103
104
 
104
105
  ```
105
106
  USAGE
106
- $ cjs1 plugins:install PLUGIN...
107
+ $ cjs1 plugins add PLUGIN [--json] [-f] [-h] [-s | -v]
107
108
 
108
109
  ARGUMENTS
109
110
  PLUGIN Plugin to install.
110
111
 
111
112
  FLAGS
112
- -f, --force Run yarn install with force flag.
113
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
113
114
  -h, --help Show CLI help.
114
- -v, --verbose
115
+ -s, --silent Silences npm output.
116
+ -v, --verbose Show verbose npm output.
117
+
118
+ GLOBAL FLAGS
119
+ --json Format output as json.
115
120
 
116
121
  DESCRIPTION
117
- Installs a plugin into the CLI.
118
- Can be installed from npm or a git url.
122
+ Installs a plugin into cjs1.
119
123
 
120
- Installation of a user-installed plugin will override a core plugin.
124
+ Uses bundled npm executable to install plugins into /home/runner/.local/share/cjs1
121
125
 
122
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
123
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
124
- the CLI without the need to patch and update the whole CLI.
126
+ Installation of a user-installed plugin will override a core plugin.
125
127
 
128
+ Use the CJS1_NPM_LOG_LEVEL environment variable to set the npm loglevel.
129
+ Use the CJS1_NPM_REGISTRY environment variable to set the npm registry.
126
130
 
127
131
  ALIASES
128
132
  $ cjs1 plugins add
129
133
 
130
134
  EXAMPLES
131
- $ cjs1 plugins:install myplugin
135
+ Install a plugin from npm registry.
136
+
137
+ $ cjs1 plugins add myplugin
138
+
139
+ Install a plugin from a github url.
140
+
141
+ $ cjs1 plugins add https://github.com/someuser/someplugin
132
142
 
133
- $ cjs1 plugins:install https://github.com/someuser/someplugin
143
+ Install a plugin from a github slug.
134
144
 
135
- $ cjs1 plugins:install someuser/someplugin
145
+ $ cjs1 plugins add someuser/someplugin
136
146
  ```
137
147
 
138
148
  ## `cjs1 plugins:inspect PLUGIN...`
@@ -157,58 +167,67 @@ DESCRIPTION
157
167
  Displays installation properties of a plugin.
158
168
 
159
169
  EXAMPLES
160
- $ cjs1 plugins:inspect myplugin
170
+ $ cjs1 plugins inspect myplugin
161
171
  ```
162
172
 
163
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/inspect.ts)_
173
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/inspect.ts)_
164
174
 
165
- ## `cjs1 plugins:install PLUGIN...`
175
+ ## `cjs1 plugins install PLUGIN`
166
176
 
167
- Installs a plugin into the CLI.
177
+ Installs a plugin into cjs1.
168
178
 
169
179
  ```
170
180
  USAGE
171
- $ cjs1 plugins:install PLUGIN...
181
+ $ cjs1 plugins install PLUGIN [--json] [-f] [-h] [-s | -v]
172
182
 
173
183
  ARGUMENTS
174
184
  PLUGIN Plugin to install.
175
185
 
176
186
  FLAGS
177
- -f, --force Run yarn install with force flag.
187
+ -f, --force Force npm to fetch remote resources even if a local copy exists on disk.
178
188
  -h, --help Show CLI help.
179
- -v, --verbose
189
+ -s, --silent Silences npm output.
190
+ -v, --verbose Show verbose npm output.
191
+
192
+ GLOBAL FLAGS
193
+ --json Format output as json.
180
194
 
181
195
  DESCRIPTION
182
- Installs a plugin into the CLI.
183
- Can be installed from npm or a git url.
196
+ Installs a plugin into cjs1.
184
197
 
185
- Installation of a user-installed plugin will override a core plugin.
198
+ Uses bundled npm executable to install plugins into /home/runner/.local/share/cjs1
186
199
 
187
- e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
188
- will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
189
- the CLI without the need to patch and update the whole CLI.
200
+ Installation of a user-installed plugin will override a core plugin.
190
201
 
202
+ Use the CJS1_NPM_LOG_LEVEL environment variable to set the npm loglevel.
203
+ Use the CJS1_NPM_REGISTRY environment variable to set the npm registry.
191
204
 
192
205
  ALIASES
193
206
  $ cjs1 plugins add
194
207
 
195
208
  EXAMPLES
196
- $ cjs1 plugins:install myplugin
209
+ Install a plugin from npm registry.
210
+
211
+ $ cjs1 plugins install myplugin
212
+
213
+ Install a plugin from a github url.
197
214
 
198
- $ cjs1 plugins:install https://github.com/someuser/someplugin
215
+ $ cjs1 plugins install https://github.com/someuser/someplugin
199
216
 
200
- $ cjs1 plugins:install someuser/someplugin
217
+ Install a plugin from a github slug.
218
+
219
+ $ cjs1 plugins install someuser/someplugin
201
220
  ```
202
221
 
203
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/install.ts)_
222
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/install.ts)_
204
223
 
205
- ## `cjs1 plugins:link PLUGIN`
224
+ ## `cjs1 plugins link PATH`
206
225
 
207
226
  Links a plugin into the CLI for development.
208
227
 
209
228
  ```
210
229
  USAGE
211
- $ cjs1 plugins:link PLUGIN
230
+ $ cjs1 plugins link PATH [-h] [--install] [-v]
212
231
 
213
232
  ARGUMENTS
214
233
  PATH [default: .] path to plugin
@@ -227,18 +246,18 @@ DESCRIPTION
227
246
 
228
247
 
229
248
  EXAMPLES
230
- $ cjs1 plugins:link myplugin
249
+ $ cjs1 plugins link myplugin
231
250
  ```
232
251
 
233
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/link.ts)_
252
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/link.ts)_
234
253
 
235
- ## `cjs1 plugins:uninstall PLUGIN...`
254
+ ## `cjs1 plugins remove [PLUGIN]`
236
255
 
237
256
  Removes a plugin from the CLI.
238
257
 
239
258
  ```
240
259
  USAGE
241
- $ cjs1 plugins:uninstall PLUGIN...
260
+ $ cjs1 plugins remove [PLUGIN] [-h] [-v]
242
261
 
243
262
  ARGUMENTS
244
263
  PLUGIN plugin to uninstall
@@ -253,15 +272,33 @@ DESCRIPTION
253
272
  ALIASES
254
273
  $ cjs1 plugins unlink
255
274
  $ cjs1 plugins remove
275
+
276
+ EXAMPLES
277
+ $ cjs1 plugins remove myplugin
278
+ ```
279
+
280
+ ## `cjs1 plugins reset`
281
+
282
+ Remove all user-installed and linked plugins.
283
+
284
+ ```
285
+ USAGE
286
+ $ cjs1 plugins reset [--hard] [--reinstall]
287
+
288
+ FLAGS
289
+ --hard Delete node_modules and package manager related files in addition to uninstalling plugins.
290
+ --reinstall Reinstall all plugins after uninstalling.
256
291
  ```
257
292
 
258
- ## `cjs1 plugins:uninstall PLUGIN...`
293
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/reset.ts)_
294
+
295
+ ## `cjs1 plugins uninstall [PLUGIN]`
259
296
 
260
297
  Removes a plugin from the CLI.
261
298
 
262
299
  ```
263
300
  USAGE
264
- $ cjs1 plugins:uninstall PLUGIN...
301
+ $ cjs1 plugins uninstall [PLUGIN] [-h] [-v]
265
302
 
266
303
  ARGUMENTS
267
304
  PLUGIN plugin to uninstall
@@ -276,17 +313,20 @@ DESCRIPTION
276
313
  ALIASES
277
314
  $ cjs1 plugins unlink
278
315
  $ cjs1 plugins remove
316
+
317
+ EXAMPLES
318
+ $ cjs1 plugins uninstall myplugin
279
319
  ```
280
320
 
281
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/uninstall.ts)_
321
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/uninstall.ts)_
282
322
 
283
- ## `cjs1 plugins:uninstall PLUGIN...`
323
+ ## `cjs1 plugins unlink [PLUGIN]`
284
324
 
285
325
  Removes a plugin from the CLI.
286
326
 
287
327
  ```
288
328
  USAGE
289
- $ cjs1 plugins:uninstall PLUGIN...
329
+ $ cjs1 plugins unlink [PLUGIN] [-h] [-v]
290
330
 
291
331
  ARGUMENTS
292
332
  PLUGIN plugin to uninstall
@@ -301,6 +341,9 @@ DESCRIPTION
301
341
  ALIASES
302
342
  $ cjs1 plugins unlink
303
343
  $ cjs1 plugins remove
344
+
345
+ EXAMPLES
346
+ $ cjs1 plugins unlink myplugin
304
347
  ```
305
348
 
306
349
  ## `cjs1 plugins update`
@@ -319,5 +362,5 @@ DESCRIPTION
319
362
  Update installed plugins.
320
363
  ```
321
364
 
322
- _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.9.4/src/commands/plugins/update.ts)_
365
+ _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.1.2/src/commands/plugins/update.ts)_
323
366
  <!-- commandsstop -->
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.33",
2
+ "version": "0.6.34",
3
3
  "commands": {
4
4
  "cjs1": {
5
5
  "id": "cjs1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-test-cjs-1",
3
- "version": "0.6.33",
3
+ "version": "0.6.34",
4
4
  "description": "Test CJS plugin",
5
5
  "author": "Salesforce",
6
6
  "bin": {
@@ -18,19 +18,19 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@oclif/core": "^3.26.6",
21
- "@oclif/plugin-help": "^5",
22
- "@oclif/plugin-plugins": "^3.9.4"
21
+ "@oclif/plugin-help": "^6",
22
+ "@oclif/plugin-plugins": "^5"
23
23
  },
24
24
  "devDependencies": {
25
- "@oclif/test": "^2.5.6",
25
+ "@oclif/test": "^4",
26
26
  "@types/chai": "^4",
27
- "@types/mocha": "^9.0.0",
27
+ "@types/mocha": "^10",
28
28
  "@types/node": "^16.18.97",
29
29
  "chai": "^4",
30
30
  "eslint": "^7",
31
31
  "eslint-config-oclif": "^4",
32
32
  "eslint-config-oclif-typescript": "^1.0.3",
33
- "mocha": "^9",
33
+ "mocha": "^10",
34
34
  "oclif": "^3.17.2",
35
35
  "shx": "^0.3.4",
36
36
  "ts-node": "^10.9.2",