@twilio-labs/plugin-flex 6.3.4-alpha.202404301214 → 6.3.4-alpha.202405090702
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 +22 -44
- package/dist/commands/flex/plugins/archive/configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/configuration.js +0 -6
- package/dist/commands/flex/plugins/archive/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin-version.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/plugin-version.js +0 -6
- package/dist/commands/flex/plugins/archive/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/plugin.js +0 -6
- package/dist/commands/flex/plugins/archive/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/build.d.ts +0 -4
- package/dist/commands/flex/plugins/build.js +0 -6
- package/dist/commands/flex/plugins/build.js.map +1 -1
- package/dist/commands/flex/plugins/create-configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/create-configuration.js +0 -6
- package/dist/commands/flex/plugins/create-configuration.js.map +1 -1
- package/dist/commands/flex/plugins/create.js +0 -8
- package/dist/commands/flex/plugins/create.js.map +1 -1
- package/dist/commands/flex/plugins/deploy.d.ts +1 -11
- package/dist/commands/flex/plugins/deploy.js +18 -73
- package/dist/commands/flex/plugins/deploy.js.map +1 -1
- package/dist/commands/flex/plugins/describe/configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/configuration.js +0 -6
- package/dist/commands/flex/plugins/describe/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin-version.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/plugin-version.js +0 -6
- package/dist/commands/flex/plugins/describe/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/plugin.js +0 -6
- package/dist/commands/flex/plugins/describe/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/describe/release.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/release.js +0 -6
- package/dist/commands/flex/plugins/describe/release.js.map +1 -1
- package/dist/commands/flex/plugins/diff.d.ts +0 -4
- package/dist/commands/flex/plugins/diff.js +0 -6
- package/dist/commands/flex/plugins/diff.js.map +1 -1
- package/dist/commands/flex/plugins/list/plugin-versions.d.ts +0 -4
- package/dist/commands/flex/plugins/list/plugin-versions.js +0 -6
- package/dist/commands/flex/plugins/list/plugin-versions.js.map +1 -1
- package/dist/commands/flex/plugins/list/plugins.d.ts +0 -4
- package/dist/commands/flex/plugins/list/plugins.js +0 -6
- package/dist/commands/flex/plugins/list/plugins.js.map +1 -1
- package/dist/commands/flex/plugins/list/releases.d.ts +0 -4
- package/dist/commands/flex/plugins/list/releases.js +0 -6
- package/dist/commands/flex/plugins/list/releases.js.map +1 -1
- package/dist/commands/flex/plugins/release.d.ts +0 -4
- package/dist/commands/flex/plugins/release.js +0 -6
- package/dist/commands/flex/plugins/release.js.map +1 -1
- package/dist/commands/flex/plugins/start.d.ts +0 -8
- package/dist/commands/flex/plugins/start.js +1 -13
- package/dist/commands/flex/plugins/start.js.map +1 -1
- package/dist/commands/flex/plugins/test.d.ts +0 -4
- package/dist/commands/flex/plugins/test.js +1 -7
- package/dist/commands/flex/plugins/test.js.map +1 -1
- package/dist/commands/flex/plugins/upgrade-plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/upgrade-plugin.js +0 -6
- package/dist/commands/flex/plugins/upgrade-plugin.js.map +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +5 -32
- package/dist/sub-commands/flex-plugin.js +1 -44
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +10 -18
- package/dist/commands/flex/plugins/validate.d.ts +0 -38
- package/dist/commands/flex/plugins/validate.js +0 -49
- package/dist/commands/flex/plugins/validate.js.map +0 -1
package/README.md
CHANGED
|
@@ -64,7 +64,6 @@ USAGE
|
|
|
64
64
|
* [`twilio flex:plugins:start`](#twilio-flexpluginsstart)
|
|
65
65
|
* [`twilio flex:plugins:test`](#twilio-flexpluginstest)
|
|
66
66
|
* [`twilio flex:plugins:upgrade-plugin`](#twilio-flexpluginsupgrade-plugin)
|
|
67
|
-
* [`twilio flex:plugins:validate`](#twilio-flexpluginsvalidate)
|
|
68
67
|
|
|
69
68
|
## `twilio flex:plugins:archive:configuration`
|
|
70
69
|
|
|
@@ -84,7 +83,7 @@ OPTIONS
|
|
|
84
83
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
85
84
|
```
|
|
86
85
|
|
|
87
|
-
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
86
|
+
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/archive/configuration.js)_
|
|
88
87
|
|
|
89
88
|
## `twilio flex:plugins:archive:plugin`
|
|
90
89
|
|
|
@@ -104,7 +103,7 @@ OPTIONS
|
|
|
104
103
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
105
104
|
```
|
|
106
105
|
|
|
107
|
-
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
106
|
+
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/archive/plugin.js)_
|
|
108
107
|
|
|
109
108
|
## `twilio flex:plugins:archive:plugin-version`
|
|
110
109
|
|
|
@@ -125,7 +124,7 @@ OPTIONS
|
|
|
125
124
|
--version=version (required) The Flex Plugin Version to archive.
|
|
126
125
|
```
|
|
127
126
|
|
|
128
|
-
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
127
|
+
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/archive/plugin-version.js)_
|
|
129
128
|
|
|
130
129
|
## `twilio flex:plugins:build`
|
|
131
130
|
|
|
@@ -144,7 +143,7 @@ OPTIONS
|
|
|
144
143
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
145
144
|
```
|
|
146
145
|
|
|
147
|
-
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
146
|
+
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/build.js)_
|
|
148
147
|
|
|
149
148
|
## `twilio flex:plugins:create NAME`
|
|
150
149
|
|
|
@@ -181,7 +180,7 @@ DESCRIPTION
|
|
|
181
180
|
name Name of your plugin. This command needs to be invoked inside a plugin directory.
|
|
182
181
|
```
|
|
183
182
|
|
|
184
|
-
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
183
|
+
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/create.js)_
|
|
185
184
|
|
|
186
185
|
## `twilio flex:plugins:create-configuration`
|
|
187
186
|
|
|
@@ -209,7 +208,7 @@ OPTIONS
|
|
|
209
208
|
|
|
210
209
|
--json Outputs the result of the command as json string.
|
|
211
210
|
|
|
212
|
-
--name=name (required) [default: Autogenerated Release
|
|
211
|
+
--name=name (required) [default: Autogenerated Release 1715238359407] The friendly name of the
|
|
213
212
|
Flex Plugin Configuration.
|
|
214
213
|
|
|
215
214
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing active
|
|
@@ -220,7 +219,7 @@ OPTIONS
|
|
|
220
219
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
221
220
|
```
|
|
222
221
|
|
|
223
|
-
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
222
|
+
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/create-configuration.js)_
|
|
224
223
|
|
|
225
224
|
## `twilio flex:plugins:deploy`
|
|
226
225
|
|
|
@@ -234,7 +233,6 @@ OPTIONS
|
|
|
234
233
|
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
235
234
|
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
236
235
|
-p, --profile=profile Shorthand identifier for your profile.
|
|
237
|
-
--bypass-validation Publishes the plugin even if validation step identifies issues in the plugin.
|
|
238
236
|
--changelog=changelog (required) The changes (added/removed) made in this plugin version.
|
|
239
237
|
--clear-terminal Clears the terminal before running the command.
|
|
240
238
|
--description=description The description of this Flex plugin.
|
|
@@ -247,7 +245,7 @@ OPTIONS
|
|
|
247
245
|
--version=version Publishes the version (SemVer).
|
|
248
246
|
```
|
|
249
247
|
|
|
250
|
-
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
248
|
+
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/deploy.js)_
|
|
251
249
|
|
|
252
250
|
## `twilio flex:plugins:describe:configuration`
|
|
253
251
|
|
|
@@ -267,7 +265,7 @@ OPTIONS
|
|
|
267
265
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
268
266
|
```
|
|
269
267
|
|
|
270
|
-
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
268
|
+
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/describe/configuration.js)_
|
|
271
269
|
|
|
272
270
|
## `twilio flex:plugins:describe:plugin`
|
|
273
271
|
|
|
@@ -287,7 +285,7 @@ OPTIONS
|
|
|
287
285
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
288
286
|
```
|
|
289
287
|
|
|
290
|
-
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
288
|
+
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/describe/plugin.js)_
|
|
291
289
|
|
|
292
290
|
## `twilio flex:plugins:describe:plugin-version`
|
|
293
291
|
|
|
@@ -308,7 +306,7 @@ OPTIONS
|
|
|
308
306
|
--version=version (required) The Flex Plugin Version to describe.
|
|
309
307
|
```
|
|
310
308
|
|
|
311
|
-
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
309
|
+
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/describe/plugin-version.js)_
|
|
312
310
|
|
|
313
311
|
## `twilio flex:plugins:describe:release`
|
|
314
312
|
|
|
@@ -329,7 +327,7 @@ OPTIONS
|
|
|
329
327
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
330
328
|
```
|
|
331
329
|
|
|
332
|
-
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
330
|
+
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/describe/release.js)_
|
|
333
331
|
|
|
334
332
|
## `twilio flex:plugins:diff ID1 [ID2]`
|
|
335
333
|
|
|
@@ -352,7 +350,7 @@ OPTIONS
|
|
|
352
350
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
353
351
|
```
|
|
354
352
|
|
|
355
|
-
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
353
|
+
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/diff.js)_
|
|
356
354
|
|
|
357
355
|
## `twilio flex:plugins:list:configurations`
|
|
358
356
|
|
|
@@ -371,7 +369,7 @@ OPTIONS
|
|
|
371
369
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
372
370
|
```
|
|
373
371
|
|
|
374
|
-
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
372
|
+
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/list/configurations.js)_
|
|
375
373
|
|
|
376
374
|
## `twilio flex:plugins:list:plugin-versions`
|
|
377
375
|
|
|
@@ -391,7 +389,7 @@ OPTIONS
|
|
|
391
389
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
392
390
|
```
|
|
393
391
|
|
|
394
|
-
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
392
|
+
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/list/plugin-versions.js)_
|
|
395
393
|
|
|
396
394
|
## `twilio flex:plugins:list:plugins`
|
|
397
395
|
|
|
@@ -410,7 +408,7 @@ OPTIONS
|
|
|
410
408
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
411
409
|
```
|
|
412
410
|
|
|
413
|
-
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
411
|
+
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/list/plugins.js)_
|
|
414
412
|
|
|
415
413
|
## `twilio flex:plugins:list:releases`
|
|
416
414
|
|
|
@@ -429,7 +427,7 @@ OPTIONS
|
|
|
429
427
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
430
428
|
```
|
|
431
429
|
|
|
432
|
-
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
430
|
+
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/list/releases.js)_
|
|
433
431
|
|
|
434
432
|
## `twilio flex:plugins:release`
|
|
435
433
|
|
|
@@ -460,7 +458,7 @@ OPTIONS
|
|
|
460
458
|
|
|
461
459
|
--json Outputs the result of the command as json string.
|
|
462
460
|
|
|
463
|
-
--name=name [default: Autogenerated Release
|
|
461
|
+
--name=name [default: Autogenerated Release 1715238359407] The friendly name of the Flex
|
|
464
462
|
Plugin Configuration.
|
|
465
463
|
|
|
466
464
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing
|
|
@@ -471,7 +469,7 @@ OPTIONS
|
|
|
471
469
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
472
470
|
```
|
|
473
471
|
|
|
474
|
-
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
472
|
+
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/release.js)_
|
|
475
473
|
|
|
476
474
|
## `twilio flex:plugins:start`
|
|
477
475
|
|
|
@@ -498,7 +496,7 @@ OPTIONS
|
|
|
498
496
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
499
497
|
```
|
|
500
498
|
|
|
501
|
-
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
499
|
+
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/start.js)_
|
|
502
500
|
|
|
503
501
|
## `twilio flex:plugins:test`
|
|
504
502
|
|
|
@@ -517,7 +515,7 @@ OPTIONS
|
|
|
517
515
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
518
516
|
```
|
|
519
517
|
|
|
520
|
-
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
518
|
+
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/test.js)_
|
|
521
519
|
|
|
522
520
|
## `twilio flex:plugins:upgrade-plugin`
|
|
523
521
|
|
|
@@ -549,25 +547,5 @@ OPTIONS
|
|
|
549
547
|
--yes If set, will answer yes to all prompts.
|
|
550
548
|
```
|
|
551
549
|
|
|
552
|
-
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.
|
|
553
|
-
|
|
554
|
-
## `twilio flex:plugins:validate`
|
|
555
|
-
|
|
556
|
-
Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.
|
|
557
|
-
|
|
558
|
-
```
|
|
559
|
-
USAGE
|
|
560
|
-
$ twilio flex:plugins:validate
|
|
561
|
-
|
|
562
|
-
OPTIONS
|
|
563
|
-
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
|
|
564
|
-
-o=(columns|json|tsv|none) [default: columns] Format of command output.
|
|
565
|
-
-p, --profile=profile Shorthand identifier for your profile.
|
|
566
|
-
--clear-terminal Clears the terminal before running the command.
|
|
567
|
-
--flex-ui-2.0 Validates the Flex plugin for compatibility with the latest Flex UI 2.x version.
|
|
568
|
-
--json Outputs the result of the command as json string.
|
|
569
|
-
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
_See code: [dist/commands/flex/plugins/validate.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202404301214/dist/commands/flex/plugins/validate.js)_
|
|
550
|
+
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v6.3.4-alpha.202405090702/dist/commands/flex/plugins/upgrade-plugin.js)_
|
|
573
551
|
<!-- commandsstop -->
|
|
@@ -47,12 +47,6 @@ class FlexPluginsArchiveConfiguration extends archive_resource_1.default {
|
|
|
47
47
|
getResourceType() {
|
|
48
48
|
return 'Flex Configuration';
|
|
49
49
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @override
|
|
52
|
-
*/
|
|
53
|
-
getTopicName() {
|
|
54
|
-
return FlexPluginsArchiveConfiguration.topicName;
|
|
55
|
-
}
|
|
56
50
|
}
|
|
57
51
|
exports.default = FlexPluginsArchiveConfiguration;
|
|
58
52
|
FlexPluginsArchiveConfiguration.topicName = 'flex:plugins:archive:configuration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/configuration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,+DAAiD;AACjD,iGAAwE;AACxE,uDAA8D;AAE9D,MAAqB,+BAAgC,SAAQ,0BAA8B;IAgBzF,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,+BAA+B,CAAC,CAAC,CAAC,KAAK,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,oBAAoB,CAAC;IAC9B,CAAC
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/configuration.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAGA,+DAAiD;AACjD,iGAAwE;AACxE,uDAA8D;AAE9D,MAAqB,+BAAgC,SAAQ,0BAA8B;IAgBzF,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,+BAA+B,CAAC,CAAC,CAAC,KAAK,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,OAAO,IAAI,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,eAAe;QACb,OAAO,oBAAoB,CAAC;IAC9B,CAAC;;AAvCH,kDAwCC;AAvCQ,yCAAS,GAAG,oCAAoC,CAAC;AAEjD,2CAAW,GAAG,2BAAiB,CAAC,+BAA+B,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE1F,qCAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,GAAG,EAAE,KAAK,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG;QAC5D,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -27,10 +27,6 @@ export default class FlexPluginsArchivePluginVersion extends ArchiveResource<Plu
|
|
|
27
27
|
* @override
|
|
28
28
|
*/
|
|
29
29
|
getResourceType(): string;
|
|
30
|
-
/**
|
|
31
|
-
* @override
|
|
32
|
-
*/
|
|
33
|
-
getTopicName(): string;
|
|
34
30
|
/**
|
|
35
31
|
* Archives the resource on flex-plugins-api service
|
|
36
32
|
* @private
|
|
@@ -74,12 +74,6 @@ class FlexPluginsArchivePluginVersion extends archive_resource_1.default {
|
|
|
74
74
|
getResourceType() {
|
|
75
75
|
return 'Flex Plugin Version';
|
|
76
76
|
}
|
|
77
|
-
/**
|
|
78
|
-
* @override
|
|
79
|
-
*/
|
|
80
|
-
getTopicName() {
|
|
81
|
-
return FlexPluginsArchivePluginVersion.topicName;
|
|
82
|
-
}
|
|
83
77
|
/**
|
|
84
78
|
* Archives the resource on flex-plugins-api service
|
|
85
79
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAkE;AAIlE,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAE1E,MAAqB,+BAAgC,SAAQ,0BAA8B;IAA3F;;
|
|
1
|
+
{"version":3,"file":"plugin-version.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin-version.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,2DAAkE;AAIlE,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAE1E,MAAqB,+BAAgC,SAAQ,0BAA8B;IAA3F;;QA8GE;;;;WAIG;QACH,uEAAuE;QACvE,wDAAwD;QAChD,sBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;YAC5C,MAAM,IAAI,GAAG,YAAY,IAAI,C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C,IAAI;QAC7D,QAAQ,EAAE,IAAI;KACf,CAAC,EACF,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QAChE,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -25,10 +25,6 @@ export default class FlexPluginsArchivePlugin extends ArchiveResource<Plugin> {
|
|
|
25
25
|
* @override
|
|
26
26
|
*/
|
|
27
27
|
getResourceType(): string;
|
|
28
|
-
/**
|
|
29
|
-
* @override
|
|
30
|
-
*/
|
|
31
|
-
getTopicName(): string;
|
|
32
28
|
/**
|
|
33
29
|
* Archives the resource on flex-plugins-api service
|
|
34
30
|
* @private
|
|
@@ -53,12 +53,6 @@ class FlexPluginsArchivePlugin extends archive_resource_1.default {
|
|
|
53
53
|
getResourceType() {
|
|
54
54
|
return 'Flex Plugin';
|
|
55
55
|
}
|
|
56
|
-
/**
|
|
57
|
-
* @override
|
|
58
|
-
*/
|
|
59
|
-
getTopicName() {
|
|
60
|
-
return FlexPluginsArchivePlugin.topicName;
|
|
61
|
-
}
|
|
62
56
|
/**
|
|
63
57
|
* Archives the resource on flex-plugins-api service
|
|
64
58
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../src/commands/flex/plugins/archive/plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,2DAAkF;AAElF,+DAAiD;AACjD,iGAAwE;AACxE,uDAA0E;AAQ1E,MAAqB,wBAAyB,SAAQ,0BAAuB;IAgB3E,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS;QACb,MAAM,eAAe,GAAG,6BAA6B,CAAC;QACtD,MAAM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AAc,CAAC,KAAK,EAAE,4BAA4B,EAAE,GAAG,CAAC,CAAC;aACpE;YACD,OAAO;SACR;QAED,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC7F,IAAI,CAAC,WAAW,EAAE;YAChB,IAAI,eAAe,EAAE;gBACnB,MAAM,IAAI,+BAAc,CAAC,KAAK,EAAE,4BAA4B,EAAE,GAAG,CAAC,CAAC;aACpE;YACD,OAAO;SACR;QAED,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;QAChG,IAAI,CAAC,YAAY,EAAE;YACjB,MAAM,IAAI,+BAAc,CACtB,4IAA4I,CAC7I,CAAC;SACH;IACH,CAAC;;AA3GH,2CA4GC;AA3GQ,kCAAS,GAAG,6BAA6B,CAAC;AAE1C,oCAAW,GAAG,2BAAiB,CAAC,wBAAwB,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAEnF,8BAAK,mCACP,0BAAe,CAAC,KAAK,KACxB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;QACtD,QAAQ,EAAE,IAAI;KACf,CAAC,IACF"}
|
|
@@ -26,12 +26,6 @@ class FlexPluginsBuild extends flex_plugin_1.default {
|
|
|
26
26
|
get checkCompatibility() {
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
30
|
-
* @override
|
|
31
|
-
*/
|
|
32
|
-
getTopicName() {
|
|
33
|
-
return FlexPluginsBuild.topicName;
|
|
34
|
-
}
|
|
35
29
|
}
|
|
36
30
|
exports.default = FlexPluginsBuild;
|
|
37
31
|
FlexPluginsBuild.topicName = 'flex:plugins:build';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/build.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE3D,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB;;GAEG;AACH,MAAqB,gBAAiB,SAAQ,qBAAU;IAStD;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC;QACtC,MAAM,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QACzC,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/build.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE3D,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB;;GAEG;AACH,MAAqB,gBAAiB,SAAQ,qBAAU;IAStD;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC;QACtC,MAAM,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QACzC,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACH,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;;AAvBH,mCAwBC;AAvBQ,0BAAS,GAAG,oBAAoB,CAAC;AAEjC,4BAAW,GAAG,2BAAiB,CAAC,gBAAgB,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAE1E,sBAAK,qBACP,SAAS,EACZ"}
|
|
@@ -25,12 +25,6 @@ class FlexPluginsCreateConfiguration extends create_configuration_1.default {
|
|
|
25
25
|
this._logger.info(`Run {{$ twilio flex:plugins:release --configuration-sid ${config.sid}}} to enable this configuration on your Flex instance`);
|
|
26
26
|
this._logger.newline();
|
|
27
27
|
}
|
|
28
|
-
/**
|
|
29
|
-
* @override
|
|
30
|
-
*/
|
|
31
|
-
getTopicName() {
|
|
32
|
-
return FlexPluginsCreateConfiguration.topicName;
|
|
33
|
-
}
|
|
34
28
|
}
|
|
35
29
|
exports.default = FlexPluginsCreateConfiguration;
|
|
36
30
|
FlexPluginsCreateConfiguration.topicName = 'flex:plugins:create-configuration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-configuration.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/create-configuration.ts"],"names":[],"mappings":";;;;;AACA,oDAA2D;AAC3D,sGAA6E;AAE7E;;GAEG;AACH,MAAqB,8BAA+B,SAAQ,8BAAmB;IAS7E,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B;QAC1E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QAE9D,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAElD,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,MAAM,CAAC,GAAG,6BAA6B,CAAC,CAAC;QACpF,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAEvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,IAAI,CACf,2DAA2D,MAAM,CAAC,GAAG,uDAAuD,CAC7H,CAAC;QACF,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IACzB,CAAC
|
|
1
|
+
{"version":3,"file":"create-configuration.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/create-configuration.ts"],"names":[],"mappings":";;;;;AACA,oDAA2D;AAC3D,sGAA6E;AAE7E;;GAEG;AACH,MAAqB,8BAA+B,SAAQ,8BAAmB;IAS7E,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B;QAC1E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;QAE9D,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAElD,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,MAAM,CAAC,GAAG,6BAA6B,CAAC,CAAC;QACpF,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAEvB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,IAAI,CACf,2DAA2D,MAAM,CAAC,GAAG,uDAAuD,CAC7H,CAAC;QACF,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IACzB,CAAC;;AA9BH,iDA+BC;AA9BQ,wCAAS,GAAG,mCAAmC,CAAC;AAEhD,0CAAW,GAAG,2BAAiB,CAAC,8BAA8B,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAExF,oCAAK,qBACP,8BAAmB,CAAC,KAAK,EAC5B"}
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const cli_core_1 = require("@twilio/cli-core");
|
|
7
7
|
const create_flex_plugin_1 = __importDefault(require("@twilio/create-flex-plugin"));
|
|
8
8
|
const command_1 = require("@oclif/command");
|
|
9
|
-
const flex_dev_utils_1 = require("@twilio/flex-dev-utils");
|
|
10
9
|
const general_1 = require("../../../utils/general");
|
|
11
10
|
/**
|
|
12
11
|
* Creates a new Flex plugin
|
|
@@ -55,15 +54,8 @@ class FlexPluginsCreate extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
55
54
|
* @returns {Promise<void>}
|
|
56
55
|
*/
|
|
57
56
|
async run() {
|
|
58
|
-
await super.run();
|
|
59
57
|
// @ts-ignore
|
|
60
58
|
const { flags: instanceFlags, args } = await this.parse(FlexPluginsCreate);
|
|
61
|
-
if (!instanceFlags.accountSid && this.currentProfile && this.currentProfile.accountSid) {
|
|
62
|
-
instanceFlags.accountSid = this.currentProfile.accountSid;
|
|
63
|
-
}
|
|
64
|
-
if (!flex_dev_utils_1.env.getRegion() && this.currentProfile && this.currentProfile.region) {
|
|
65
|
-
flex_dev_utils_1.env.setRegion(this.currentProfile.region);
|
|
66
|
-
}
|
|
67
59
|
const createFlexPlugin = new create_flex_plugin_1.default();
|
|
68
60
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
69
61
|
const scriptArgs = FlexPluginsCreate.toArgv(instanceFlags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/create.ts"],"names":[],"mappings":";;;;;AAAA,+CAAgD;AAChD,oFAA0D;AAC1D,4CAAuC;
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/create.ts"],"names":[],"mappings":";;;;;AAAA,+CAAgD;AAChD,oFAA0D;AAC1D,4CAAuC;AAGvC,oDAA2D;AAO3D;;GAEG;AACH,aAAa;AACb,oDAAoD;AACpD,MAAq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iB,CAAC,CAAC;QAE3E,MAAM,gBAAgB,GAAG,IAAI,4BAAgB,EAAE,CAAC;QAChD,8DAA8D;QAC9D,MAAM,UAAU,GAAG,iBAAiB,CAAC,MAAM,CAAC,aAAoB,CAAC,CAAC;QAClE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAE9B,MAAM,gBAAgB,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,UAAU;QACd,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC;IACpB,CAAC;;AA5EH,oCA6EC;AA5EQ,6BAAW,GAAG,2BAAiB,CAAC,4BAAgB,CAAC,WAAW,CAAC,CAAC;AAE9D,uBAAK,qBACP,iBAAiB,CAAC,UAAU,CAAC,4BAAgB,CAAC,KAAK,CAAC,EACvD;AAEK,sBAAI,GAAG;IACZ;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,4BAAgB,CAAC,WAAW;KAC1C;CACF,CAAC"}
|
|
@@ -28,17 +28,11 @@ export default class FlexPluginsDeploy extends FlexPlugin {
|
|
|
28
28
|
public: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
29
29
|
changelog: flags.IOptionFlag<string>;
|
|
30
30
|
description: flags.IOptionFlag<string | undefined>;
|
|
31
|
-
option: flags.IOptionFlag<string | undefined>;
|
|
32
|
-
'bypass-validation': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
33
31
|
json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
34
32
|
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
35
33
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
36
34
|
};
|
|
37
35
|
_flags: OutputFlags<typeof FlexPluginsDeploy.flags>;
|
|
38
|
-
options: {
|
|
39
|
-
fix: string;
|
|
40
|
-
deploy: string;
|
|
41
|
-
};
|
|
42
36
|
private prints;
|
|
43
37
|
private nextVersion?;
|
|
44
38
|
constructor(argv: string[], config: ConfigData, secureStorage: SecureStorage);
|
|
@@ -67,7 +61,7 @@ export default class FlexPluginsDeploy extends FlexPlugin {
|
|
|
67
61
|
* @param deployResult
|
|
68
62
|
* @returns {Promise}
|
|
69
63
|
*/
|
|
70
|
-
registerPluginVersion(deployResult: DeployResult
|
|
64
|
+
registerPluginVersion(deployResult: DeployResult): Promise<PluginVersionResource>;
|
|
71
65
|
/**
|
|
72
66
|
* Checks whether a Serverless instance exists or not. If not, will create one
|
|
73
67
|
*/
|
|
@@ -85,9 +79,5 @@ export default class FlexPluginsDeploy extends FlexPlugin {
|
|
|
85
79
|
* @override
|
|
86
80
|
*/
|
|
87
81
|
get checkCompatibility(): boolean;
|
|
88
|
-
/**
|
|
89
|
-
* @override
|
|
90
|
-
*/
|
|
91
|
-
getTopicName(): string;
|
|
92
82
|
}
|
|
93
83
|
export {};
|
|
@@ -51,21 +51,12 @@ exports.parseVersionInput = parseVersionInput;
|
|
|
51
51
|
const baseFlags = Object.assign({}, flex_plugin_1.default.flags);
|
|
52
52
|
// @ts-ignore
|
|
53
53
|
delete baseFlags.json;
|
|
54
|
-
var Options;
|
|
55
|
-
(function (Options) {
|
|
56
|
-
Options["Deploy"] = "deploy";
|
|
57
|
-
Options["Fix"] = "fix";
|
|
58
|
-
})(Options || (Options = {}));
|
|
59
54
|
/**
|
|
60
55
|
* Builds and then deploys the Flex Plugin
|
|
61
56
|
*/
|
|
62
57
|
class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
63
58
|
constructor(argv, config, secureStorage) {
|
|
64
59
|
super(argv, config, secureStorage, {});
|
|
65
|
-
this.options = {
|
|
66
|
-
[Options.Fix]: '1. Go back and fix these issues now (recommended)',
|
|
67
|
-
[Options.Deploy]: '2. Continue with the deployment, understanding the risks.',
|
|
68
|
-
};
|
|
69
60
|
this.nextVersion = undefined;
|
|
70
61
|
this.scriptArgs = [];
|
|
71
62
|
this.prints = this._prints.deploy;
|
|
@@ -81,56 +72,25 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
81
72
|
await this.checkForLegacy();
|
|
82
73
|
const args = ['--quiet', '--persist-terminal'];
|
|
83
74
|
const name = `**${this.pkg.name}**`;
|
|
84
|
-
await flex_dev_utils_1.progress(`
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
if (error) {
|
|
91
|
-
const err = error.timedOut
|
|
92
|
-
? 'Plugin validation timed out. Note: This may be an enterprise firewall issue.'
|
|
93
|
-
: 'Unable to validate the plugin at the moment.';
|
|
94
|
-
flex_dev_utils_1.logger.error(err);
|
|
95
|
-
flex_dev_utils_1.logger.warning('Continuing to deploy');
|
|
96
|
-
}
|
|
97
|
-
let shouldContinue = this._flags['bypass-validation'] || this._flags.option === Options.Deploy || violations.length === 0;
|
|
98
|
-
if (!shouldContinue && this._flags.option !== Options.Fix) {
|
|
99
|
-
const choice = await flex_dev_utils_1.choose({
|
|
100
|
-
name: 'deployment',
|
|
101
|
-
message: 'Ignoring these issues could lead to unstable or unexpected behavior. Would you like to:',
|
|
102
|
-
type: 'list',
|
|
103
|
-
}, Object.values(this.options));
|
|
104
|
-
shouldContinue = choice === this.options[Options.Deploy];
|
|
105
|
-
}
|
|
106
|
-
this.telemetryProperties = {
|
|
107
|
-
violations,
|
|
108
|
-
vtime: Math.round(vtime),
|
|
109
|
-
error,
|
|
110
|
-
bypassed: this._flags['bypass-validation'],
|
|
111
|
-
deployed: 0,
|
|
112
|
-
};
|
|
113
|
-
if (shouldContinue) {
|
|
114
|
-
await flex_dev_utils_1.progress(`Compiling a production build of ${name}`, async () => {
|
|
115
|
-
await this.runScript('pre-script-check', args);
|
|
116
|
-
const buildArgs = [...args];
|
|
117
|
-
if (this.nextVersion) {
|
|
118
|
-
buildArgs.push('--version', this.nextVersion);
|
|
119
|
-
}
|
|
120
|
-
return this.runScript('build', [...buildArgs]);
|
|
121
|
-
}, false);
|
|
122
|
-
const hasCollisionAndOverwrite = await this.hasCollisionAndOverwrite();
|
|
123
|
-
if (hasCollisionAndOverwrite) {
|
|
124
|
-
args.push('--overwrite');
|
|
75
|
+
await flex_dev_utils_1.progress(`Validating deployment of plugin ${name}`, async () => this.validatePlugin(), false);
|
|
76
|
+
await flex_dev_utils_1.progress(`Compiling a production build of ${name}`, async () => {
|
|
77
|
+
await this.runScript('pre-script-check', args);
|
|
78
|
+
const buildArgs = [...args];
|
|
79
|
+
if (this.nextVersion) {
|
|
80
|
+
buildArgs.push('--version', this.nextVersion);
|
|
125
81
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
this.prints.deploySuccessful(this.pkg.name, pluginVersion.private ? 'private' : 'public', deployedData, this.argv.includes('--profile') ? this.currentProfile.id : null);
|
|
132
|
-
this.telemetryProperties = Object.assign(Object.assign({}, this.telemetryProperties), { deployed: 1 });
|
|
82
|
+
return this.runScript('build', [...buildArgs]);
|
|
83
|
+
}, false);
|
|
84
|
+
const hasCollisionAndOverwrite = await this.hasCollisionAndOverwrite();
|
|
85
|
+
if (hasCollisionAndOverwrite) {
|
|
86
|
+
args.push('--overwrite');
|
|
133
87
|
}
|
|
88
|
+
await deploy_1._verifyFlexUIConfiguration();
|
|
89
|
+
const deployedData = await flex_dev_utils_1.progress(`Uploading ${name}`, async () => this.runScript('deploy', [...this.scriptArgs, ...args]), false);
|
|
90
|
+
await flex_dev_utils_1.progress(`Registering plugin ${name} with Plugins API`, async () => this.registerPlugin(), false);
|
|
91
|
+
const pluginVersion = await flex_dev_utils_1.progress(`Registering version **v${deployedData.nextVersion}** with Plugins API`, async () => this.registerPluginVersion(deployedData), false);
|
|
92
|
+
/* c8 ignore next */
|
|
93
|
+
this.prints.deploySuccessful(this.pkg.name, pluginVersion.private ? 'private' : 'public', deployedData, this.argv.includes('--profile') ? this.currentProfile.id : null);
|
|
134
94
|
}
|
|
135
95
|
/**
|
|
136
96
|
* Checks if there is already an uploaded asset with the same version and prompts user with an option to override if so
|
|
@@ -201,14 +161,12 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
201
161
|
* @param deployResult
|
|
202
162
|
* @returns {Promise}
|
|
203
163
|
*/
|
|
204
|
-
async registerPluginVersion(deployResult
|
|
164
|
+
async registerPluginVersion(deployResult) {
|
|
205
165
|
return this.pluginVersionsClient.create(this.pkg.name, {
|
|
206
166
|
Version: deployResult.nextVersion,
|
|
207
167
|
PluginUrl: deployResult.pluginUrl,
|
|
208
168
|
Private: !deployResult.isPublic,
|
|
209
169
|
Changelog: this._flags.changelog || '',
|
|
210
|
-
CliVersion: this.cliPkg.version || '',
|
|
211
|
-
ValidateStatus: validateErrorMsg || '',
|
|
212
170
|
});
|
|
213
171
|
}
|
|
214
172
|
/**
|
|
@@ -265,12 +223,6 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
|
|
|
265
223
|
get checkCompatibility() {
|
|
266
224
|
return true;
|
|
267
225
|
}
|
|
268
|
-
/**
|
|
269
|
-
* @override
|
|
270
|
-
*/
|
|
271
|
-
getTopicName() {
|
|
272
|
-
return FlexPluginsDeploy.topicName;
|
|
273
|
-
}
|
|
274
226
|
}
|
|
275
227
|
exports.default = FlexPluginsDeploy;
|
|
276
228
|
FlexPluginsDeploy.topicName = 'flex:plugins:deploy';
|
|
@@ -298,12 +250,5 @@ FlexPluginsDeploy.flags = Object.assign(Object.assign({}, baseFlags), { patch: f
|
|
|
298
250
|
}), description: flags.string({
|
|
299
251
|
description: FlexPluginsDeploy.topic.flags.description,
|
|
300
252
|
max: 500,
|
|
301
|
-
}), option: flags.string({
|
|
302
|
-
description: FlexPluginsDeploy.topic.flags.option,
|
|
303
|
-
options: [Options.Deploy, Options.Fix],
|
|
304
|
-
hidden: true,
|
|
305
|
-
}), 'bypass-validation': flags.boolean({
|
|
306
|
-
description: FlexPluginsDeploy.topic.flags['bypass-validation'],
|
|
307
|
-
default: false,
|
|
308
253
|
}) });
|
|
309
254
|
//# sourceMappingURL=deploy.js.map
|