@twilio-labs/plugin-flex 7.0.0-beta.0 → 7.0.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -84,7 +84,7 @@ OPTIONS
84
84
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
85
85
  ```
86
86
 
87
- _See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/archive/configuration.js)_
87
+ _See code: [dist/commands/flex/plugins/archive/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/archive/configuration.js)_
88
88
 
89
89
  ## `twilio flex:plugins:archive:plugin`
90
90
 
@@ -104,7 +104,7 @@ OPTIONS
104
104
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
105
105
  ```
106
106
 
107
- _See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/archive/plugin.js)_
107
+ _See code: [dist/commands/flex/plugins/archive/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/archive/plugin.js)_
108
108
 
109
109
  ## `twilio flex:plugins:archive:plugin-version`
110
110
 
@@ -125,7 +125,7 @@ OPTIONS
125
125
  --version=version (required) The Flex Plugin Version to archive.
126
126
  ```
127
127
 
128
- _See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/archive/plugin-version.js)_
128
+ _See code: [dist/commands/flex/plugins/archive/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/archive/plugin-version.js)_
129
129
 
130
130
  ## `twilio flex:plugins:build`
131
131
 
@@ -144,7 +144,7 @@ OPTIONS
144
144
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
145
145
  ```
146
146
 
147
- _See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/build.js)_
147
+ _See code: [dist/commands/flex/plugins/build.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/build.js)_
148
148
 
149
149
  ## `twilio flex:plugins:create NAME`
150
150
 
@@ -181,7 +181,7 @@ DESCRIPTION
181
181
  name Name of your plugin. This command needs to be invoked inside a plugin directory.
182
182
  ```
183
183
 
184
- _See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/create.js)_
184
+ _See code: [dist/commands/flex/plugins/create.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/create.js)_
185
185
 
186
186
  ## `twilio flex:plugins:create-configuration`
187
187
 
@@ -209,7 +209,7 @@ OPTIONS
209
209
 
210
210
  --json Outputs the result of the command as json string.
211
211
 
212
- --name=name (required) [default: Autogenerated Release 1710931876583] The friendly name of the
212
+ --name=name (required) [default: Autogenerated Release 1714475562054] The friendly name of the
213
213
  Flex Plugin Configuration.
214
214
 
215
215
  --new Creates a new Flex Plugin Configuration, otherwise will append to existing active
@@ -220,7 +220,7 @@ OPTIONS
220
220
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
221
221
  ```
222
222
 
223
- _See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/create-configuration.js)_
223
+ _See code: [dist/commands/flex/plugins/create-configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/create-configuration.js)_
224
224
 
225
225
  ## `twilio flex:plugins:deploy`
226
226
 
@@ -234,6 +234,7 @@ OPTIONS
234
234
  -l=(debug|info|warn|error|none) [default: info] Level of logging messages.
235
235
  -o=(columns|json|tsv|none) [default: columns] Format of command output.
236
236
  -p, --profile=profile Shorthand identifier for your profile.
237
+ --bypass-validation Publishes the plugin even if validation step identifies issues in the plugin.
237
238
  --changelog=changelog (required) The changes (added/removed) made in this plugin version.
238
239
  --clear-terminal Clears the terminal before running the command.
239
240
  --description=description The description of this Flex plugin.
@@ -246,7 +247,7 @@ OPTIONS
246
247
  --version=version Publishes the version (SemVer).
247
248
  ```
248
249
 
249
- _See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/deploy.js)_
250
+ _See code: [dist/commands/flex/plugins/deploy.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/deploy.js)_
250
251
 
251
252
  ## `twilio flex:plugins:describe:configuration`
252
253
 
@@ -266,7 +267,7 @@ OPTIONS
266
267
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
267
268
  ```
268
269
 
269
- _See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/describe/configuration.js)_
270
+ _See code: [dist/commands/flex/plugins/describe/configuration.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/describe/configuration.js)_
270
271
 
