@adobe/aio-cli-plugin-app 10.7.2 → 11.1.0-pre.2024-01-09.2e4115c3
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 +39 -66
- package/bin/openwhisk-standalone-config/get-runtimes.js +28 -26
- package/bin/openwhisk-standalone-config/runtimes.json +13 -5
- package/oclif.manifest.json +44 -68
- package/package.json +19 -16
- package/src/BaseCommand.js +1 -14
- package/src/commands/app/add/event.js +13 -36
- package/src/commands/app/build.js +2 -0
- package/src/commands/app/deploy.js +12 -22
- package/src/commands/app/init.js +117 -36
- package/src/commands/app/install.js +8 -1
- package/src/commands/app/pack.js +64 -19
- package/src/commands/app/undeploy.js +4 -13
- package/src/commands/app/delete/event.js +0 -67
package/README.md
CHANGED
|
@@ -39,7 +39,6 @@ $ aio app --help
|
|
|
39
39
|
* [`aio app delete`](#aio-app-delete)
|
|
40
40
|
* [`aio app delete action [ACTION-NAME]`](#aio-app-delete-action-action-name)
|
|
41
41
|
* [`aio app delete ci`](#aio-app-delete-ci)
|
|
42
|
-
* [`aio app delete event [EVENT-ACTION-NAME]`](#aio-app-delete-event-event-action-name)
|
|
43
42
|
* [`aio app delete extension`](#aio-app-delete-extension)
|
|
44
43
|
* [`aio app delete service`](#aio-app-delete-service)
|
|
45
44
|
* [`aio app delete web-assets`](#aio-app-delete-web-assets)
|
|
@@ -71,7 +70,7 @@ DESCRIPTION
|
|
|
71
70
|
Create, run, test, and deploy Adobe I/O Apps
|
|
72
71
|
```
|
|
73
72
|
|
|
74
|
-
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
73
|
+
_See code: [src/commands/app/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/index.ts)_
|
|
75
74
|
|
|
76
75
|
## `aio app add`
|
|
77
76
|
|
|
@@ -89,7 +88,7 @@ DESCRIPTION
|
|
|
89
88
|
Add a new component to an existing Adobe I/O App
|
|
90
89
|
```
|
|
91
90
|
|
|
92
|
-
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
91
|
+
_See code: [src/commands/app/add/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/index.ts)_
|
|
93
92
|
|
|
94
93
|
## `aio app add action`
|
|
95
94
|
|
|
@@ -114,7 +113,7 @@ ALIASES
|
|
|
114
113
|
$ aio app add actions
|
|
115
114
|
```
|
|
116
115
|
|
|
117
|
-
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
116
|
+
_See code: [src/commands/app/add/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/action.ts)_
|
|
118
117
|
|
|
119
118
|
## `aio app add ci`
|
|
120
119
|
|
|
@@ -132,7 +131,7 @@ DESCRIPTION
|
|
|
132
131
|
Add CI files
|
|
133
132
|
```
|
|
134
133
|
|
|
135
|
-
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
134
|
+
_See code: [src/commands/app/add/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/ci.ts)_
|
|
136
135
|
|
|
137
136
|
## `aio app add event`
|
|
138
137
|
|
|
@@ -140,16 +139,14 @@ Add a new Adobe I/O Events action
|
|
|
140
139
|
|
|
141
140
|
```
|
|
142
141
|
USAGE
|
|
143
|
-
$ aio app add event [-v] [--version] [--install] [-y] [-e <value>]
|
|
142
|
+
$ aio app add event [-v] [--version] [--install] [-y] [-e <value>]
|
|
144
143
|
|
|
145
144
|
FLAGS
|
|
146
|
-
-e, --extension=<value>
|
|
147
|
-
-v, --verbose
|
|
148
|
-
-y, --yes
|
|
149
|
-
--
|
|
150
|
-
|
|
151
|
-
--[no-]install [default: true] Run npm installation after files are created
|
|
152
|
-
--version Show version
|
|
145
|
+
-e, --extension=<value> Add events to a specific extension
|
|
146
|
+
-v, --verbose Verbose output
|
|
147
|
+
-y, --yes Skip questions, and use all default values
|
|
148
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
149
|
+
--version Show version
|
|
153
150
|
|
|
154
151
|
DESCRIPTION
|
|
155
152
|
Add a new Adobe I/O Events action
|
|
@@ -159,7 +156,7 @@ ALIASES
|
|
|
159
156
|
$ aio app add events
|
|
160
157
|
```
|
|
161
158
|
|
|
162
|
-
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
159
|
+
_See code: [src/commands/app/add/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/event.ts)_
|
|
163
160
|
|
|
164
161
|
## `aio app add extension`
|
|
165
162
|
|
|
@@ -185,7 +182,7 @@ ALIASES
|
|
|
185
182
|
$ aio app add extensions
|
|
186
183
|
```
|
|
187
184
|
|
|
188
|
-
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
185
|
+
_See code: [src/commands/app/add/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/extension.ts)_
|
|
189
186
|
|
|
190
187
|
## `aio app add service`
|
|
191
188
|
|
|
@@ -209,7 +206,7 @@ ALIASES
|
|
|
209
206
|
$ aio app add services
|
|
210
207
|
```
|
|
211
208
|
|
|
212
|
-
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
209
|
+
_See code: [src/commands/app/add/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/service.ts)_
|
|
213
210
|
|
|
214
211
|
## `aio app add web-assets`
|
|
215
212
|
|
|
@@ -230,7 +227,7 @@ DESCRIPTION
|
|
|
230
227
|
Add web assets support
|
|
231
228
|
```
|
|
232
229
|
|
|
233
|
-
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
230
|
+
_See code: [src/commands/app/add/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/add/web-assets.ts)_
|
|
234
231
|
|
|
235
232
|
## `aio app build`
|
|
236
233
|
|
|
@@ -259,7 +256,7 @@ DESCRIPTION
|
|
|
259
256
|
This will always force a rebuild unless --no-force-build is set.
|
|
260
257
|
```
|
|
261
258
|
|
|
262
|
-
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
259
|
+
_See code: [src/commands/app/build.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/build.ts)_
|
|
263
260
|
|
|
264
261
|
## `aio app create [PATH]`
|
|
265
262
|
|
|
@@ -281,7 +278,7 @@ DESCRIPTION
|
|
|
281
278
|
Create a new Adobe I/O App with default parameters
|
|
282
279
|
```
|
|
283
280
|
|
|
284
|
-
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
281
|
+
_See code: [src/commands/app/create.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/create.ts)_
|
|
285
282
|
|
|
286
283
|
## `aio app delete`
|
|
287
284
|
|
|
@@ -299,7 +296,7 @@ DESCRIPTION
|
|
|
299
296
|
Delete a component from an existing Adobe I/O App
|
|
300
297
|
```
|
|
301
298
|
|
|
302
|
-
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
299
|
+
_See code: [src/commands/app/delete/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/index.ts)_
|
|
303
300
|
|
|
304
301
|
## `aio app delete action [ACTION-NAME]`
|
|
305
302
|
|
|
@@ -325,7 +322,7 @@ ALIASES
|
|
|
325
322
|
$ aio app delete actions
|
|
326
323
|
```
|
|
327
324
|
|
|
328
|
-
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
325
|
+
_See code: [src/commands/app/delete/action.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/action.ts)_
|
|
329
326
|
|
|
330
327
|
## `aio app delete ci`
|
|
331
328
|
|
|
@@ -344,33 +341,7 @@ DESCRIPTION
|
|
|
344
341
|
Delete existing CI files
|
|
345
342
|
```
|
|
346
343
|
|
|
347
|
-
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
348
|
-
|
|
349
|
-
## `aio app delete event [EVENT-ACTION-NAME]`
|
|
350
|
-
|
|
351
|
-
Delete existing Adobe I/O Events actions
|
|
352
|
-
|
|
353
|
-
```
|
|
354
|
-
USAGE
|
|
355
|
-
$ aio app delete event [EVENT-ACTION-NAME] [-v] [--version] [-y]
|
|
356
|
-
|
|
357
|
-
ARGUMENTS
|
|
358
|
-
EVENT-ACTION-NAME Action `pkg/name` to delete, you can specify multiple actions via a comma separated list
|
|
359
|
-
|
|
360
|
-
FLAGS
|
|
361
|
-
-v, --verbose Verbose output
|
|
362
|
-
-y, --yes Skip questions, and use all default values
|
|
363
|
-
--version Show version
|
|
364
|
-
|
|
365
|
-
DESCRIPTION
|
|
366
|
-
Delete existing Adobe I/O Events actions
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
ALIASES
|
|
370
|
-
$ aio app delete events
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
_See code: [src/commands/app/delete/event.ts](https://github.com/adobe/aio-cli-plugin-app/blob/10.7.2/src/commands/app/delete/event.ts)_
|
|
344
|
+
_See code: [src/commands/app/delete/ci.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/ci.ts)_
|
|
374
345
|
|
|
375
346
|
## `aio app delete extension`
|
|
376
347
|
|
|
@@ -396,7 +367,7 @@ ALIASES
|
|
|
396
367
|
$ aio app delete extensions
|
|
397
368
|
```
|
|
398
369
|
|
|
399
|
-
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
370
|
+
_See code: [src/commands/app/delete/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/extension.ts)_
|
|
400
371
|
|
|
401
372
|
## `aio app delete service`
|
|
402
373
|
|
|
@@ -420,7 +391,7 @@ ALIASES
|
|
|
420
391
|
$ aio app delete services
|
|
421
392
|
```
|
|
422
393
|
|
|
423
|
-
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
394
|
+
_See code: [src/commands/app/delete/service.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/service.ts)_
|
|
424
395
|
|
|
425
396
|
## `aio app delete web-assets`
|
|
426
397
|
|
|
@@ -439,7 +410,7 @@ DESCRIPTION
|
|
|
439
410
|
Delete existing web assets
|
|
440
411
|
```
|
|
441
412
|
|
|
442
|
-
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
413
|
+
_See code: [src/commands/app/delete/web-assets.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/delete/web-assets.ts)_
|
|
443
414
|
|
|
444
415
|
## `aio app deploy`
|
|
445
416
|
|
|
@@ -449,7 +420,7 @@ Build and deploy an Adobe I/O App
|
|
|
449
420
|
USAGE
|
|
450
421
|
$ aio app deploy [-v] [--version] [--actions | -a <value>] [--web-assets] [--force-build | ] [--content-hash]
|
|
451
422
|
[--web-optimize] [-e <value> | ] [--build] [--open] [--force-deploy] [--force-publish | | --publish]
|
|
452
|
-
[--force-events ] [--log-forwarding-update]
|
|
423
|
+
[--force-events | | ] [--log-forwarding-update]
|
|
453
424
|
|
|
454
425
|
FLAGS
|
|
455
426
|
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will set
|
|
@@ -462,7 +433,8 @@ FLAGS
|
|
|
462
433
|
--[no-]force-build [default: true] Force a build even if one already exists
|
|
463
434
|
--force-deploy [default: false] Force deploy changes, regardless of production Workspace being
|
|
464
435
|
published in Exchange.
|
|
465
|
-
--[no-]force-events [default: false] Force event registrations and
|
|
436
|
+
--[no-]force-events [default: false] Force event registrations and delete any registrations not part of the
|
|
437
|
+
config file
|
|
466
438
|
--force-publish [default: false] Force publish extension(s) to Exchange, delete previously published
|
|
467
439
|
extension points
|
|
468
440
|
--[no-]log-forwarding-update [default: true] Update log forwarding configuration on server
|
|
@@ -479,7 +451,7 @@ DESCRIPTION
|
|
|
479
451
|
This will always force a rebuild unless --no-force-build is set.
|
|
480
452
|
```
|
|
481
453
|
|
|
482
|
-
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
454
|
+
_See code: [src/commands/app/deploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/deploy.ts)_
|
|
483
455
|
|
|
484
456
|
## `aio app get-url [ACTION]`
|
|
485
457
|
|
|
@@ -502,7 +474,7 @@ DESCRIPTION
|
|
|
502
474
|
Get action URLs
|
|
503
475
|
```
|
|
504
476
|
|
|
505
|
-
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
477
|
+
_See code: [src/commands/app/get-url.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/get-url.ts)_
|
|
506
478
|
|
|
507
479
|
## `aio app info`
|
|
508
480
|
|
|
@@ -524,7 +496,7 @@ DESCRIPTION
|
|
|
524
496
|
Display settings/configuration in use by an Adobe I/O App
|
|
525
497
|
```
|
|
526
498
|
|
|
527
|
-
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
499
|
+
_See code: [src/commands/app/info.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/info.ts)_
|
|
528
500
|
|
|
529
501
|
## `aio app init [PATH]`
|
|
530
502
|
|
|
@@ -532,8 +504,8 @@ Create a new Adobe I/O App
|
|
|
532
504
|
|
|
533
505
|
```
|
|
534
506
|
USAGE
|
|
535
|
-
$ aio app init [PATH] [-v] [--version] [--install] [-y] [--login] [-e <value> | -t <value>]
|
|
536
|
-
[--standalone-app | ] [-w <value> | -i <value>] [--confirm-new-workspace] [--use-jwt]
|
|
507
|
+
$ aio app init [PATH] [-v] [--version] [--install] [-y] [--login] [-e <value> | -t <value> | --repo <value>]
|
|
508
|
+
[--standalone-app | | ] [-w <value> | -i <value>] [--confirm-new-workspace] [--use-jwt]
|
|
537
509
|
|
|
538
510
|
ARGUMENTS
|
|
539
511
|
PATH [default: .] Path to the app directory
|
|
@@ -549,6 +521,7 @@ FLAGS
|
|
|
549
521
|
--confirm-new-workspace Skip and confirm prompt for creating a new workspace
|
|
550
522
|
--[no-]install [default: true] Run npm installation after files are created
|
|
551
523
|
--[no-]login Login using your Adobe ID for interacting with Adobe I/O Developer Console
|
|
524
|
+
--repo=<value> Init from gh quick-start repo. Expected to be of the form <owner>/<repo>/<path>
|
|
552
525
|
--standalone-app Create a stand-alone application
|
|
553
526
|
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
554
527
|
prefer the JWT credentials
|
|
@@ -558,7 +531,7 @@ DESCRIPTION
|
|
|
558
531
|
Create a new Adobe I/O App
|
|
559
532
|
```
|
|
560
533
|
|
|
561
|
-
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
534
|
+
_See code: [src/commands/app/init.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/init.ts)_
|
|
562
535
|
|
|
563
536
|
## `aio app list`
|
|
564
537
|
|
|
@@ -576,7 +549,7 @@ DESCRIPTION
|
|
|
576
549
|
List components for Adobe I/O App
|
|
577
550
|
```
|
|
578
551
|
|
|
579
|
-
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
552
|
+
_See code: [src/commands/app/list/index.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/list/index.ts)_
|
|
580
553
|
|
|
581
554
|
## `aio app list extension`
|
|
582
555
|
|
|
@@ -601,7 +574,7 @@ ALIASES
|
|
|
601
574
|
$ aio app list extensions
|
|
602
575
|
```
|
|
603
576
|
|
|
604
|
-
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
577
|
+
_See code: [src/commands/app/list/extension.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/list/extension.ts)_
|
|
605
578
|
|
|
606
579
|
## `aio app logs`
|
|
607
580
|
|
|
@@ -625,7 +598,7 @@ DESCRIPTION
|
|
|
625
598
|
Fetch logs for an Adobe I/O App
|
|
626
599
|
```
|
|
627
600
|
|
|
628
|
-
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
601
|
+
_See code: [src/commands/app/logs.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/logs.ts)_
|
|
629
602
|
|
|
630
603
|
## `aio app run`
|
|
631
604
|
|
|
@@ -648,7 +621,7 @@ DESCRIPTION
|
|
|
648
621
|
Run an Adobe I/O App
|
|
649
622
|
```
|
|
650
623
|
|
|
651
|
-
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
624
|
+
_See code: [src/commands/app/run.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/run.ts)_
|
|
652
625
|
|
|
653
626
|
## `aio app test`
|
|
654
627
|
|
|
@@ -676,7 +649,7 @@ DESCRIPTION
|
|
|
676
649
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
677
650
|
```
|
|
678
651
|
|
|
679
|
-
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
652
|
+
_See code: [src/commands/app/test.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/test.ts)_
|
|
680
653
|
|
|
681
654
|
## `aio app undeploy`
|
|
682
655
|
|
|
@@ -701,7 +674,7 @@ DESCRIPTION
|
|
|
701
674
|
Undeploys an Adobe I/O App
|
|
702
675
|
```
|
|
703
676
|
|
|
704
|
-
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
677
|
+
_See code: [src/commands/app/undeploy.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/undeploy.ts)_
|
|
705
678
|
|
|
706
679
|
## `aio app use [CONFIG_FILE_PATH]`
|
|
707
680
|
|
|
@@ -749,5 +722,5 @@ DESCRIPTION
|
|
|
749
722
|
page in https://developer.adobe.com/console/
|
|
750
723
|
```
|
|
751
724
|
|
|
752
|
-
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/
|
|
725
|
+
_See code: [src/commands/app/use.ts](https://github.com/adobe/aio-cli-plugin-app/blob/11.1.0-pre.2024-01-09.2e4115c3/src/commands/app/use.ts)_
|
|
753
726
|
<!-- commandsstop -->
|
|
@@ -17,37 +17,39 @@ const DOCKER_REPOS = { // repo-name:kind
|
|
|
17
17
|
'adobe-action-nodejs-v12': 'nodejs:12',
|
|
18
18
|
'adobe-action-nodejs-v14': 'nodejs:14',
|
|
19
19
|
'adobe-action-nodejs-v16': 'nodejs:16',
|
|
20
|
-
'adobe-action-nodejs-v18': 'nodejs:18'
|
|
20
|
+
'adobe-action-nodejs-v18': 'nodejs:18',
|
|
21
|
+
'adobe-action-nodejs-v20': 'nodejs:20'
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
const DEFAULT_KIND = 'nodejs:18'
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
const output = {
|
|
45
|
-
runtimes: {
|
|
46
|
-
nodejs
|
|
26
|
+
/** @private */
|
|
27
|
+
async function main () {
|
|
28
|
+
const nodejs = []
|
|
29
|
+
|
|
30
|
+
for (const [repoName, kind] of Object.entries(DOCKER_REPOS)) {
|
|
31
|
+
const data = await fetch(`https://registry.hub.docker.com/v2/repositories/${DOCKER_ORG}/${repoName}/tags`)
|
|
32
|
+
const json = await data.json()
|
|
33
|
+
const defaultKind = (kind === DEFAULT_KIND) ? true : undefined
|
|
34
|
+
|
|
35
|
+
nodejs.push({
|
|
36
|
+
kind,
|
|
37
|
+
default: defaultKind,
|
|
38
|
+
image: {
|
|
39
|
+
prefix: DOCKER_ORG,
|
|
40
|
+
name: repoName,
|
|
41
|
+
tag: json.results[0].name
|
|
47
42
|
}
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const output = {
|
|
47
|
+
runtimes: {
|
|
48
|
+
nodejs
|
|
48
49
|
}
|
|
49
|
-
console.log(JSON.stringify(output, null, 2))
|
|
50
50
|
}
|
|
51
|
+
console.log(JSON.stringify(output, null, 2))
|
|
52
|
+
}
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
main()
|
|
55
|
+
.catch(console.error)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"image": {
|
|
7
7
|
"prefix": "adobeapiplatform",
|
|
8
8
|
"name": "adobe-action-nodejs-v10",
|
|
9
|
-
"tag": "3.0.
|
|
9
|
+
"tag": "3.0.39"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"image": {
|
|
15
15
|
"prefix": "adobeapiplatform",
|
|
16
16
|
"name": "adobe-action-nodejs-v12",
|
|
17
|
-
"tag": "3.0.
|
|
17
|
+
"tag": "3.0.39"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
{
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"image": {
|
|
23
23
|
"prefix": "adobeapiplatform",
|
|
24
24
|
"name": "adobe-action-nodejs-v14",
|
|
25
|
-
"tag": "3.0.
|
|
25
|
+
"tag": "3.0.39"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"image": {
|
|
31
31
|
"prefix": "adobeapiplatform",
|
|
32
32
|
"name": "adobe-action-nodejs-v16",
|
|
33
|
-
"tag": "3.0.
|
|
33
|
+
"tag": "3.0.39"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -39,7 +39,15 @@
|
|
|
39
39
|
"image": {
|
|
40
40
|
"prefix": "adobeapiplatform",
|
|
41
41
|
"name": "adobe-action-nodejs-v18",
|
|
42
|
-
"tag": "3.0.
|
|
42
|
+
"tag": "3.0.39"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "nodejs:20",
|
|
47
|
+
"image": {
|
|
48
|
+
"prefix": "adobeapiplatform",
|
|
49
|
+
"name": "adobe-action-nodejs-v20",
|
|
50
|
+
"tag": "3.0.39"
|
|
43
51
|
}
|
|
44
52
|
}
|
|
45
53
|
]
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "11.1.0-pre.2024-01-09.2e4115c3",
|
|
3
3
|
"commands": {
|
|
4
4
|
"app:build": {
|
|
5
5
|
"id": "app:build",
|
|
@@ -235,11 +235,8 @@
|
|
|
235
235
|
"force-events": {
|
|
236
236
|
"name": "force-events",
|
|
237
237
|
"type": "boolean",
|
|
238
|
-
"description": "[default: false] Force event registrations and
|
|
238
|
+
"description": "[default: false] Force event registrations and delete any registrations not part of the config file",
|
|
239
239
|
"allowNo": true,
|
|
240
|
-
"dependsOn": [
|
|
241
|
-
"feature-event-hooks"
|
|
242
|
-
],
|
|
243
240
|
"exclusive": [
|
|
244
241
|
"action",
|
|
245
242
|
"publish"
|
|
@@ -250,13 +247,6 @@
|
|
|
250
247
|
"type": "boolean",
|
|
251
248
|
"description": "[default: true] Update log forwarding configuration on server",
|
|
252
249
|
"allowNo": true
|
|
253
|
-
},
|
|
254
|
-
"feature-event-hooks": {
|
|
255
|
-
"name": "feature-event-hooks",
|
|
256
|
-
"type": "boolean",
|
|
257
|
-
"description": "[default: false] Enable event hooks feature",
|
|
258
|
-
"hidden": true,
|
|
259
|
-
"allowNo": true
|
|
260
250
|
}
|
|
261
251
|
},
|
|
262
252
|
"args": {}
|
|
@@ -467,7 +457,8 @@
|
|
|
467
457
|
"description": "Extension point(s) to implement",
|
|
468
458
|
"multiple": true,
|
|
469
459
|
"exclusive": [
|
|
470
|
-
"template"
|
|
460
|
+
"template",
|
|
461
|
+
"repo"
|
|
471
462
|
]
|
|
472
463
|
},
|
|
473
464
|
"standalone-app": {
|
|
@@ -476,7 +467,8 @@
|
|
|
476
467
|
"description": "Create a stand-alone application",
|
|
477
468
|
"allowNo": false,
|
|
478
469
|
"exclusive": [
|
|
479
|
-
"template"
|
|
470
|
+
"template",
|
|
471
|
+
"repo"
|
|
480
472
|
]
|
|
481
473
|
},
|
|
482
474
|
"template": {
|
|
@@ -486,6 +478,26 @@
|
|
|
486
478
|
"description": "Specify a link to a template that will be installed",
|
|
487
479
|
"multiple": true
|
|
488
480
|
},
|
|
481
|
+
"org": {
|
|
482
|
+
"name": "org",
|
|
483
|
+
"type": "option",
|
|
484
|
+
"description": "Specify the Adobe Developer Console Org to init from",
|
|
485
|
+
"hidden": true,
|
|
486
|
+
"multiple": false,
|
|
487
|
+
"exclusive": [
|
|
488
|
+
"import"
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
"project": {
|
|
492
|
+
"name": "project",
|
|
493
|
+
"type": "option",
|
|
494
|
+
"description": "Specify the Adobe Developer Console Project to init from",
|
|
495
|
+
"hidden": true,
|
|
496
|
+
"multiple": false,
|
|
497
|
+
"exclusive": [
|
|
498
|
+
"import"
|
|
499
|
+
]
|
|
500
|
+
},
|
|
489
501
|
"workspace": {
|
|
490
502
|
"name": "workspace",
|
|
491
503
|
"type": "option",
|
|
@@ -503,6 +515,17 @@
|
|
|
503
515
|
"description": "Skip and confirm prompt for creating a new workspace",
|
|
504
516
|
"allowNo": false
|
|
505
517
|
},
|
|
518
|
+
"repo": {
|
|
519
|
+
"name": "repo",
|
|
520
|
+
"type": "option",
|
|
521
|
+
"description": "Init from gh quick-start repo. Expected to be of the form <owner>/<repo>/<path>",
|
|
522
|
+
"multiple": false,
|
|
523
|
+
"exclusive": [
|
|
524
|
+
"template",
|
|
525
|
+
"extension",
|
|
526
|
+
"standalone-app"
|
|
527
|
+
]
|
|
528
|
+
},
|
|
506
529
|
"use-jwt": {
|
|
507
530
|
"name": "use-jwt",
|
|
508
531
|
"type": "boolean",
|
|
@@ -548,6 +571,12 @@
|
|
|
548
571
|
"description": "The packaged app output folder path",
|
|
549
572
|
"multiple": false,
|
|
550
573
|
"default": "."
|
|
574
|
+
},
|
|
575
|
+
"tests": {
|
|
576
|
+
"name": "tests",
|
|
577
|
+
"type": "boolean",
|
|
578
|
+
"description": "Run packaged app unit tests (e.g. aio app:test)",
|
|
579
|
+
"allowNo": true
|
|
551
580
|
}
|
|
552
581
|
},
|
|
553
582
|
"args": {
|
|
@@ -667,7 +696,7 @@
|
|
|
667
696
|
"char": "o",
|
|
668
697
|
"description": "The packaged app output file path",
|
|
669
698
|
"multiple": false,
|
|
670
|
-
"default": "app.zip"
|
|
699
|
+
"default": "dist/app.zip"
|
|
671
700
|
}
|
|
672
701
|
},
|
|
673
702
|
"args": {
|
|
@@ -861,13 +890,6 @@
|
|
|
861
890
|
"exclusive": [
|
|
862
891
|
"unpublish"
|
|
863
892
|
]
|
|
864
|
-
},
|
|
865
|
-
"feature-event-hooks": {
|
|
866
|
-
"name": "feature-event-hooks",
|
|
867
|
-
"type": "boolean",
|
|
868
|
-
"description": "[default: false] Enable event hooks feature",
|
|
869
|
-
"hidden": true,
|
|
870
|
-
"allowNo": true
|
|
871
893
|
}
|
|
872
894
|
},
|
|
873
895
|
"args": {}
|
|
@@ -1106,12 +1128,6 @@
|
|
|
1106
1128
|
"char": "e",
|
|
1107
1129
|
"description": "Add events to a specific extension",
|
|
1108
1130
|
"multiple": false
|
|
1109
|
-
},
|
|
1110
|
-
"experimental-allow-events-templates": {
|
|
1111
|
-
"name": "experimental-allow-events-templates",
|
|
1112
|
-
"type": "boolean",
|
|
1113
|
-
"description": "Feature flag to enable events templates. NOTE: skip-prompt will have no effect if this flag is enabled.",
|
|
1114
|
-
"allowNo": false
|
|
1115
1131
|
}
|
|
1116
1132
|
},
|
|
1117
1133
|
"args": {}
|
|
@@ -1368,46 +1384,6 @@
|
|
|
1368
1384
|
},
|
|
1369
1385
|
"args": {}
|
|
1370
1386
|
},
|
|
1371
|
-
"app:delete:event": {
|
|
1372
|
-
"id": "app:delete:event",
|
|
1373
|
-
"description": "Delete existing Adobe I/O Events actions\n",
|
|
1374
|
-
"strict": true,
|
|
1375
|
-
"pluginName": "@adobe/aio-cli-plugin-app",
|
|
1376
|
-
"pluginAlias": "@adobe/aio-cli-plugin-app",
|
|
1377
|
-
"pluginType": "core",
|
|
1378
|
-
"aliases": [
|
|
1379
|
-
"app:delete:events"
|
|
1380
|
-
],
|
|
1381
|
-
"flags": {
|
|
1382
|
-
"verbose": {
|
|
1383
|
-
"name": "verbose",
|
|
1384
|
-
"type": "boolean",
|
|
1385
|
-
"char": "v",
|
|
1386
|
-
"description": "Verbose output",
|
|
1387
|
-
"allowNo": false
|
|
1388
|
-
},
|
|
1389
|
-
"version": {
|
|
1390
|
-
"name": "version",
|
|
1391
|
-
"type": "boolean",
|
|
1392
|
-
"description": "Show version",
|
|
1393
|
-
"allowNo": false
|
|
1394
|
-
},
|
|
1395
|
-
"yes": {
|
|
1396
|
-
"name": "yes",
|
|
1397
|
-
"type": "boolean",
|
|
1398
|
-
"char": "y",
|
|
1399
|
-
"description": "Skip questions, and use all default values",
|
|
1400
|
-
"allowNo": false
|
|
1401
|
-
}
|
|
1402
|
-
},
|
|
1403
|
-
"args": {
|
|
1404
|
-
"event-action-name": {
|
|
1405
|
-
"name": "event-action-name",
|
|
1406
|
-
"description": "Action `pkg/name` to delete, you can specify multiple actions via a comma separated list",
|
|
1407
|
-
"required": false
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
1387
|
"app:delete:extension": {
|
|
1412
1388
|
"id": "app:delete:extension",
|
|
1413
1389
|
"description": "Delete existing extensions\n",
|