@twilio-labs/plugin-flex 5.0.6 → 5.0.7-alpha.202205251813
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 +25 -22
- package/dist/commands/flex/plugins/create.js.map +1 -1
- package/dist/commands/flex/plugins/upgrade-plugin.d.ts +11 -6
- package/dist/commands/flex/plugins/upgrade-plugin.js +70 -19
- package/dist/commands/flex/plugins/upgrade-plugin.js.map +1 -1
- package/dist/prints/index.d.ts +2 -0
- package/dist/prints/upgradePlugin.d.ts +2 -0
- package/dist/prints/upgradePlugin.js +19 -0
- package/dist/prints/upgradePlugin.js.map +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +7 -0
- package/dist/sub-commands/flex-plugin.js +13 -0
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ OPTIONS
|
|
|
81
81
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
84
|
+
_See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/archive/configuration.js)_
|
|
85
85
|
|
|
86
86
|
## `twilio flex:plugins:archive:plugin`
|
|
87
87
|
|
|
@@ -99,7 +99,7 @@ OPTIONS
|
|
|
99
99
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
102
|
+
_See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/archive/plugin.js)_
|
|
103
103
|
|
|
104
104
|
## `twilio flex:plugins:archive:plugin-version`
|
|
105
105
|
|
|
@@ -118,7 +118,7 @@ OPTIONS
|
|
|
118
118
|
--version=version (required) The Flex Plugin Version to archive.
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
121
|
+
_See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/archive/plugin-version.js)_
|
|
122
122
|
|
|
123
123
|
## `twilio flex:plugins:build`
|
|
124
124
|
|
|
@@ -135,7 +135,7 @@ OPTIONS
|
|
|
135
135
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
138
|
+
_See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/build.js)_
|
|
139
139
|
|
|
140
140
|
## `twilio flex:plugins:create NAME`
|
|
141
141
|
|
|
@@ -160,13 +160,15 @@ OPTIONS
|
|
|
160
160
|
-t, --template=template A GitHub URL that contains your template
|
|
161
161
|
-v, --version=version
|
|
162
162
|
-y, --yarn Use yarn as your dependency manager
|
|
163
|
+
--flexui1 Creates a plugin compatible with Flex UI major version 1.0
|
|
164
|
+
--flexui2 Creates a plugin compatible with Flex UI major version 2.0
|
|
163
165
|
|
|
164
166
|
DESCRIPTION
|
|
165
167
|
Arguments:
|
|
166
168
|
name Name of your plugin. This command needs to be invoked inside a plugin directory.
|
|
167
169
|
```
|
|
168
170
|
|
|
169
|
-
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
171
|
+
_See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/create.js)_
|
|
170
172
|
|
|
171
173
|
## `twilio flex:plugins:create-configuration`
|
|
172
174
|
|
|
@@ -191,7 +193,7 @@ OPTIONS
|
|
|
191
193
|
as a shortcut for enabling the latest version of the plugin. Use additional
|
|
192
194
|
--enable-plugin to provide other plugins to enable.
|
|
193
195
|
|
|
194
|
-
--name=name (required) [default: Autogenerated Release
|
|
196
|
+
--name=name (required) [default: Autogenerated Release 1653502656917] The friendly name of the
|
|
195
197
|
Flex Plugin Configuration.
|
|
196
198
|
|
|
197
199
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing active
|
|
@@ -202,7 +204,7 @@ OPTIONS
|
|
|
202
204
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
203
205
|
```
|
|
204
206
|
|
|
205
|
-
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
207
|
+
_See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/create-configuration.js)_
|
|
206
208
|
|
|
207
209
|
## `twilio flex:plugins:deploy`
|
|
208
210
|
|
|
@@ -226,7 +228,7 @@ OPTIONS
|
|
|
226
228
|
--version=version Publishes the version (SemVer).
|
|
227
229
|
```
|
|
228
230
|
|
|
229
|
-
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
231
|
+
_See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/deploy.js)_
|
|
230
232
|
|
|
231
233
|
## `twilio flex:plugins:describe:configuration`
|
|
232
234
|
|
|
@@ -245,7 +247,7 @@ OPTIONS
|
|
|
245
247
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
246
248
|
```
|
|
247
249
|
|
|
248
|
-
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
250
|
+
_See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/describe/configuration.js)_
|
|
249
251
|
|
|
250
252
|
## `twilio flex:plugins:describe:plugin`
|
|
251
253
|
|
|
@@ -264,7 +266,7 @@ OPTIONS
|
|
|
264
266
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
265
267
|
```
|
|
266
268
|
|
|
267
|
-
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
269
|
+
_See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/describe/plugin.js)_
|
|
268
270
|
|
|
269
271
|
## `twilio flex:plugins:describe:plugin-version`
|
|
270
272
|
|
|
@@ -284,7 +286,7 @@ OPTIONS
|
|
|
284
286
|
--version=version (required) The Flex Plugin Version to describe.
|
|
285
287
|
```
|
|
286
288
|
|
|
287
|
-
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
289
|
+
_See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/describe/plugin-version.js)_
|
|
288
290
|
|
|
289
291
|
## `twilio flex:plugins:describe:release`
|
|
290
292
|
|
|
@@ -304,7 +306,7 @@ OPTIONS
|
|
|
304
306
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
305
307
|
```
|
|
306
308
|
|
|
307
|
-
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
309
|
+
_See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/describe/release.js)_
|
|
308
310
|
|
|
309
311
|
## `twilio flex:plugins:diff ID1 [ID2]`
|
|
310
312
|
|
|
@@ -325,7 +327,7 @@ OPTIONS
|
|
|
325
327
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
326
328
|
```
|
|
327
329
|
|
|
328
|
-
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
330
|
+
_See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/diff.js)_
|
|
329
331
|
|
|
330
332
|
## `twilio flex:plugins:list:configurations`
|
|
331
333
|
|
|
@@ -343,7 +345,7 @@ OPTIONS
|
|
|
343
345
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
344
346
|
```
|
|
345
347
|
|
|
346
|
-
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
348
|
+
_See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/list/configurations.js)_
|
|
347
349
|
|
|
348
350
|
## `twilio flex:plugins:list:plugin-versions`
|
|
349
351
|
|
|
@@ -362,7 +364,7 @@ OPTIONS
|
|
|
362
364
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
363
365
|
```
|
|
364
366
|
|
|
365
|
-
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
367
|
+
_See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/list/plugin-versions.js)_
|
|
366
368
|
|
|
367
369
|
## `twilio flex:plugins:list:plugins`
|
|
368
370
|
|
|
@@ -380,7 +382,7 @@ OPTIONS
|
|
|
380
382
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
381
383
|
```
|
|
382
384
|
|
|
383
|
-
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
385
|
+
_See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/list/plugins.js)_
|
|
384
386
|
|
|
385
387
|
## `twilio flex:plugins:list:releases`
|
|
386
388
|
|
|
@@ -398,7 +400,7 @@ OPTIONS
|
|
|
398
400
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
399
401
|
```
|
|
400
402
|
|
|
401
|
-
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
403
|
+
_See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/list/releases.js)_
|
|
402
404
|
|
|
403
405
|
## `twilio flex:plugins:release`
|
|
404
406
|
|
|
@@ -426,7 +428,7 @@ OPTIONS
|
|
|
426
428
|
pluginName@latest as a shortcut for enabling the latest version of the plugin.
|
|
427
429
|
Use additional --enable-plugin to provide other plugins to enable.
|
|
428
430
|
|
|
429
|
-
--name=name [default: Autogenerated Release
|
|
431
|
+
--name=name [default: Autogenerated Release 1653502656917] The friendly name of the Flex
|
|
430
432
|
Plugin Configuration.
|
|
431
433
|
|
|
432
434
|
--new Creates a new Flex Plugin Configuration, otherwise will append to existing
|
|
@@ -437,7 +439,7 @@ OPTIONS
|
|
|
437
439
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
438
440
|
```
|
|
439
441
|
|
|
440
|
-
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
442
|
+
_See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/release.js)_
|
|
441
443
|
|
|
442
444
|
## `twilio flex:plugins:start`
|
|
443
445
|
|
|
@@ -462,7 +464,7 @@ OPTIONS
|
|
|
462
464
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
463
465
|
```
|
|
464
466
|
|
|
465
|
-
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
467
|
+
_See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/start.js)_
|
|
466
468
|
|
|
467
469
|
## `twilio flex:plugins:test`
|
|
468
470
|
|
|
@@ -479,7 +481,7 @@ OPTIONS
|
|
|
479
481
|
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
|
|
480
482
|
```
|
|
481
483
|
|
|
482
|
-
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
484
|
+
_See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/test.js)_
|
|
483
485
|
|
|
484
486
|
## `twilio flex:plugins:upgrade-plugin`
|
|
485
487
|
|
|
@@ -495,6 +497,7 @@ OPTIONS
|
|
|
495
497
|
--beta If set, will upgrade to the latest beta version.
|
|
496
498
|
--clear-terminal Clears the terminal before running the command.
|
|
497
499
|
--dev If set, will upgrade to the latest dev version.
|
|
500
|
+
--flex-ui-2.0 Update your plugin dependencies to be compatible with Flex UI 2.0.
|
|
498
501
|
--install If set, will install the dependencies.
|
|
499
502
|
--nightly If set, will upgrade to the latest nightly version.
|
|
500
503
|
|
|
@@ -508,5 +511,5 @@ OPTIONS
|
|
|
508
511
|
--yes If set, will answer yes to all prompts.
|
|
509
512
|
```
|
|
510
513
|
|
|
511
|
-
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.
|
|
514
|
+
_See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v5.0.7-alpha.202205251813/dist/commands/flex/plugins/upgrade-plugin.js)_
|
|
512
515
|
<!-- commandsstop -->
|
|
@@ -1 +1 @@
|
|
|
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,MAAqB,iBAAkB,SAAQ,uBAAY,CAAC,mBAAmB;IAe7E,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B;QAC1E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAEnC,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,UAAU,CAAC,KAAY;QAC5B,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;YAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;YACvB,MAAM,QAAQ,GAAG,GAAG,CAAC,IAAI,IAAI,QAAQ,CAAC;YAEtC,MAAM,CAAC,GAAG,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAC,CAAC;gBAC5B,IAAI,EAAE,GAAG,CAAC,KAAK;gBACf,WAAW,EAAE,GAAG,CAAC,QAAQ;gBACzB,OAAO,EAAE,GAAG,CAAC,OAAO;gBACpB,QAAQ,EAAE,KAAK;aAChB,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC;QAChB,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,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AI;QACd,WAAW,EAAE,4BAAgB,CAAC,WAAW;KAC1C;CACF,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import packageJson from 'package-json';
|
|
2
1
|
import { flags } from '@oclif/parser';
|
|
3
2
|
import { OutputFlags } from '@oclif/parser/lib/parse';
|
|
4
3
|
import FlexPlugin, { ConfigData, PkgCallback, SecureStorage } from '../../../sub-commands/flex-plugin';
|
|
@@ -27,13 +26,15 @@ export default class FlexPluginsUpgradePlugin extends FlexPlugin {
|
|
|
27
26
|
nightly: flags.IBooleanFlag<boolean>;
|
|
28
27
|
yarn: flags.IBooleanFlag<boolean>;
|
|
29
28
|
yes: flags.IBooleanFlag<boolean>;
|
|
29
|
+
'flex-ui-2.0': flags.IBooleanFlag<boolean>;
|
|
30
30
|
json: flags.IBooleanFlag<boolean>;
|
|
31
31
|
'clear-terminal': flags.IBooleanFlag<boolean>;
|
|
32
32
|
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
33
33
|
};
|
|
34
34
|
private static cracoConfigSha;
|
|
35
|
-
private static pluginBuilderScripts;
|
|
36
35
|
private static packagesToRemove;
|
|
36
|
+
private static packagesToRemoveFlexUI2;
|
|
37
|
+
private static packageVersionsFlexUI2;
|
|
37
38
|
private prints;
|
|
38
39
|
constructor(argv: string[], config: ConfigData, secureStorage: SecureStorage);
|
|
39
40
|
/**
|
|
@@ -56,6 +57,10 @@ export default class FlexPluginsUpgradePlugin extends FlexPlugin {
|
|
|
56
57
|
* Upgrades the packages to the latest version
|
|
57
58
|
*/
|
|
58
59
|
upgradeToLatest(): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Upgrades the packages to the latest version needed for flexui 2.0
|
|
62
|
+
*/
|
|
63
|
+
upgradeToFlexUI2(flexUIVersion: string): Promise<void>;
|
|
59
64
|
/**
|
|
60
65
|
* Removes craco.config.js file
|
|
61
66
|
*/
|
|
@@ -86,11 +91,11 @@ export default class FlexPluginsUpgradePlugin extends FlexPlugin {
|
|
|
86
91
|
removeLegacyPlugin(): Promise<void>;
|
|
87
92
|
getDependencyUpdates(): DependencyUpdates;
|
|
88
93
|
/**
|
|
89
|
-
* Returns the
|
|
90
|
-
*
|
|
91
|
-
* @param
|
|
94
|
+
* Returns the dependencies which need to be removed and installed for the plugin
|
|
95
|
+
* to be compatible with flex ui 2.0
|
|
96
|
+
* @param flexUIVersion the flex ui version retrieved for 2.0
|
|
92
97
|
*/
|
|
93
|
-
|
|
98
|
+
getDependencyUpdatesFlexUI2(flexUIVersion: string): DependencyUpdates;
|
|
94
99
|
/**
|
|
95
100
|
* Returns the flex-plugin-scripts version from the plugin
|
|
96
101
|
*/
|
|
@@ -26,7 +26,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
const path_1 = __importStar(require("path"));
|
|
27
27
|
const rimraf_1 = __importDefault(require("rimraf"));
|
|
28
28
|
const fs_1 = require("@twilio/flex-dev-utils/dist/fs");
|
|
29
|
-
const package_json_1 = __importDefault(require("package-json"));
|
|
30
29
|
const parser_1 = require("@oclif/parser");
|
|
31
30
|
const flex_dev_utils_1 = require("@twilio/flex-dev-utils");
|
|
32
31
|
const spawn_1 = require("@twilio/flex-dev-utils/dist/spawn");
|
|
@@ -34,6 +33,7 @@ const flex_plugin_1 = __importDefault(require("../../../sub-commands/flex-plugin
|
|
|
34
33
|
const general_1 = require("../../../utils/general");
|
|
35
34
|
const appConfig = 'appConfig.js';
|
|
36
35
|
const crackoConfig = 'craco.config.js';
|
|
36
|
+
const flexUI = '@twilio/flex-ui';
|
|
37
37
|
const flexPluginScript = '@twilio/flex-plugin-scripts';
|
|
38
38
|
const flexPlugin = '@twilio/flex-plugin';
|
|
39
39
|
const baseFlags = Object.assign({}, flex_plugin_1.default.flags);
|
|
@@ -53,13 +53,15 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
53
53
|
*/
|
|
54
54
|
async doRun() {
|
|
55
55
|
var _a;
|
|
56
|
+
if (this.flexUIVersion >= 2 && !this._flags['flex-ui-2.0']) {
|
|
57
|
+
throw new flex_dev_utils_1.TwilioCliError('Incomplete arguments passed. As your plugin is compatible with Flex UI 2.0, pass the argument --flex-ui-2.0 to upgrade it to use the latest version of cli compatible with Flex UI 2.0');
|
|
58
|
+
}
|
|
56
59
|
if (this._flags['remove-legacy-plugin']) {
|
|
57
60
|
await this.removeLegacyPlugin();
|
|
58
61
|
this.prints.removeLegacyPluginSucceeded(this.pkg.name);
|
|
59
62
|
return;
|
|
60
63
|
}
|
|
61
|
-
|
|
62
|
-
await this.prints.upgradeNotification(this._flags.yes, pkgJson.version);
|
|
64
|
+
await this.prints.upgradeNotification(this._flags.yes);
|
|
63
65
|
const currentPkgVersion = this.pkgVersion;
|
|
64
66
|
switch (currentPkgVersion) {
|
|
65
67
|
case 1:
|
|
@@ -80,10 +82,16 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
80
82
|
this.prints.manualUpgrade(Object.keys(files));
|
|
81
83
|
return;
|
|
82
84
|
}
|
|
85
|
+
const pkgJson = await flex_dev_utils_1.packages.getRegistryVersion(flexPluginScript, this._flags.beta ? 'beta' : 'latest');
|
|
83
86
|
const latestVersion = pkgJson ? (_a = flex_dev_utils_1.semver.coerce(pkgJson.version)) === null || _a === void 0 ? void 0 : _a.major : 0;
|
|
84
87
|
if (currentPkgVersion !== latestVersion) {
|
|
85
88
|
await this.cleanupNodeModules();
|
|
86
89
|
}
|
|
90
|
+
if (this._flags['flex-ui-2.0']) {
|
|
91
|
+
const flexUI2Version = await flex_dev_utils_1.packages.getLatestFlexUIVersion(2);
|
|
92
|
+
await this.upgradeToFlexUI2(flexUI2Version);
|
|
93
|
+
this.prints.flexUIUpdateSucceeded();
|
|
94
|
+
}
|
|
87
95
|
await this.npmInstall();
|
|
88
96
|
this.prints.scriptSucceeded(!this._flags.install);
|
|
89
97
|
}
|
|
@@ -149,6 +157,13 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
149
157
|
this.prints.upgradeToLatest();
|
|
150
158
|
await this.updatePackageJson(this.getDependencyUpdates());
|
|
151
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Upgrades the packages to the latest version needed for flexui 2.0
|
|
162
|
+
*/
|
|
163
|
+
async upgradeToFlexUI2(flexUIVersion) {
|
|
164
|
+
this.prints.upgradeToFlexUI2();
|
|
165
|
+
await this.updatePackageJson(this.getDependencyUpdatesFlexUI2(flexUIVersion));
|
|
166
|
+
}
|
|
152
167
|
/**
|
|
153
168
|
* Removes craco.config.js file
|
|
154
169
|
*/
|
|
@@ -251,7 +266,7 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
251
266
|
continue;
|
|
252
267
|
}
|
|
253
268
|
// Now find the latest
|
|
254
|
-
const scriptPkg = await
|
|
269
|
+
const scriptPkg = await flex_dev_utils_1.packages.getRegistryVersion(dep, beta ? 'beta' : 'latest');
|
|
255
270
|
if (!scriptPkg) {
|
|
256
271
|
this.prints.packageNotFound(dep);
|
|
257
272
|
this.exit(1);
|
|
@@ -365,22 +380,43 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
365
380
|
[flexPluginScript]: '*',
|
|
366
381
|
react,
|
|
367
382
|
'react-dom': react,
|
|
368
|
-
'react-emotion': '9.2.12',
|
|
369
383
|
},
|
|
370
384
|
devDeps: {
|
|
371
|
-
|
|
385
|
+
[flexUI]: '^1',
|
|
372
386
|
'react-test-renderer': react,
|
|
373
387
|
},
|
|
374
388
|
};
|
|
375
389
|
}
|
|
376
390
|
/**
|
|
377
|
-
* Returns the
|
|
378
|
-
*
|
|
379
|
-
* @param
|
|
391
|
+
* Returns the dependencies which need to be removed and installed for the plugin
|
|
392
|
+
* to be compatible with flex ui 2.0
|
|
393
|
+
* @param flexUIVersion the flex ui version retrieved for 2.0
|
|
380
394
|
*/
|
|
381
|
-
|
|
382
|
-
const
|
|
383
|
-
|
|
395
|
+
getDependencyUpdatesFlexUI2(flexUIVersion) {
|
|
396
|
+
const packagesToRemove = [];
|
|
397
|
+
const packagesToInstall = {};
|
|
398
|
+
const { pkg } = this;
|
|
399
|
+
// Find which packages must be removed and which counterpart must be installed in place of it
|
|
400
|
+
Object.entries(FlexPluginsUpgradePlugin.packagesToRemoveFlexUI2).forEach(([remove, replace]) => {
|
|
401
|
+
if (pkg.dependencies[remove]) {
|
|
402
|
+
packagesToRemove.push(remove);
|
|
403
|
+
packagesToInstall[replace] = FlexPluginsUpgradePlugin.packageVersionsFlexUI2[replace];
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
// Find which packages must be upgraded
|
|
407
|
+
Object.entries(FlexPluginsUpgradePlugin.packageVersionsFlexUI2).forEach(([dep, version]) => {
|
|
408
|
+
if (pkg.dependencies[dep]) {
|
|
409
|
+
packagesToInstall[dep] = version;
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
return {
|
|
413
|
+
remove: packagesToRemove,
|
|
414
|
+
deps: packagesToInstall,
|
|
415
|
+
devDeps: {
|
|
416
|
+
[flexUI]: flexUIVersion,
|
|
417
|
+
'react-test-renderer': '17.0.2',
|
|
418
|
+
},
|
|
419
|
+
};
|
|
384
420
|
}
|
|
385
421
|
/**
|
|
386
422
|
* Returns the flex-plugin-scripts version from the plugin
|
|
@@ -389,12 +425,8 @@ class FlexPluginsUpgradePlugin extends flex_plugin_1.default {
|
|
|
389
425
|
var _a;
|
|
390
426
|
const pkg = this.pkg.dependencies[flexPluginScript] ||
|
|
391
427
|
this.pkg.devDependencies[flexPluginScript] ||
|
|
392
|
-
this.pkg.dependencies['flex-plugin-scripts'] ||
|
|
393
|
-
this.pkg.devDependencies['flex-plugin-scripts'] ||
|
|
394
428
|
this.pkg.dependencies[flexPlugin] ||
|
|
395
|
-
this.pkg.devDependencies[flexPlugin]
|
|
396
|
-
this.pkg.dependencies['flex-plugin'] ||
|
|
397
|
-
this.pkg.devDependencies['flex-plugin'];
|
|
429
|
+
this.pkg.devDependencies[flexPlugin];
|
|
398
430
|
if (!pkg) {
|
|
399
431
|
throw new flex_dev_utils_1.TwilioCliError(`Package '${flexPluginScript}' was not found`);
|
|
400
432
|
}
|
|
@@ -424,12 +456,12 @@ FlexPluginsUpgradePlugin.flags = Object.assign(Object.assign({}, baseFlags), { '
|
|
|
424
456
|
description: FlexPluginsUpgradePlugin.topic.flags.yarn,
|
|
425
457
|
}), yes: parser_1.flags.boolean({
|
|
426
458
|
description: FlexPluginsUpgradePlugin.topic.flags.yes,
|
|
459
|
+
}), 'flex-ui-2.0': parser_1.flags.boolean({
|
|
460
|
+
description: FlexPluginsUpgradePlugin.topic.flags.flexui2,
|
|
427
461
|
}) });
|
|
428
462
|
FlexPluginsUpgradePlugin.cracoConfigSha = '4a8ecfec7b70da88a0849b7b0163808b2cc46eee08c9ab599c8aa3525ff01546';
|
|
429
|
-
FlexPluginsUpgradePlugin.pluginBuilderScripts = [flexPluginScript, flexPlugin];
|
|
430
463
|
FlexPluginsUpgradePlugin.packagesToRemove = [
|
|
431
464
|
flexPluginScript,
|
|
432
|
-
'flex-plugin-scripts',
|
|
433
465
|
'react-app-rewire-flex-plugin',
|
|
434
466
|
'react-app-rewired',
|
|
435
467
|
'react-scripts',
|
|
@@ -451,4 +483,23 @@ FlexPluginsUpgradePlugin.packagesToRemove = [
|
|
|
451
483
|
'@types/react-redux',
|
|
452
484
|
flexPlugin,
|
|
453
485
|
];
|
|
486
|
+
FlexPluginsUpgradePlugin.packagesToRemoveFlexUI2 = {
|
|
487
|
+
'react-router': 'react-router-dom',
|
|
488
|
+
'react-router-redux': 'react-router-dom',
|
|
489
|
+
emotion: '@emotion/css',
|
|
490
|
+
'emotion-theming': '@emotion/react',
|
|
491
|
+
'react-emotion': '@emotion/react',
|
|
492
|
+
'create-emotion-styled': '@emotion/styled',
|
|
493
|
+
};
|
|
494
|
+
FlexPluginsUpgradePlugin.packageVersionsFlexUI2 = {
|
|
495
|
+
react: '17.0.2',
|
|
496
|
+
'react-dom': '17.0.2',
|
|
497
|
+
'react-redux': '^7.2.2',
|
|
498
|
+
redux: '^4.0.5',
|
|
499
|
+
'react-router-dom': '^5.2.0',
|
|
500
|
+
'@emotion/css': '^11.1.3',
|
|
501
|
+
'@emotion/react': '^11.1.5',
|
|
502
|
+
'@emotion/styled': '^11.1.5',
|
|
503
|
+
'@material-ui/core': '^4.11.3',
|
|
504
|
+
};
|
|
454
505
|
//# sourceMappingURL=upgrade-plugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-plugin.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/upgrade-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAmD;AACnD,6CAAkC;AAElC,oDAA4B;AAC5B,uDASwC;AACxC,gEAAuC;AACvC,0CAAsC;AACtC,2DAA0F;AAC1F,6DAA0D;AAG1D,oFAAuG;AACvG,oDAAuE;AAEvE,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,YAAY,GAAG,iBAAiB,CAAC;AAEvC,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AACvD,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAezC,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB;;GAEG;AACH,MAAqB,wBAAyB,SAAQ,qBAAU;IA8D9D,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B;QAC1E,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,CAAC,CAAC;QAEvC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;QACzC,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvC,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;;QACT,IAAI,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE;YACvC,MAA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AW,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI;KACvD,CAAC,EACF,GAAG,EAAE,cAAK,CAAC,OAAO,CAAC;QACjB,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG;KACtD,CAAC,IACF;AAEa,uCAAc,GAAG,kEAAkE,CAAC;AAEpF,6CAAoB,GAAG,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;AAEtD,yCAAgB,GAAG;IAChC,gBAAgB;IAChB,qBAAqB;IACrB,8BAA8B;IAC9B,mBAAmB;IACnB,eAAe;IACf,QAAQ;IACR,gBAAgB;IAChB,yBAAyB;IACzB,eAAe;IACf,cAAc;IACd,0BAA0B;IAC1B,QAAQ;IACR,qBAAqB;IACrB,eAAe;IACf,QAAQ;IACR,eAAe;IACf,aAAa;IACb,aAAa;IACb,cAAc;IACd,kBAAkB;IAClB,oBAAoB;IACpB,UAAU;CACX,CAAC"}
|
|
1
|
+
{"version":3,"file":"upgrade-plugin.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/upgrade-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAmD;AACnD,6CAAkC;AAElC,oDAA4B;AAC5B,uDASwC;AACxC,0CAAsC;AACtC,2DAAoG;AACpG,6DAA0D;AAG1D,oFAAuG;AACvG,oDAAuE;AAEvE,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,YAAY,GAAG,iBAAiB,CAAC;AAEvC,MAAM,MAAM,GAAG,iBAAiB,CAAC;AACjC,MAAM,gBAAgB,GAAG,6BAA6B,CAAC;AACvD,MAAM,UAAU,GAAG,qBAAqB,CAAC;AAezC,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAEtB;;GAEG;AACH,MAAqB,wBAAyB,SAAQ,qBAAU;IAmF9D,YAAY,IAAc,EAAE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,gBAAgB,EAAE,SAAS;IAC3B,iBAAiB,EAAE,SAAS;IAC5B,mBAAmB,EAAE,SAAS;CAC/B,CAAC"}
|
package/dist/prints/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ declare const _default: (logger: Logger) => {
|
|
|
5
5
|
scriptStarted: (version: string) => void;
|
|
6
6
|
upgradeToLatest: () => void;
|
|
7
7
|
scriptSucceeded: (needsInstall: boolean) => void;
|
|
8
|
+
flexUIUpdateSucceeded: () => void;
|
|
9
|
+
upgradeToFlexUI2: () => void;
|
|
8
10
|
updatePluginUrl: (newline: boolean) => void;
|
|
9
11
|
cannotRemoveCraco: (newline: boolean) => void;
|
|
10
12
|
packageNotFound: (pkg: string) => void;
|
|
@@ -4,6 +4,8 @@ declare const _default: (logger: Logger) => {
|
|
|
4
4
|
scriptStarted: (version: string) => void;
|
|
5
5
|
upgradeToLatest: () => void;
|
|
6
6
|
scriptSucceeded: (needsInstall: boolean) => void;
|
|
7
|
+
flexUIUpdateSucceeded: () => void;
|
|
8
|
+
upgradeToFlexUI2: () => void;
|
|
7
9
|
updatePluginUrl: (newline: boolean) => void;
|
|
8
10
|
cannotRemoveCraco: (newline: boolean) => void;
|
|
9
11
|
packageNotFound: (pkg: string) => void;
|
|
@@ -32,6 +32,16 @@ const scriptStarted = (logger) => (version) => {
|
|
|
32
32
|
logger.info(`@@**Upgrading your plugin from ${version} to v4**@@`);
|
|
33
33
|
logger.newline();
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Upgrade to Flex UI 2.0
|
|
37
|
+
*/
|
|
38
|
+
const upgradeToFlexUI2 = (logger) => () => {
|
|
39
|
+
logger.newline();
|
|
40
|
+
logger.info(`@@You are about to upgrade your plugin in the following ways:@@`);
|
|
41
|
+
logger.info('\t1. Updating the dependencies to be compatible with Flex UI 2.0');
|
|
42
|
+
logger.info('\t2. Updating to use the latest version of Flex Plugin CLI.');
|
|
43
|
+
logger.newline();
|
|
44
|
+
};
|
|
35
45
|
/**
|
|
36
46
|
* Script succeeded
|
|
37
47
|
*/
|
|
@@ -48,6 +58,13 @@ const scriptSucceeded = (logger) => (needsInstall) => {
|
|
|
48
58
|
logger.info(`Run ${helpInstruction}.`);
|
|
49
59
|
}
|
|
50
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* Flex UI Update to 2.0 succeeded
|
|
63
|
+
*/
|
|
64
|
+
const flexUIUpdateSucceeded = (logger) => () => {
|
|
65
|
+
logger.newline();
|
|
66
|
+
logger.success('🎉 Your plugin was successfully migrated to use the latest version of Flex UI.');
|
|
67
|
+
};
|
|
51
68
|
/**
|
|
52
69
|
* Failed to update plugin's url
|
|
53
70
|
*/
|
|
@@ -149,6 +166,8 @@ exports.default = (logger) => ({
|
|
|
149
166
|
scriptStarted: scriptStarted(logger),
|
|
150
167
|
upgradeToLatest: upgradeToLatest(logger),
|
|
151
168
|
scriptSucceeded: scriptSucceeded(logger),
|
|
169
|
+
flexUIUpdateSucceeded: flexUIUpdateSucceeded(logger),
|
|
170
|
+
upgradeToFlexUI2: upgradeToFlexUI2(logger),
|
|
152
171
|
updatePluginUrl: updatePluginUrl(logger),
|
|
153
172
|
cannotRemoveCraco: cannotRemoveCraco(logger),
|
|
154
173
|
packageNotFound: packageNotFound(logger),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgradePlugin.js","sourceRoot":"","sources":["../../src/prints/upgradePlugin.ts"],"names":[],"mappings":";;AAAA,2DAAkG;AAClG,+DAA+D;AAE/D,8CAAwC;AAExC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;AAEnD;;GAEG;AACH,6DAA6D;AAC7D,MAAM,mBAAmB,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,KAAK,EAAE,IAAa,EAAE,OAAgB,EAAE,EAAE;IACxF,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,WAAW,OAAO,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC;IAC5E,sBAAK,CAAC,OAAO,CA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jB,MAAM,CAAC,OAAO,CAAC,4FAA4F,CAAC,CAAC;IAC7G,MAAM,CAAC,OAAO,EAAE,CAAC;IACjB,MAAM,CAAC,IAAI,CACT,iKAAiK,CAClK,CAAC;IACF,kBAAS,CAAC,GAAG,KAAK,CAAC,CAAC;IACpB,MAAM,CAAC,IAAI,CACT,gHAAgH,CACjH,CAAC;AACJ,CAAC,CAAC;AAEF,6EAA6E;AAC7E,kBAAe,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC;IAClC,mBAAmB,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAChD,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC;IACpC,eAAe,EAAE,eAAe,CAAC,MAAM,CAAC;IACxC,eAAe,EAAE,eAAe,CAAC,MAAM,CAAC;IACxC,qBAAqB,EAAE,qBAAqB,CAAC,MAAM,CAAC;IACpD,gBAAgB,EAAE,gBAAgB,CAAC,MAAM,CAAC;IAC1C,eAAe,EAAE,eAAe,CAAC,MAAM,CAAC;IACxC,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,CAAC;IAC5C,eAAe,EAAE,eAAe,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,cAAc,CAAC,MAAM,CAAC;IACtC,wBAAwB,EAAE,wBAAwB,CAAC,MAAM,CAAC;IAC1D,mBAAmB,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAChD,2BAA2B,EAAE,2BAA2B,CAAC,MAAM,CAAC;IAChE,qBAAqB,EAAE,qBAAqB,CAAC,MAAM,CAAC;IACpD,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC"}
|
|
@@ -54,6 +54,7 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
54
54
|
protected static DATE_FIELDS: string[];
|
|
55
55
|
protected static ACTIVE_FIELDS: string[];
|
|
56
56
|
protected static ACCESS_FIELDS: string[];
|
|
57
|
+
protected static DEFAULT_FLEX_UI_VERSION: number;
|
|
57
58
|
private static defaultOptions;
|
|
58
59
|
protected readonly opts: FlexPluginOption;
|
|
59
60
|
protected readonly cwd: string;
|
|
@@ -143,6 +144,10 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
143
144
|
* @returns {ServerlessClient}
|
|
144
145
|
*/
|
|
145
146
|
get serverlessClient(): ServerlessClient;
|
|
147
|
+
/**
|
|
148
|
+
* Returns the flex-ui version from the plugin
|
|
149
|
+
*/
|
|
150
|
+
get flexUIVersion(): number;
|
|
146
151
|
/**
|
|
147
152
|
* The main run command
|
|
148
153
|
* @override
|
|
@@ -235,6 +240,8 @@ export default class FlexPlugin extends baseCommands.TwilioClientCommand {
|
|
|
235
240
|
scriptStarted: (version: string) => void;
|
|
236
241
|
upgradeToLatest: () => void;
|
|
237
242
|
scriptSucceeded: (needsInstall: boolean) => void;
|
|
243
|
+
flexUIUpdateSucceeded: () => void;
|
|
244
|
+
upgradeToFlexUI2: () => void;
|
|
238
245
|
updatePluginUrl: (newline: boolean) => void;
|
|
239
246
|
cannotRemoveCraco: (newline: boolean) => void;
|
|
240
247
|
packageNotFound: (pkg: string) => void;
|
|
@@ -238,6 +238,18 @@ class FlexPlugin extends cli_core_1.baseCommands.TwilioClientCommand {
|
|
|
238
238
|
}
|
|
239
239
|
return this._serverlessClient;
|
|
240
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* Returns the flex-ui version from the plugin
|
|
243
|
+
*/
|
|
244
|
+
get flexUIVersion() {
|
|
245
|
+
var _a;
|
|
246
|
+
const flexUI = '@twilio/flex-ui';
|
|
247
|
+
const dep = this.pkg.dependencies[flexUI] || this.pkg.devDependencies[flexUI];
|
|
248
|
+
if (!dep) {
|
|
249
|
+
throw new flex_dev_utils_1.TwilioCliError(`Package '${flexUI}' was not found`);
|
|
250
|
+
}
|
|
251
|
+
return ((_a = flex_dev_utils_1.semver.coerce(dep)) === null || _a === void 0 ? void 0 : _a.major) || FlexPlugin.DEFAULT_FLEX_UI_VERSION;
|
|
252
|
+
}
|
|
241
253
|
/**
|
|
242
254
|
* The main run command
|
|
243
255
|
* @override
|
|
@@ -521,6 +533,7 @@ FlexPlugin.flags = Object.assign(Object.assign({}, baseFlag), { json: flags.bool
|
|
|
521
533
|
FlexPlugin.DATE_FIELDS = ['datecreated', 'dateupdated', 'created', 'updated'];
|
|
522
534
|
FlexPlugin.ACTIVE_FIELDS = ['active', 'isactive', 'status'];
|
|
523
535
|
FlexPlugin.ACCESS_FIELDS = ['private', 'isprivate'];
|
|
536
|
+
FlexPlugin.DEFAULT_FLEX_UI_VERSION = 1;
|
|
524
537
|
FlexPlugin.defaultOptions = {
|
|
525
538
|
strict: true,
|
|
526
539
|
runInDirectory: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex-plugin.js","sourceRoot":"","sources":["../../src/sub-commands/flex-plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,2BAA6B;AAE7B,uDAMwC;AACxC,+CAA0D;AAC1D,6EAOyC;AACzC,2DASgC;AAChC,6DAAwE;AACxE,kDAA0B;AAC1B,sDAAwC;AACxC,oDAA4B;AAI5B,6DAAqC;AACrC,sDAAwC;AACxC,8CAAoD;AACpD,8CAAkD;AAClD,uDAA+B;AAC/B,iGAA6G;AAC7G,mFAA2D;AAC3D,oCAA6D;AAO7D,MAAM,iBAAiB,GAAG,6BAA6B,CAAC;AAgCxD,MAAM,QAAQ,qBAAQ,uBAAY,CAAC,mBAAmB,CAAC,KAAK,CAAE,CAAC;AAC/D,OAAO,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAErC,MAAM,cAAc,GAAG,cAAc,CAAC;AAEtC;;;GAGG;AACH,MAAqB,UAAW,SAAQ,uBAAY,CAAC,mBAAmB;IA4EtE,YAAY,IAAc,EAAE,MAAkB,EAAE,aAA4B,EAAE,IAA+B;QAC3G,KAAK,CAAC,IAAI,EAAE,MAAM,E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a,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEnE,wBAAa,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AAEjD,wBAAa,GAAG,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAEzC,kCAAuB,GAAG,CAAC,CAAC;AAE9B,yBAAc,GAAqB;IAChD,MAAM,EAAE,IAAI;IACZ,cAAc,EAAE,IAAI;CACrB,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"5.0.6","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1649877121450"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1649877121450"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
|
|
1
|
+
{"version":"5.0.7-alpha.202205251813","commands":{"flex:plugins:build":{"id":"flex:plugins:build","description":"Builds the Flex plugin and creates a JavaScript and sourcemap bundle. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:create-configuration":{"id":"flex:plugins:create-configuration","description":"Creates a Flex Plugin Configuration. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":true,"default":"Autogenerated Release 1653502656917"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":true,"default":"The description of this Flex Plugin Configuration."}},"args":[]},"flex:plugins:create":{"id":"flex:plugins:create","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"typescript":{"name":"typescript","type":"boolean","char":"s","description":"Create a TypeScript project","required":false,"allowNo":false},"template":{"name":"template","type":"option","char":"t","description":"A GitHub URL that contains your template","required":false,"default":""},"accountSid":{"name":"accountSid","type":"option","char":"a","description":"The Account SID for your Flex Project","required":false,"default":""},"runtimeUrl":{"name":"runtimeUrl","type":"boolean","char":"r","description":"The URL to your Twilio Flex Runtime","required":false,"allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Auto-install dependencies","required":false,"allowNo":false},"yarn":{"name":"yarn","type":"boolean","char":"y","description":"Use yarn as your dependency manager","required":false,"allowNo":false},"help":{"name":"help","type":"option","char":"h","required":false},"version":{"name":"version","type":"option","char":"v","required":false},"flexui1":{"name":"flexui1","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 1.0","required":false,"allowNo":false},"flexui2":{"name":"flexui2","type":"boolean","description":"Creates a plugin compatible with Flex UI major version 2.0","required":false,"allowNo":false}},"args":[{"name":"name","description":"Creates a new Twilio Flex Plugin project\r\n\r\nArguments:\r\nname\tName of your plugin.","required":true}]},"flex:plugins:deploy":{"id":"flex:plugins:deploy","description":"Builds and deploys a new version of the Flex plugin to your Flex application. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"patch":{"name":"patch","type":"boolean","description":"Publishes the version as a patch (SemVer); this is the default.","allowNo":false},"minor":{"name":"minor","type":"boolean","description":"Publishes the version as a minor (SemVer).","allowNo":false},"major":{"name":"major","type":"boolean","description":"Publishes the version as a major (SemVer).","allowNo":false},"version":{"name":"version","type":"option","description":"Publishes the version (SemVer)."},"public":{"name":"public","type":"boolean","description":"Publishes the plugin as a public Twilio Asset; default is private.","allowNo":false},"changelog":{"name":"changelog","type":"option","description":"The changes (added/removed) made in this plugin version.","required":true},"description":{"name":"description","type":"option","description":"The description of this Flex plugin."}},"args":[]},"flex:plugins:diff":{"id":"flex:plugins:diff","description":"Finds the diff between two Flex Plugin Configurations.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[{"name":"id1","description":"The first Flex Plugin Configuration SID.","required":true},{"name":"id2","description":"The second Flex Plugin Configuration SID."}]},"flex:plugins:release":{"id":"flex:plugins:release","description":"Creates a Flex Plugin Release. Enables the plugins (passed as params or via the Flex Configuration) on your Flex application.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"new":{"name":"new","type":"boolean","description":"Creates a new Flex Plugin Configuration, otherwise will append to existing active Configuration.","allowNo":false},"name":{"name":"name","type":"option","description":"The friendly name of the Flex Plugin Configuration.","required":false,"default":"Autogenerated Release 1653502656917"},"plugin":{"name":"plugin","type":"option","description":"Alias for --enable-plugin.","required":false},"enable-plugin":{"name":"enable-plugin","type":"option","description":"The plugin to enable, formatted as pluginName@version. You may use pluginName@latest as a shortcut for enabling the latest version of the plugin. Use additional --enable-plugin to provide other plugins to enable.","required":false},"disable-plugin":{"name":"disable-plugin","type":"option","description":"The plugin to disable, formatted as pluginName. Use additional --disable-plugin to provide other plugins to disable.","required":false},"description":{"name":"description","type":"option","description":"The description of this Flex Plugin Configuration.","required":false,"default":"The description of this Flex Plugin Configuration."},"configuration-sid":{"name":"configuration-sid","type":"option","description":"The Flex Plugin Configuration SID to release; other options are not required when using this option."}},"args":[]},"flex:plugins:start":{"id":"flex:plugins:start","description":"Starts a dev-server to build the Flex plugin locally.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the plugin you would like to run. You can provide multiple to run them all concurrently. You can include specific active remote plugins using \"--name 'plugin-name@remote'\" or \"--name 'plugin-name@0.0.0'\" for a specific remote version."},"include-remote":{"name":"include-remote","type":"boolean","description":"Use this flag to include all remote plugins in your build.","allowNo":false},"port":{"name":"port","type":"option","description":"The port to start your local development server on.","default":3000},"flex-ui-source":{"name":"flex-ui-source","type":"option","hidden":true}},"args":[]},"flex:plugins:test":{"id":"flex:plugins:test","description":"Runs the test suite. This command needs to be invoked inside a plugin directory.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:upgrade-plugin":{"id":"flex:plugins:upgrade-plugin","description":"Upgrades your plugin to use the latest version of the Plugin CLI.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"remove-legacy-plugin":{"name":"remove-legacy-plugin","type":"boolean","description":"Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).","allowNo":false},"install":{"name":"install","type":"boolean","description":"If set, will install the dependencies.","allowNo":false},"beta":{"name":"beta","type":"boolean","description":"If set, will upgrade to the latest beta version.","allowNo":false},"dev":{"name":"dev","type":"boolean","description":"If set, will upgrade to the latest dev version.","allowNo":false},"nightly":{"name":"nightly","type":"boolean","description":"If set, will upgrade to the latest nightly version.","allowNo":false},"yarn":{"name":"yarn","type":"boolean","description":"Use yarn for installation.","allowNo":false},"yes":{"name":"yes","type":"boolean","description":"If set, will answer yes to all prompts.","allowNo":false},"flex-ui-2.0":{"name":"flex-ui-2.0","type":"boolean","description":"Update your plugin dependencies to be compatible with Flex UI 2.0.","allowNo":false}},"args":[]},"flex:plugins:archive:configuration":{"id":"flex:plugins:archive:configuration","description":"Archives a Flex Plugin Configuration. Archived Plugin Configurations cannot be deployed to your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin-version":{"id":"flex:plugins:archive:plugin-version","description":"Archives a Flex Plugin Version. Archived Plugin Versions cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to archive.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to archive.","required":true}},"args":[]},"flex:plugins:archive:plugin":{"id":"flex:plugins:archive:plugin","description":"Archives a Flex Plugin. Archived Plugins cannot be enabled on your Flex application and cannot be undone. Exercise extreme caution when using this command.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to archive.","required":true}},"args":[]},"flex:plugins:describe:configuration":{"id":"flex:plugins:describe:configuration","description":"Provides details of the Flex Plugin Configuration like status, description and its associated Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Configuration SID.","required":true}},"args":[]},"flex:plugins:describe:plugin-version":{"id":"flex:plugins:describe:plugin-version","description":"Provides details of the Flex Plugin Version like changelog, status and the url of the plugin package.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The Flex Plugin name of the Plugin Version to describe.","required":true},"version":{"name":"version","type":"option","description":"The Flex Plugin Version to describe.","required":true}},"args":[]},"flex:plugins:describe:plugin":{"id":"flex:plugins:describe:plugin","description":"Provides details of the Flex Plugin like status, description and its Flex Plugin Versions.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The name of the Flex Plugin to describe.","required":true}},"args":[]},"flex:plugins:describe:release":{"id":"flex:plugins:describe:release","description":"Provides details of the Flex Plugin Release like the underlying Plugin Configuration and Plugins.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"sid":{"name":"sid","type":"option","description":"The Flex Plugin Release SID to describe."},"active":{"name":"active","type":"boolean","description":"The most recent release to describe.","allowNo":false}},"args":[]},"flex:plugins:list:configurations":{"id":"flex:plugins:list:configurations","description":"Lists the Flex Plugin Configuration on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:plugin-versions":{"id":"flex:plugins:list:plugin-versions","description":"Lists the Flex Plugin Versions on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]},"name":{"name":"name","type":"option","description":"The plugin name to list its versions.","required":true}},"args":[]},"flex:plugins:list:plugins":{"id":"flex:plugins:list:plugins","description":"Lists the Flex Plugins on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]},"flex:plugins:list:releases":{"id":"flex:plugins:list:releases","description":"Lists the Flex Releases on the account.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"json":{"name":"json","type":"boolean","description":"Outputs the result of the command as json string.","allowNo":false},"clear-terminal":{"name":"clear-terminal","type":"boolean","description":"Clears the terminal before running the command.","allowNo":false},"region":{"name":"region","type":"option","hidden":true,"helpValue":"(dev|stage)","options":["dev","stage"]}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twilio-labs/plugin-flex",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7-alpha.202205251813",
|
|
4
4
|
"description": "Create, develop and deploy Flex plugins using the Twilio CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"twilio",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@oclif/errors": "^1.3.5",
|
|
49
49
|
"@oclif/parser": "^3.8.5",
|
|
50
50
|
"@twilio/cli-core": "^6.0.1",
|
|
51
|
-
"@twilio/create-flex-plugin": "5.0.
|
|
52
|
-
"@twilio/flex-dev-utils": "5.0.
|
|
53
|
-
"@twilio/flex-plugin-scripts": "5.0.
|
|
54
|
-
"@twilio/flex-plugins-api-client": "5.0.
|
|
51
|
+
"@twilio/create-flex-plugin": "5.0.7-alpha.202205251813",
|
|
52
|
+
"@twilio/flex-dev-utils": "5.0.7-alpha.202205251813",
|
|
53
|
+
"@twilio/flex-plugin-scripts": "5.0.7-alpha.202205251813",
|
|
54
|
+
"@twilio/flex-plugins-api-client": "5.0.7-alpha.202205251813",
|
|
55
55
|
"dayjs": "^1.10.7",
|
|
56
56
|
"https-proxy-agent": "^5.0.0",
|
|
57
57
|
"lodash.startcase": "^4.4.0",
|
|
@@ -158,7 +158,8 @@
|
|
|
158
158
|
"nightly": "If set, will upgrade to the latest nightly version.",
|
|
159
159
|
"yes": "If set, will answer yes to all prompts.",
|
|
160
160
|
"yarn": "Use yarn for installation.",
|
|
161
|
-
"removeLegacyPlugin": "Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3)."
|
|
161
|
+
"removeLegacyPlugin": "Deletes legacy plugin bundle hosted on Twilio Assets (deployed via plugin builder v3).",
|
|
162
|
+
"flexui2": "Update your plugin dependencies to be compatible with Flex UI 2.0."
|
|
162
163
|
}
|
|
163
164
|
},
|
|
164
165
|
"flex:plugins:archive": {
|
|
@@ -232,5 +233,5 @@
|
|
|
232
233
|
}
|
|
233
234
|
}
|
|
234
235
|
},
|
|
235
|
-
"gitHead": "
|
|
236
|
+
"gitHead": "161b061fb09b66c0c0763c76aada777a803004b4"
|
|
236
237
|
}
|