271
272
  ## `twilio flex:plugins:describe:plugin`
272
273
 
@@ -286,7 +287,7 @@ OPTIONS
286
287
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
287
288
  ```
288
289
 
289
- _See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/describe/plugin.js)_
290
+ _See code: [dist/commands/flex/plugins/describe/plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/describe/plugin.js)_
290
291
 
291
292
  ## `twilio flex:plugins:describe:plugin-version`
292
293
 
@@ -307,7 +308,7 @@ OPTIONS
307
308
  --version=version (required) The Flex Plugin Version to describe.
308
309
  ```
309
310
 
310
- _See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/describe/plugin-version.js)_
311
+ _See code: [dist/commands/flex/plugins/describe/plugin-version.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/describe/plugin-version.js)_
311
312
 
312
313
  ## `twilio flex:plugins:describe:release`
313
314
 
@@ -328,7 +329,7 @@ OPTIONS
328
329
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
329
330
  ```
330
331
 
331
- _See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/describe/release.js)_
332
+ _See code: [dist/commands/flex/plugins/describe/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/describe/release.js)_
332
333
 
333
334
  ## `twilio flex:plugins:diff ID1 [ID2]`
334
335
 
@@ -351,7 +352,7 @@ OPTIONS
351
352
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
352
353
  ```
353
354
 
354
- _See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/diff.js)_
355
+ _See code: [dist/commands/flex/plugins/diff.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/diff.js)_
355
356
 
356
357
  ## `twilio flex:plugins:list:configurations`
357
358
 
@@ -370,7 +371,7 @@ OPTIONS
370
371
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
371
372
  ```
372
373
 
373
- _See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/list/configurations.js)_
374
+ _See code: [dist/commands/flex/plugins/list/configurations.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/list/configurations.js)_
374
375
 
375
376
  ## `twilio flex:plugins:list:plugin-versions`
376
377
 
@@ -390,7 +391,7 @@ OPTIONS
390
391
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
391
392
  ```
392
393
 
393
- _See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/list/plugin-versions.js)_
394
+ _See code: [dist/commands/flex/plugins/list/plugin-versions.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/list/plugin-versions.js)_
394
395
 
395
396
  ## `twilio flex:plugins:list:plugins`
396
397
 
@@ -409,7 +410,7 @@ OPTIONS
409
410
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
410
411
  ```
411
412
 
412
- _See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/list/plugins.js)_
413
+ _See code: [dist/commands/flex/plugins/list/plugins.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/list/plugins.js)_
413
414
 
414
415
  ## `twilio flex:plugins:list:releases`
415
416
 
@@ -428,7 +429,7 @@ OPTIONS
428
429
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
429
430
  ```
430
431
 
431
- _See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/list/releases.js)_
432
+ _See code: [dist/commands/flex/plugins/list/releases.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/list/releases.js)_
432
433
 
433
434
  ## `twilio flex:plugins:release`
434
435
 
@@ -459,7 +460,7 @@ OPTIONS
459
460
 
460
461
  --json Outputs the result of the command as json string.
461
462
 
462
- --name=name [default: Autogenerated Release 1710931876583] The friendly name of the Flex
463
+ --name=name [default: Autogenerated Release 1714475562054] The friendly name of the Flex
463
464
  Plugin Configuration.
464
465
 
465
466
  --new Creates a new Flex Plugin Configuration, otherwise will append to existing
@@ -470,7 +471,7 @@ OPTIONS
470
471
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
471
472
  ```
472
473
 
473
- _See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/release.js)_
474
+ _See code: [dist/commands/flex/plugins/release.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/release.js)_
474
475
 
475
476
  ## `twilio flex:plugins:start`
476
477
 
@@ -497,7 +498,7 @@ OPTIONS
497
498
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
498
499
  ```
499
500
 
500
- _See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/start.js)_
501
+ _See code: [dist/commands/flex/plugins/start.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/start.js)_
501
502
 
502
503
  ## `twilio flex:plugins:test`
