@adobe/aio-cli-plugin-app 11.1.0 → 12.0.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 +96 -49
- package/oclif.manifest.json +37 -22
- package/package.json +22 -23
- package/src/BaseCommand.js +18 -27
- package/src/commands/app/add/action.js +2 -2
- package/src/commands/app/add/event.js +3 -3
- package/src/commands/app/add/extension.js +1 -1
- package/src/commands/app/add/web-assets.js +2 -2
- package/src/commands/app/build.js +3 -1
- package/src/commands/app/config/get/log-forwarding/errors.js +1 -1
- package/src/commands/app/config/get/log-forwarding.js +1 -1
- package/src/commands/app/config/set/log-forwarding.js +8 -3
- package/src/commands/app/delete/action.js +13 -10
- package/src/commands/app/delete/extension.js +7 -7
- package/src/commands/app/delete/web-assets.js +1 -1
- package/src/commands/app/deploy.js +12 -8
- package/src/commands/app/get-url.js +1 -1
- package/src/commands/app/info.js +1 -1
- package/src/commands/app/init.js +12 -6
- package/src/commands/app/install.js +13 -11
- package/src/commands/app/list/extension-points.js +1 -1
- package/src/commands/app/list/extension.js +1 -1
- package/src/commands/app/logs.js +1 -1
- package/src/commands/app/pack.js +4 -9
- package/src/commands/app/run.js +1 -1
- package/src/commands/app/test.js +1 -1
- package/src/commands/app/undeploy.js +2 -2
- package/src/commands/app/use.js +29 -12
- package/src/lib/log-forwarding.js +3 -4
package/README.md
CHANGED
|
@@ -46,9 +46,11 @@ $ aio app --help
|
|
|
46
46
|
* [`aio app get-url [ACTION]`](#aio-app-get-url-action)
|
|
47
47
|
* [`aio app info`](#aio-app-info)
|
|
48
48
|
* [`aio app init [PATH]`](#aio-app-init-path)
|
|
49
|
+
* [`aio app install PATH`](#aio-app-install-path)
|
|
49
50
|
* [`aio app list`](#aio-app-list)
|
|
50
51
|
* [`aio app list extension`](#aio-app-list-extension)
|
|
51
52
|
* [`aio app logs`](#aio-app-logs)
|
|
53
|
+
* [`aio app pack [PATH]`](#aio-app-pack-path)
|
|
52
54
|
* [`aio app run`](#aio-app-run)
|
|
53
55
|
* [`aio app test`](#aio-app-test)
|
|
54
56
|
* [`aio app undeploy`](#aio-app-undeploy)
|
|
@@ -70,7 +72,7 @@ DESCRIPTION
|
|
|
70
72
|
Create, run, test, and deploy Adobe I/O Apps
|
|
71
73
|
```
|
|
72
74
|
|
|
73
|
-
_See code: [src/commands/app/index.
|
|
75
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/index.js)_
|
|
74
76
|
|
|
75
77
|
## `aio app add`
|
|
76
78
|
|
|
@@ -88,7 +90,7 @@ DESCRIPTION
|
|
|
88
90
|
Add a new component to an existing Adobe I/O App
|
|
89
91
|
```
|
|
90
92
|
|
|
91
|
-
_See code: [src/commands/app/add/index.
|
|
93
|
+
_See code: [src/commands/app/add/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/index.js)_
|
|
92
94
|
|
|
93
95
|
## `aio app add action`
|
|
94
96
|
|
|
@@ -113,7 +115,7 @@ ALIASES
|
|
|
113
115
|
$ aio app add actions
|
|
114
116
|
```
|
|
115
117
|
|
|
116
|
-
_See code: [src/commands/app/add/action.
|
|
118
|
+
_See code: [src/commands/app/add/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/action.js)_
|
|
117
119
|
|
|
118
120
|
## `aio app add ci`
|
|
119
121
|
|
|
@@ -131,7 +133,7 @@ DESCRIPTION
|
|
|
131
133
|
Add CI files
|
|
132
134
|
```
|
|
133
135
|
|
|
134
|
-
_See code: [src/commands/app/add/ci.
|
|
136
|
+
_See code: [src/commands/app/add/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/ci.js)_
|
|
135
137
|
|
|
136
138
|
## `aio app add event`
|
|
137
139
|
|
|
@@ -156,7 +158,7 @@ ALIASES
|
|
|
156
158
|
$ aio app add events
|
|
157
159
|
```
|
|
158
160
|
|
|
159
|
-
_See code: [src/commands/app/add/event.
|
|
161
|
+
_See code: [src/commands/app/add/event.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/event.js)_
|
|
160
162
|
|
|
161
163
|
## `aio app add extension`
|
|
162
164
|
|
|
@@ -182,7 +184,7 @@ ALIASES
|
|
|
182
184
|
$ aio app add extensions
|
|
183
185
|
```
|
|
184
186
|
|
|
185
|
-
_See code: [src/commands/app/add/extension.
|
|
187
|
+
_See code: [src/commands/app/add/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/extension.js)_
|
|
186
188
|
|
|
187
189
|
## `aio app add service`
|
|
188
190
|
|
|
@@ -206,7 +208,7 @@ ALIASES
|
|
|
206
208
|
$ aio app add services
|
|
207
209
|
```
|
|
208
210
|
|
|
209
|
-
_See code: [src/commands/app/add/service.
|
|
211
|
+
_See code: [src/commands/app/add/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/service.js)_
|
|
210
212
|
|
|
211
213
|
## `aio app add web-assets`
|
|
212
214
|
|
|
@@ -227,7 +229,7 @@ DESCRIPTION
|
|
|
227
229
|
Add web assets support
|
|
228
230
|
```
|
|
229
231
|
|
|
230
|
-
_See code: [src/commands/app/add/web-assets.
|
|
232
|
+
_See code: [src/commands/app/add/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/add/web-assets.js)_
|
|
231
233
|
|
|
232
234
|
## `aio app build`
|
|
233
235
|
|
|
@@ -256,7 +258,7 @@ DESCRIPTION
|
|
|
256
258
|
This will always force a rebuild unless --no-force-build is set.
|
|
257
259
|
```
|
|
258
260
|
|
|
259
|
-
_See code: [src/commands/app/build.
|
|
261
|
+
_See code: [src/commands/app/build.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/build.js)_
|
|
260
262
|
|
|
261
263
|
## `aio app create [PATH]`
|
|
262
264
|
|
|
@@ -278,7 +280,7 @@ DESCRIPTION
|
|
|
278
280
|
Create a new Adobe I/O App with default parameters
|
|
279
281
|
```
|
|
280
282
|
|
|
281
|
-
_See code: [src/commands/app/create.
|
|
283
|
+
_See code: [src/commands/app/create.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/create.js)_
|
|
282
284
|
|
|
283
285
|
## `aio app delete`
|
|
284
286
|
|
|
@@ -296,7 +298,7 @@ DESCRIPTION
|
|
|
296
298
|
Delete a component from an existing Adobe I/O App
|
|
297
299
|
```
|
|
298
300
|
|
|
299
|
-
_See code: [src/commands/app/delete/index.
|
|
301
|
+
_See code: [src/commands/app/delete/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/index.js)_
|
|
300
302
|
|
|
301
303
|
## `aio app delete action [ACTION-NAME]`
|
|
302
304
|
|
|
@@ -322,7 +324,7 @@ ALIASES
|
|
|
322
324
|
$ aio app delete actions
|
|
323
325
|
```
|
|
324
326
|
|
|
325
|
-
_See code: [src/commands/app/delete/action.
|
|
327
|
+
_See code: [src/commands/app/delete/action.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/action.js)_
|
|
326
328
|
|
|
327
329
|
## `aio app delete ci`
|
|
328
330
|
|
|
@@ -341,7 +343,7 @@ DESCRIPTION
|
|
|
341
343
|
Delete existing CI files
|
|
342
344
|
```
|
|
343
345
|
|
|
344
|
-
_See code: [src/commands/app/delete/ci.
|
|
346
|
+
_See code: [src/commands/app/delete/ci.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/ci.js)_
|
|
345
347
|
|
|
346
348
|
## `aio app delete extension`
|
|
347
349
|
|
|
@@ -367,7 +369,7 @@ ALIASES
|
|
|
367
369
|
$ aio app delete extensions
|
|
368
370
|
```
|
|
369
371
|
|
|
370
|
-
_See code: [src/commands/app/delete/extension.
|
|
372
|
+
_See code: [src/commands/app/delete/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/extension.js)_
|
|
371
373
|
|
|
372
374
|
## `aio app delete service`
|
|
373
375
|
|
|
@@ -391,7 +393,7 @@ ALIASES
|
|
|
391
393
|
$ aio app delete services
|
|
392
394
|
```
|
|
393
395
|
|
|
394
|
-
_See code: [src/commands/app/delete/service.
|
|
396
|
+
_See code: [src/commands/app/delete/service.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/service.js)_
|
|
395
397
|
|
|
396
398
|
## `aio app delete web-assets`
|
|
397
399
|
|
|
@@ -410,7 +412,7 @@ DESCRIPTION
|
|
|
410
412
|
Delete existing web assets
|
|
411
413
|
```
|
|
412
414
|
|
|
413
|
-
_See code: [src/commands/app/delete/web-assets.
|
|
415
|
+
_See code: [src/commands/app/delete/web-assets.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/delete/web-assets.js)_
|
|
414
416
|
|
|
415
417
|
## `aio app deploy`
|
|
416
418
|
|
|
@@ -419,8 +421,8 @@ Build and deploy an Adobe I/O App
|
|
|
419
421
|
```
|
|
420
422
|
USAGE
|
|
421
423
|
$ aio app deploy [-v] [--version] [--actions | -a <value>] [--web-assets] [--force-build | ] [--content-hash]
|
|
422
|
-
[--web-optimize] [-e <value> | ] [--build] [--open] [--force-deploy
|
|
423
|
-
|
|
424
|
+
[--web-optimize] [-e <value> | ] [--build] [--open] [--force-deploy | --publish | --force-publish] [--force-events |
|
|
425
|
+
| ] [--log-forwarding-update]
|
|
424
426
|
|
|
425
427
|
FLAGS
|
|
426
428
|
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will set
|
|
@@ -451,7 +453,7 @@ DESCRIPTION
|
|
|
451
453
|
This will always force a rebuild unless --no-force-build is set.
|
|
452
454
|
```
|
|
453
455
|
|
|
454
|
-
_See code: [src/commands/app/deploy.
|
|
456
|
+
_See code: [src/commands/app/deploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/deploy.js)_
|
|
455
457
|
|
|
456
458
|
## `aio app get-url [ACTION]`
|
|
457
459
|
|
|
@@ -474,7 +476,7 @@ DESCRIPTION
|
|
|
474
476
|
Get action URLs
|
|
475
477
|
```
|
|
476
478
|
|
|
477
|
-
_See code: [src/commands/app/get-url.
|
|
479
|
+
_See code: [src/commands/app/get-url.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/get-url.js)_
|
|
478
480
|
|
|
479
481
|
## `aio app info`
|
|
480
482
|
|
|
@@ -496,7 +498,7 @@ DESCRIPTION
|
|
|
496
498
|
Display settings/configuration in use by an Adobe I/O App
|
|
497
499
|
```
|
|
498
500
|
|
|
499
|
-
_See code: [src/commands/app/info.
|
|
501
|
+
_See code: [src/commands/app/info.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/info.js)_
|
|
500
502
|
|
|
501
503
|
## `aio app init [PATH]`
|
|
502
504
|
|
|
@@ -505,33 +507,57 @@ Create a new Adobe I/O App
|
|
|
505
507
|
```
|
|
506
508
|
USAGE
|
|
507
509
|
$ 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]
|
|
510
|
+
[--standalone-app | | ] [-w <value> | -i <value>] [--confirm-new-workspace] [--use-jwt] [--github-pat <value> ]
|
|
509
511
|
|
|
510
512
|
ARGUMENTS
|
|
511
513
|
PATH [default: .] Path to the app directory
|
|
512
514
|
|
|
513
515
|
FLAGS
|
|
514
|
-
-e, --extension=<value>...
|
|
515
|
-
-i, --import=<value>
|
|
516
|
-
-t, --template=<value>...
|
|
517
|
-
-v, --verbose
|
|
518
|
-
-w, --workspace=<value>
|
|
519
|
-
|
|
520
|
-
-y, --yes
|
|
521
|
-
--confirm-new-workspace
|
|
522
|
-
--
|
|
523
|
-
--[no-]
|
|
524
|
-
--
|
|
525
|
-
--
|
|
526
|
-
--
|
|
527
|
-
|
|
528
|
-
|
|
516
|
+
-e, --extension=<value>... Extension point(s) to implement
|
|
517
|
+
-i, --import=<value> Import an Adobe I/O Developer Console configuration file
|
|
518
|
+
-t, --template=<value>... Specify a link to a template that will be installed
|
|
519
|
+
-v, --verbose Verbose output
|
|
520
|
+
-w, --workspace=<value> [default: Stage] Specify the Adobe Developer Console Workspace to init from, defaults to
|
|
521
|
+
Stage
|
|
522
|
+
-y, --yes Skip questions, and use all default values
|
|
523
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
524
|
+
--github-pat=<value> github personal access token to use for downloading private quickstart repos
|
|
525
|
+
--[no-]install [default: true] Run npm installation after files are created
|
|
526
|
+
--[no-]login Login using your Adobe ID for interacting with Adobe I/O Developer Console
|
|
527
|
+
--repo=<value> Init from gh quick-start repo. Expected to be of the form <owner>/<repo>/<path>
|
|
528
|
+
--standalone-app Create a stand-alone application
|
|
529
|
+
--use-jwt if the config has both jwt and OAuth Server to Server Credentials (while migrating),
|
|
530
|
+
prefer the JWT credentials
|
|
531
|
+
--version Show version
|
|
529
532
|
|
|
530
533
|
DESCRIPTION
|
|
531
534
|
Create a new Adobe I/O App
|
|
532
535
|
```
|
|
533
536
|
|
|
534
|
-
_See code: [src/commands/app/init.
|
|
537
|
+
_See code: [src/commands/app/init.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/init.js)_
|
|
538
|
+
|
|
539
|
+
## `aio app install PATH`
|
|
540
|
+
|
|
541
|
+
This command will support installing apps packaged by 'aio app pack'.
|
|
542
|
+
|
|
543
|
+
```
|
|
544
|
+
USAGE
|
|
545
|
+
$ aio app install PATH [-v] [--version] [-o <value>] [--tests]
|
|
546
|
+
|
|
547
|
+
ARGUMENTS
|
|
548
|
+
PATH Path to the app package to install
|
|
549
|
+
|
|
550
|
+
FLAGS
|
|
551
|
+
-o, --output=<value> [default: .] The packaged app output folder path
|
|
552
|
+
-v, --verbose Verbose output
|
|
553
|
+
--[no-]tests Run packaged app unit tests (e.g. aio app:test)
|
|
554
|
+
--version Show version
|
|
555
|
+
|
|
556
|
+
DESCRIPTION
|
|
557
|
+
This command will support installing apps packaged by 'aio app pack'.
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
_See code: [src/commands/app/install.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/install.js)_
|
|
535
561
|
|
|
536
562
|
## `aio app list`
|
|
537
563
|
|
|
@@ -549,7 +575,7 @@ DESCRIPTION
|
|
|
549
575
|
List components for Adobe I/O App
|
|
550
576
|
```
|
|
551
577
|
|
|
552
|
-
_See code: [src/commands/app/list/index.
|
|
578
|
+
_See code: [src/commands/app/list/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/list/index.js)_
|
|
553
579
|
|
|
554
580
|
## `aio app list extension`
|
|
555
581
|
|
|
@@ -574,7 +600,7 @@ ALIASES
|
|
|
574
600
|
$ aio app list extensions
|
|
575
601
|
```
|
|
576
602
|
|
|
577
|
-
_See code: [src/commands/app/list/extension.
|
|
603
|
+
_See code: [src/commands/app/list/extension.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/list/extension.js)_
|
|
578
604
|
|
|
579
605
|
## `aio app logs`
|
|
580
606
|
|
|
@@ -598,7 +624,29 @@ DESCRIPTION
|
|
|
598
624
|
Fetch logs for an Adobe I/O App
|
|
599
625
|
```
|
|
600
626
|
|
|
601
|
-
_See code: [src/commands/app/logs.
|
|
627
|
+
_See code: [src/commands/app/logs.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/logs.js)_
|
|
628
|
+
|
|
629
|
+
## `aio app pack [PATH]`
|
|
630
|
+
|
|
631
|
+
This command will support packaging apps for redistribution.
|
|
632
|
+
|
|
633
|
+
```
|
|
634
|
+
USAGE
|
|
635
|
+
$ aio app pack [PATH] [-v] [--version] [-o <value>]
|
|
636
|
+
|
|
637
|
+
ARGUMENTS
|
|
638
|
+
PATH [default: .] Path to the app directory to package
|
|
639
|
+
|
|
640
|
+
FLAGS
|
|
641
|
+
-o, --output=<value> [default: dist/app.zip] The packaged app output file path
|
|
642
|
+
-v, --verbose Verbose output
|
|
643
|
+
--version Show version
|
|
644
|
+
|
|
645
|
+
DESCRIPTION
|
|
646
|
+
This command will support packaging apps for redistribution.
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
_See code: [src/commands/app/pack.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/pack.js)_
|
|
602
650
|
|
|
603
651
|
## `aio app run`
|
|
604
652
|
|
|
@@ -621,7 +669,7 @@ DESCRIPTION
|
|
|
621
669
|
Run an Adobe I/O App
|
|
622
670
|
```
|
|
623
671
|
|
|
624
|
-
_See code: [src/commands/app/run.
|
|
672
|
+
_See code: [src/commands/app/run.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/run.js)_
|
|
625
673
|
|
|
626
674
|
## `aio app test`
|
|
627
675
|
|
|
@@ -649,7 +697,7 @@ DESCRIPTION
|
|
|
649
697
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
650
698
|
```
|
|
651
699
|
|
|
652
|
-
_See code: [src/commands/app/test.
|
|
700
|
+
_See code: [src/commands/app/test.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/test.js)_
|
|
653
701
|
|
|
654
702
|
## `aio app undeploy`
|
|
655
703
|
|
|
@@ -674,7 +722,7 @@ DESCRIPTION
|
|
|
674
722
|
Undeploys an Adobe I/O App
|
|
675
723
|
```
|
|
676
724
|
|
|
677
|
-
_See code: [src/commands/app/undeploy.
|
|
725
|
+
_See code: [src/commands/app/undeploy.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/undeploy.js)_
|
|
678
726
|
|
|
679
727
|
## `aio app use [CONFIG_FILE_PATH]`
|
|
680
728
|
|
|
@@ -682,8 +730,8 @@ Import an Adobe Developer Console configuration file.
|
|
|
682
730
|
|
|
683
731
|
```
|
|
684
732
|
USAGE
|
|
685
|
-
$ aio app use [CONFIG_FILE_PATH] [-v] [--version] [--overwrite | --merge] [
|
|
686
|
-
|
|
733
|
+
$ aio app use [CONFIG_FILE_PATH] [-v] [--version] [--overwrite | --merge] [-g | -w <value>]
|
|
734
|
+
[--confirm-new-workspace] [--no-service-sync | --confirm-service-sync] [--no-input] [--use-jwt]
|
|
687
735
|
|
|
688
736
|
ARGUMENTS
|
|
689
737
|
CONFIG_FILE_PATH path to an Adobe I/O Developer Console configuration file
|
|
@@ -694,8 +742,7 @@ FLAGS
|
|
|
694
742
|
-v, --verbose Verbose output
|
|
695
743
|
-w, --workspace=<value> Specify the Adobe Developer Console Workspace name or Workspace id to import the
|
|
696
744
|
configuration from
|
|
697
|
-
-
|
|
698
|
-
--confirm-new-workspace Skip and confirm prompt for creating a new workspace
|
|
745
|
+
--[no-]confirm-new-workspace Prompt to confirm before creating a new workspace
|
|
699
746
|
--confirm-service-sync Skip the Service sync prompt and overwrite Service subscriptions in the new Workspace
|
|
700
747
|
with current subscriptions
|
|
701
748
|
--merge Merge any .aio and .env files during import of the Adobe Developer Console configuration
|
|
@@ -722,5 +769,5 @@ DESCRIPTION
|
|
|
722
769
|
page in https://developer.adobe.com/console/
|
|
723
770
|
```
|
|
724
771
|
|
|
725
|
-
_See code: [src/commands/app/use.
|
|
772
|
+
_See code: [src/commands/app/use.js](https://github.com/adobe/aio-cli-plugin-app/blob/12.0.1/src/commands/app/use.js)_
|
|
726
773
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "12.0.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"app:build": {
|
|
5
5
|
"id": "app:build",
|
|
@@ -220,7 +220,11 @@
|
|
|
220
220
|
"name": "force-deploy",
|
|
221
221
|
"type": "boolean",
|
|
222
222
|
"description": "[default: false] Force deploy changes, regardless of production Workspace being published in Exchange.",
|
|
223
|
-
"allowNo": false
|
|
223
|
+
"allowNo": false,
|
|
224
|
+
"exclusive": [
|
|
225
|
+
"publish",
|
|
226
|
+
"force-publish"
|
|
227
|
+
]
|
|
224
228
|
},
|
|
225
229
|
"force-publish": {
|
|
226
230
|
"name": "force-publish",
|
|
@@ -512,8 +516,8 @@
|
|
|
512
516
|
"confirm-new-workspace": {
|
|
513
517
|
"name": "confirm-new-workspace",
|
|
514
518
|
"type": "boolean",
|
|
515
|
-
"description": "
|
|
516
|
-
"allowNo":
|
|
519
|
+
"description": "Prompt to confirm before creating a new workspace",
|
|
520
|
+
"allowNo": true
|
|
517
521
|
},
|
|
518
522
|
"repo": {
|
|
519
523
|
"name": "repo",
|
|
@@ -531,6 +535,15 @@
|
|
|
531
535
|
"type": "boolean",
|
|
532
536
|
"description": "if the config has both jwt and OAuth Server to Server Credentials (while migrating), prefer the JWT credentials",
|
|
533
537
|
"allowNo": false
|
|
538
|
+
},
|
|
539
|
+
"github-pat": {
|
|
540
|
+
"name": "github-pat",
|
|
541
|
+
"type": "option",
|
|
542
|
+
"description": "github personal access token to use for downloading private quickstart repos",
|
|
543
|
+
"multiple": false,
|
|
544
|
+
"dependsOn": [
|
|
545
|
+
"repo"
|
|
546
|
+
]
|
|
534
547
|
}
|
|
535
548
|
},
|
|
536
549
|
"args": {
|
|
@@ -543,12 +556,11 @@
|
|
|
543
556
|
},
|
|
544
557
|
"app:install": {
|
|
545
558
|
"id": "app:install",
|
|
546
|
-
"description": "
|
|
559
|
+
"description": "This command will support installing apps packaged by '<%= config.bin %> app pack'.\n",
|
|
547
560
|
"strict": true,
|
|
548
561
|
"pluginName": "@adobe/aio-cli-plugin-app",
|
|
549
562
|
"pluginAlias": "@adobe/aio-cli-plugin-app",
|
|
550
563
|
"pluginType": "core",
|
|
551
|
-
"hidden": true,
|
|
552
564
|
"aliases": [],
|
|
553
565
|
"flags": {
|
|
554
566
|
"verbose": {
|
|
@@ -571,6 +583,12 @@
|
|
|
571
583
|
"description": "The packaged app output folder path",
|
|
572
584
|
"multiple": false,
|
|
573
585
|
"default": "."
|
|
586
|
+
},
|
|
587
|
+
"tests": {
|
|
588
|
+
"name": "tests",
|
|
589
|
+
"type": "boolean",
|
|
590
|
+
"description": "Run packaged app unit tests (e.g. aio app:test)",
|
|
591
|
+
"allowNo": true
|
|
574
592
|
}
|
|
575
593
|
},
|
|
576
594
|
"args": {
|
|
@@ -663,12 +681,11 @@
|
|
|
663
681
|
},
|
|
664
682
|
"app:pack": {
|
|
665
683
|
"id": "app:pack",
|
|
666
|
-
"description": "
|
|
684
|
+
"description": "This command will support packaging apps for redistribution.\n",
|
|
667
685
|
"strict": true,
|
|
668
686
|
"pluginName": "@adobe/aio-cli-plugin-app",
|
|
669
687
|
"pluginAlias": "@adobe/aio-cli-plugin-app",
|
|
670
688
|
"pluginType": "core",
|
|
671
|
-
"hidden": true,
|
|
672
689
|
"aliases": [],
|
|
673
690
|
"flags": {
|
|
674
691
|
"verbose": {
|
|
@@ -953,20 +970,18 @@
|
|
|
953
970
|
"confirm-new-workspace": {
|
|
954
971
|
"name": "confirm-new-workspace",
|
|
955
972
|
"type": "boolean",
|
|
956
|
-
"description": "
|
|
957
|
-
"allowNo":
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
],
|
|
969
|
-
"default": ""
|
|
973
|
+
"description": "Prompt to confirm before creating a new workspace",
|
|
974
|
+
"allowNo": true,
|
|
975
|
+
"relationships": [
|
|
976
|
+
{
|
|
977
|
+
"type": "all",
|
|
978
|
+
"flags": [
|
|
979
|
+
{
|
|
980
|
+
"name": "workspace"
|
|
981
|
+
}
|
|
982
|
+
]
|
|
983
|
+
}
|
|
984
|
+
]
|
|
970
985
|
},
|
|
971
986
|
"no-service-sync": {
|
|
972
987
|
"name": "no-service-sync",
|
package/package.json
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-cli-plugin-app",
|
|
3
3
|
"description": "Create, Build and Deploy Adobe I/O Applications",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "12.0.1",
|
|
5
5
|
"author": "Adobe Inc.",
|
|
6
6
|
"bugs": "https://github.com/adobe/aio-cli-plugin-app/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@adobe/aio-cli-lib-app-config": "^
|
|
9
|
-
"@adobe/aio-cli-lib-
|
|
10
|
-
"@adobe/aio-
|
|
11
|
-
"@adobe/aio-lib-core-
|
|
12
|
-
"@adobe/aio-lib-core-
|
|
13
|
-
"@adobe/aio-lib-
|
|
14
|
-
"@adobe/aio-lib-
|
|
15
|
-
"@adobe/aio-lib-
|
|
16
|
-
"@adobe/aio-lib-
|
|
17
|
-
"@adobe/aio-lib-
|
|
18
|
-
"@adobe/aio-
|
|
19
|
-
"@adobe/generator-
|
|
20
|
-
"@adobe/
|
|
21
|
-
"@adobe/inquirer-table-checkbox": "^1.2.0",
|
|
22
|
-
"@octokit/rest": "^19.0.11",
|
|
8
|
+
"@adobe/aio-cli-lib-app-config": "^4",
|
|
9
|
+
"@adobe/aio-cli-lib-console": "^5",
|
|
10
|
+
"@adobe/aio-lib-core-config": "^5",
|
|
11
|
+
"@adobe/aio-lib-core-logging": "^3",
|
|
12
|
+
"@adobe/aio-lib-core-networking": "^5",
|
|
13
|
+
"@adobe/aio-lib-env": "^3",
|
|
14
|
+
"@adobe/aio-lib-ims": "^7",
|
|
15
|
+
"@adobe/aio-lib-runtime": "^6",
|
|
16
|
+
"@adobe/aio-lib-templates": "^3",
|
|
17
|
+
"@adobe/aio-lib-web": "^7",
|
|
18
|
+
"@adobe/generator-aio-app": "^7",
|
|
19
|
+
"@adobe/generator-app-common-lib": "^2",
|
|
20
|
+
"@adobe/inquirer-table-checkbox": "^2",
|
|
23
21
|
"@oclif/core": "^2.11.6",
|
|
22
|
+
"@octokit/rest": "^19.0.11",
|
|
24
23
|
"@parcel/core": "^2.7.0",
|
|
25
24
|
"@parcel/reporter-cli": "^2.7.0",
|
|
26
25
|
"ajv": "^8",
|
|
@@ -39,6 +38,7 @@
|
|
|
39
38
|
"hyperlinker": "^1.0.0",
|
|
40
39
|
"inquirer": "^8",
|
|
41
40
|
"js-yaml": "^4.1.0",
|
|
41
|
+
"junk": "^3.1.0",
|
|
42
42
|
"lodash.clonedeep": "^4.5.0",
|
|
43
43
|
"node-abort-controller": "^3.1.1",
|
|
44
44
|
"node-fetch": "^2.6.7",
|
|
@@ -49,13 +49,12 @@
|
|
|
49
49
|
"term-size": "^2.2.1",
|
|
50
50
|
"unzipper": "^0.10.11",
|
|
51
51
|
"upath": "^2",
|
|
52
|
-
"
|
|
53
|
-
"which": "^3.0.0",
|
|
52
|
+
"which": "^4.0.0",
|
|
54
53
|
"yeoman-environment": "^3.2.0"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
|
-
"@adobe/aio-lib-test-proxy": "^
|
|
58
|
-
"@adobe/eslint-config-aio-lib-config": "^
|
|
56
|
+
"@adobe/aio-lib-test-proxy": "^2",
|
|
57
|
+
"@adobe/eslint-config-aio-lib-config": "^3.0.0",
|
|
59
58
|
"@types/jest": "^29",
|
|
60
59
|
"babel-runtime": "^6.26.0",
|
|
61
60
|
"core-js": "^3",
|
|
@@ -71,11 +70,10 @@
|
|
|
71
70
|
"jest": "^29.5.0",
|
|
72
71
|
"nock": "^13.2.9",
|
|
73
72
|
"oclif": "^3.2.0",
|
|
74
|
-
"stdout-stderr": "^0.1.9"
|
|
75
|
-
"typescript": "^5.1.6"
|
|
73
|
+
"stdout-stderr": "^0.1.9"
|
|
76
74
|
},
|
|
77
75
|
"engines": {
|
|
78
|
-
"node": "
|
|
76
|
+
"node": ">=18"
|
|
79
77
|
},
|
|
80
78
|
"files": [
|
|
81
79
|
"bin/run",
|
|
@@ -100,6 +98,7 @@
|
|
|
100
98
|
"scripts": {
|
|
101
99
|
"postpack": "rm -f oclif.manifest.json",
|
|
102
100
|
"lint": "eslint src test",
|
|
101
|
+
"lint-fix": "npm run lint -- --fix",
|
|
103
102
|
"prepack": "oclif manifest && oclif readme --no-aliases",
|
|
104
103
|
"test": "npm run unit-tests && npm run lint",
|
|
105
104
|
"unit-tests": "jest -c jest.config.js",
|