503
504
 
@@ -516,7 +517,7 @@ OPTIONS
516
517
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
517
518
  ```
518
519
 
519
- _See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/test.js)_
520
+ _See code: [dist/commands/flex/plugins/test.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/test.js)_
520
521
 
521
522
  ## `twilio flex:plugins:upgrade-plugin`
522
523
 
@@ -548,7 +549,7 @@ OPTIONS
548
549
  --yes If set, will answer yes to all prompts.
549
550
  ```
550
551
 
551
- _See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/upgrade-plugin.js)_
552
+ _See code: [dist/commands/flex/plugins/upgrade-plugin.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/upgrade-plugin.js)_
552
553
 
553
554
  ## `twilio flex:plugins:validate`
554
555
 
@@ -563,9 +564,10 @@ OPTIONS
563
564
  -o=(columns|json|tsv|none) [default: columns] Format of command output.
564
565
  -p, --profile=profile Shorthand identifier for your profile.
565
566
  --clear-terminal Clears the terminal before running the command.
567
+ --flex-ui-2.0 Validates the Flex plugin for compatibility with the latest Flex UI 2.x version.
566
568
  --json Outputs the result of the command as json string.
567
569
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
568
570
  ```
569
571
 
570
- _See code: [dist/commands/flex/plugins/validate.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.0-beta.0/dist/commands/flex/plugins/validate.js)_
572
+ _See code: [dist/commands/flex/plugins/validate.js](https://github.com/twilio/flex-plugin-builder/blob/v7.0.2-beta.0/dist/commands/flex/plugins/validate.js)_
571
573
  <!-- commandsstop -->
@@ -29,6 +29,7 @@ export default class FlexPluginsDeploy extends FlexPlugin {
29
29
  changelog: flags.IOptionFlag<string>;
30
30
  description: flags.IOptionFlag<string | undefined>;
31
31
  option: flags.IOptionFlag<string | undefined>;
32
+ 'bypass-validation': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
32
33
  json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
33
34
  'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
34
35
  region: import("@oclif/command/lib/flags").IOptionFlag<string>;
@@ -66,7 +67,7 @@ export default class FlexPluginsDeploy extends FlexPlugin {
66
67
  * @param deployResult
67
68
  * @returns {Promise}
68
69
  */
69
- registerPluginVersion(deployResult: DeployResult): Promise<PluginVersionResource>;
70
+ registerPluginVersion(deployResult: DeployResult, validateErrorMsg?: string): Promise<PluginVersionResource>;
70
71
  /**
71
72
  * Checks whether a Serverless instance exists or not. If not, will create one
72
73
  */
@@ -94,7 +94,7 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
94
94
  flex_dev_utils_1.logger.error(err);
95
95
  flex_dev_utils_1.logger.warning('Continuing to deploy');
96
96
  }
97
- let shouldContinue = this._flags.option === Options.Deploy || violations.length === 0;
97
+ let shouldContinue = this._flags['bypass-validation'] || this._flags.option === Options.Deploy || violations.length === 0;
98
98
  if (!shouldContinue && this._flags.option !== Options.Fix) {
99
99
  const choice = await flex_dev_utils_1.choose({
100
100
  name: 'deployment',
@@ -103,6 +103,13 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
103
103
  }, Object.values(this.options));
104
104
  shouldContinue = choice === this.options[Options.Deploy];
105
105
  }
106
+ this.telemetryProperties = {
107
+ violations,
108
+ vtime: Math.round(vtime),
109
+ error,
110
+ bypassed: this._flags['bypass-validation'],
111
+ deployed: 0,
112
+ };
106
113
  if (shouldContinue) {
107
114
  await flex_dev_utils_1.progress(`Compiling a production build of ${name}`, async () => {
108
115
  await this.runScript('pre-script-check', args);
@@ -119,13 +126,10 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
119
126
  await deploy_1._verifyFlexUIConfiguration();
120
127
  const deployedData = await flex_dev_utils_1.progress(`Uploading ${name}`, async () => this.runScript('deploy', [...this.scriptArgs, ...args]), false);
121
128
  await flex_dev_utils_1.progress(`Registering plugin ${name} with Plugins API`, async () => this.registerPlugin(), false);
122
- const pluginVersion = await flex_dev_utils_1.progress(`Registering version **v${deployedData.nextVersion}** with Plugins API`, async () => this.registerPluginVersion(deployedData), false);
129
+ const pluginVersion = await flex_dev_utils_1.progress(`Registering version **v${deployedData.nextVersion}** with Plugins API`, async () => this.registerPluginVersion(deployedData, error === null || error === void 0 ? void 0 : error.message), false);
123
130
  /* c8 ignore next */
124
131
  this.prints.deploySuccessful(this.pkg.name, pluginVersion.private ? 'private' : 'public', deployedData, this.argv.includes('--profile') ? this.currentProfile.id : null);
125
- this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 1 };
126
- }
127
- else {
128
- this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 0 };
132
+ this.telemetryProperties = Object.assign(Object.assign({}, this.telemetryProperties), { deployed: 1 });
129
133
  }
130
134
  }
131
135
  /**
@@ -197,12 +201,14 @@ class FlexPluginsDeploy extends flex_plugin_1.default {
197
201
  * @param deployResult
198
202
  * @returns {Promise}
199
203
  */
200
- async registerPluginVersion(deployResult) {
204
+ async registerPluginVersion(deployResult, validateErrorMsg) {
201
205
  return this.pluginVersionsClient.create(this.pkg.name, {
202
206
  Version: deployResult.nextVersion,
203
207
  PluginUrl: deployResult.pluginUrl,
204
208
  Private: !deployResult.isPublic,
205
209
  Changelog: this._flags.changelog || '',
210
+ CliVersion: this.cliPkg.version || '',
211
+ ValidateStatus: validateErrorMsg || '',
206
212
  });
207
213
  }
208
214
  /**
@@ -296,5 +302,8 @@ FlexPluginsDeploy.flags = Object.assign(Object.assign({}, baseFlags), { patch: f
296
302
  description: FlexPluginsDeploy.topic.flags.option,
297
303
  options: [Options.Deploy, Options.Fix],
298
304
  hidden: true,
305
+ }), 'bypass-validation': flags.boolean({
306
+ description: FlexPluginsDeploy.topic.flags['bypass-validation'],
307
+ default: false,
299
308
  }) });
300
309
  //# sourceMappingURL=deploy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/deploy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,4EAAwH;AACxH,6FAAwE;AACxE,qDAAyD;AACzD,2DAWgC;AAChC,uDAA0D;AAI1D,4DAA8C;AAC9C,oDAAuE;AACvE,oFAA0F;AAC1F,yFAAiE;AAQjE;;;GAGG;AACI,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAU,EAAE;IACzD,IAAI,CAAC,uBAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QACxB,MAAM,OAAO,GAAG,kBAAkB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K,CAAC,MAAM;QACjD,OAAO,EAAE,KAAK;KACf,CAAC,EACF,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC;QACtB,WAAW,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS;QACpD,QAAQ,EAAE,IAAI;QACd,GAAG,EAAE,IAAI;KACV,CAAC,EACF,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC;QACxB,WAAW,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW;QACtD,GAAG,EAAE,GAAG;KACT,CAAC,EACF,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACnB,WAAW,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM;QACjD,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC;QACtC,MAAM,EAAE,IAAI;KACb,CAAC,EACF,mBAAmB,EAAE,KAAK,CAAC,OAAO,CAAC;QACjC,WAAW,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,CAAC,mBAAmB,CAAC;QAC/D,OAAO,EAAE,KAAK;KACf,CAAC,IACF"}
@@ -1,3 +1,5 @@
1
+ import { flags } from '@oclif/parser';
2
+ import { OutputFlags } from '@oclif/parser/lib/parse';
1
3
  import FlexPlugin from '../../../sub-commands/flex-plugin';
2
4
  export declare type ValidateResult = {
3
5
  violations: string[];
@@ -14,10 +16,13 @@ export default class FlexPluginValidate extends FlexPlugin {
14
16
  static topicName: string;
15
17
  static description: string;
16
18
  static flags: {
17
- json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
18
- 'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
19
+ 'flex-ui-2.0': flags.IBooleanFlag<boolean>;
20
+ json: flags.IBooleanFlag<boolean>;
21
+ 'clear-terminal': flags.IBooleanFlag<boolean>;
19
22
  region: import("@oclif/command/lib/flags").IOptionFlag<string>;
20
23
  };
24
+ _flags: OutputFlags<typeof FlexPluginValidate.flags>;
25
+ init(): Promise<void>;
21
26
  /**
22
27
  * @override
23
28
  */
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ const parser_1 = require("@oclif/parser");
6
7
  const general_1 = require("../../../utils/general");
7
8
  const flex_plugin_1 = __importDefault(require("../../../sub-commands/flex-plugin"));
8
9
  const baseFlags = Object.assign({}, flex_plugin_1.default.flags);
@@ -13,11 +14,15 @@ delete baseFlags.json;
13
14
  */
14
15
  // eslint-disable-next-line import/no-unused-modules
15
16
  class FlexPluginValidate extends flex_plugin_1.default {
17
+ async init() {
18
+ this._flags = (await this.parseCommand(FlexPluginValidate)).flags;
19
+ }
16
20
  /**
17
21
  * @override
18
22
  */
19
23
  async doRun() {
20
24
  process.env.PERSIST_TERMINAL = 'true';
25
+ this.scriptArgs = this._flags['flex-ui-2.0'] ? ['--flex-ui-2.0'] : [];
21
26
  const { violations, vtime, error } = (await this.runScript('validate'));
22
27
  this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 0 };
23
28
  }
@@ -37,5 +42,8 @@ class FlexPluginValidate extends flex_plugin_1.default {
37
42
  exports.default = FlexPluginValidate;
38
43
  FlexPluginValidate.topicName = 'flex:plugins:validate';
39
44
  FlexPluginValidate.description = general_1.createDescription(FlexPluginValidate.topic.description, false);
40
- FlexPluginValidate.flags = Object.assign({}, baseFlags);
45
+ FlexPluginValidate.flags = Object.assign(Object.assign({}, baseFlags), { 'flex-ui-2.0': parser_1.flags.boolean({
46
+ description: FlexPluginValidate.topic.flags.flexui2,
47
+ default: false,
48
+ }) });
41
49
  //# sourceMappingURL=validate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/validate.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE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AI,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,GAAmB,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAmB,CAAC;QAC1G,IAAI,CAAC,mBAAmB,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;IAC1F,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,kBAAkB,CAAC,SAAS,CAAC;IACtC,CAAC;IAED;;OAEG;IACH,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;;AA1CH,qCA2CC;AA1CQ,4BAAS,GAAG,uBAAuB,CAAC;AAEpC,8BAAW,GAAG,2BAAiB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE7E,wBAAK,mCACP,SAAS,KACZ,aAAa,EAAE,cAAK,CAAC,OAAO,CAAC;QAC3B,WAAW,EAAE,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO;QACnD,OAAO,EAAE,KAAK;KACf,CAAC,IACF"}
@@ -1 +1 @@
1
- {"version":"7.0.0-beta.0","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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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: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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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 1710931876583"},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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."},"option":{"name":"option","type":"option","description":"Option to automatically pick post validation of the plugin","hidden":true,"options":["deploy","fix"]}},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":[{"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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 1710931876583"},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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: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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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:validate":{"id":"flex:plugins:validate","description":"Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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: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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":"7.0.2-beta.0","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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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: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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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 1714475562054"},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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."},"option":{"name":"option","type":"option","description":"Option to automatically pick post validation of the plugin.","hidden":true,"options":["deploy","fix"]},"bypass-validation":{"name":"bypass-validation","type":"boolean","description":"Publishes the plugin even if validation step identifies issues in the plugin.","allowNo":false}},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":[{"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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 1714475562054"},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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: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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"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:validate":{"id":"flex:plugins:validate","description":"Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.","pluginName":"@twilio-labs/plugin-flex","pluginType":"core","aliases":[],"flags":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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"]},"flex-ui-2.0":{"name":"flex-ui-2.0","type":"boolean","description":"Validates the Flex plugin for compatibility with the latest Flex UI 2.x version.","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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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 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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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":{"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"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"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": "7.0.0-beta.0",
3
+ "version": "7.0.2-beta.0",
4
4
  "description": "Create, develop and deploy Flex plugins using the Twilio CLI",
5
5
  "keywords": [
6
6
  "twilio",
@@ -47,16 +47,16 @@
47
47
  "@oclif/config": "^1.18.1",
48
48
  "@oclif/errors": "^1.3.5",
49
49
  "@oclif/parser": "^3.8.5",
50
- "@twilio/cli-core": "^7.6.1",
51
- "@twilio/create-flex-plugin": "7.0.0-beta.0",
52
- "@twilio/flex-dev-utils": "7.0.0-beta.0",
53
- "@twilio/flex-plugin-scripts": "7.0.0-beta.0",
54
- "@twilio/flex-plugins-api-client": "7.0.0-beta.0",
50
+ "@twilio/cli-core": "^7.19.1",
51
+ "@twilio/create-flex-plugin": "7.0.2-beta.0",
52
+ "@twilio/flex-dev-utils": "7.0.2-beta.0",
53
+ "@twilio/flex-plugin-scripts": "7.0.2-beta.0",
54
+ "@twilio/flex-plugins-api-client": "7.0.2-beta.0",
55
55
  "dayjs": "^1.10.7",
56
56
  "lodash.startcase": "^4.4.0",
57
57
  "mkdirp": "^1.0.4",
58
58
  "package-json": "^7.0.0",
59
- "rimraf": "^3.0.2",
59
+ "rimraf": "^4.0.0",
60
60
  "yargs": "^16.2.0"
61
61
  },
62
62
  "devDependencies": {
@@ -71,7 +71,7 @@
71
71
  "twilio": "^3.71.2"
72
72
  },
73
73
  "engines": {
74
- "node": "^14 || ^16 || ^18 || ^20"
74
+ "node": "^16 || ^18 || ^20"
75
75
  },
76
76
  "publishConfig": {
77
77
  "access": "public"
@@ -118,7 +118,8 @@
118
118
  "public": "Publishes the plugin as a public Twilio Asset; default is private.",
119
119
  "changelog": "The changes (added/removed) made in this plugin version.",
120
120
  "description": "The description of this Flex plugin.",
121
- "option": "Option to automatically pick post validation of the plugin"
121
+ "option": "Option to automatically pick post validation of the plugin.",
122
+ "bypass-validation": "Publishes the plugin even if validation step identifies issues in the plugin."
122
123
  }
123
124
  },
124
125
  "flex:plugins:create-configuration": {
@@ -231,9 +232,12 @@
231
232
  "description": "Lists the Flex Releases on the account."
232
233
  },
233
234
  "flex:plugins:validate": {
234
- "description": "Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any."
235
+ "description": "Validates the Flex plugin by looking for any issues that could potentially break the plugin when in use. Generates a report with the identified issues, if any.",
236
+ "flags": {
237
+ "flexui2": "Validates the Flex plugin for compatibility with the latest Flex UI 2.x version."
238
+ }
235
239
  }
236
240
  }
237
241
  },
238
- "gitHead": "1942b8b89f25969e77d0e3192da008139c241bb3"
242
+ "gitHead": "fbff5a65f9e729954d770f23e1a761e88386b871"
239
243
  }