@twilio-labs/plugin-flex 6.3.3-beta.0 → 6.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -42
- package/dist/commands/flex/plugins/archive/configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/configuration.js +0 -6
- package/dist/commands/flex/plugins/archive/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin-version.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/plugin-version.js +0 -6
- package/dist/commands/flex/plugins/archive/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/archive/plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/archive/plugin.js +0 -6
- package/dist/commands/flex/plugins/archive/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/build.d.ts +0 -4
- package/dist/commands/flex/plugins/build.js +0 -6
- package/dist/commands/flex/plugins/build.js.map +1 -1
- package/dist/commands/flex/plugins/create-configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/create-configuration.js +0 -6
- package/dist/commands/flex/plugins/create-configuration.js.map +1 -1
- package/dist/commands/flex/plugins/create.js +0 -8
- package/dist/commands/flex/plugins/create.js.map +1 -1
- package/dist/commands/flex/plugins/deploy.d.ts +0 -9
- package/dist/commands/flex/plugins/deploy.js +18 -64
- package/dist/commands/flex/plugins/deploy.js.map +1 -1
- package/dist/commands/flex/plugins/describe/configuration.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/configuration.js +0 -6
- package/dist/commands/flex/plugins/describe/configuration.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin-version.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/plugin-version.js +0 -6
- package/dist/commands/flex/plugins/describe/plugin-version.js.map +1 -1
- package/dist/commands/flex/plugins/describe/plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/plugin.js +0 -6
- package/dist/commands/flex/plugins/describe/plugin.js.map +1 -1
- package/dist/commands/flex/plugins/describe/release.d.ts +0 -4
- package/dist/commands/flex/plugins/describe/release.js +0 -6
- package/dist/commands/flex/plugins/describe/release.js.map +1 -1
- package/dist/commands/flex/plugins/diff.d.ts +0 -4
- package/dist/commands/flex/plugins/diff.js +0 -6
- package/dist/commands/flex/plugins/diff.js.map +1 -1
- package/dist/commands/flex/plugins/list/plugin-versions.d.ts +0 -4
- package/dist/commands/flex/plugins/list/plugin-versions.js +0 -6
- package/dist/commands/flex/plugins/list/plugin-versions.js.map +1 -1
- package/dist/commands/flex/plugins/list/plugins.d.ts +0 -4
- package/dist/commands/flex/plugins/list/plugins.js +0 -6
- package/dist/commands/flex/plugins/list/plugins.js.map +1 -1
- package/dist/commands/flex/plugins/list/releases.d.ts +0 -4
- package/dist/commands/flex/plugins/list/releases.js +0 -6
- package/dist/commands/flex/plugins/list/releases.js.map +1 -1
- package/dist/commands/flex/plugins/release.d.ts +0 -4
- package/dist/commands/flex/plugins/release.js +0 -6
- package/dist/commands/flex/plugins/release.js.map +1 -1
- package/dist/commands/flex/plugins/start.d.ts +0 -8
- package/dist/commands/flex/plugins/start.js +1 -13
- package/dist/commands/flex/plugins/start.js.map +1 -1
- package/dist/commands/flex/plugins/test.d.ts +0 -4
- package/dist/commands/flex/plugins/test.js +1 -7
- package/dist/commands/flex/plugins/test.js.map +1 -1
- package/dist/commands/flex/plugins/upgrade-plugin.d.ts +0 -4
- package/dist/commands/flex/plugins/upgrade-plugin.js +0 -6
- package/dist/commands/flex/plugins/upgrade-plugin.js.map +1 -1
- package/dist/sub-commands/flex-plugin.d.ts +5 -32
- package/dist/sub-commands/flex-plugin.js +1 -44
- package/dist/sub-commands/flex-plugin.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -11
- package/dist/commands/flex/plugins/validate.d.ts +0 -33
- package/dist/commands/flex/plugins/validate.js +0 -41
- package/dist/commands/flex/plugins/validate.js.map +0 -1
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import FlexPlugin from '../../../sub-commands/flex-plugin';
|
|
2
|
-
export declare type ValidateResult = {
|
|
3
|
-
violations: string[];
|
|
4
|
-
vtime: number;
|
|
5
|
-
error?: {
|
|
6
|
-
message: string;
|
|
7
|
-
timedOut: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Validates the plugin
|
|
12
|
-
*/
|
|
13
|
-
export default class FlexPluginValidate extends FlexPlugin {
|
|
14
|
-
static topicName: string;
|
|
15
|
-
static description: string;
|
|
16
|
-
static flags: {
|
|
17
|
-
json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
18
|
-
'clear-terminal': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
|
|
19
|
-
region: import("@oclif/command/lib/flags").IOptionFlag<string>;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @override
|
|
23
|
-
*/
|
|
24
|
-
doRun(): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* @override
|
|
27
|
-
*/
|
|
28
|
-
getTopicName(): string;
|
|
29
|
-
/**
|
|
30
|
-
* @override
|
|
31
|
-
*/
|
|
32
|
-
get checkCompatibility(): boolean;
|
|
33
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const general_1 = require("../../../utils/general");
|
|
7
|
-
const flex_plugin_1 = __importDefault(require("../../../sub-commands/flex-plugin"));
|
|
8
|
-
const baseFlags = Object.assign({}, flex_plugin_1.default.flags);
|
|
9
|
-
// @ts-ignore
|
|
10
|
-
delete baseFlags.json;
|
|
11
|
-
/**
|
|
12
|
-
* Validates the plugin
|
|
13
|
-
*/
|
|
14
|
-
// eslint-disable-next-line import/no-unused-modules
|
|
15
|
-
class FlexPluginValidate extends flex_plugin_1.default {
|
|
16
|
-
/**
|
|
17
|
-
* @override
|
|
18
|
-
*/
|
|
19
|
-
async doRun() {
|
|
20
|
-
process.env.PERSIST_TERMINAL = 'true';
|
|
21
|
-
const { violations, vtime, error } = (await this.runScript('validate'));
|
|
22
|
-
this.telemetryProperties = { violations, vtime: Math.round(vtime), error, deployed: 0 };
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @override
|
|
26
|
-
*/
|
|
27
|
-
getTopicName() {
|
|
28
|
-
return FlexPluginValidate.topicName;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @override
|
|
32
|
-
*/
|
|
33
|
-
get checkCompatibility() {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.default = FlexPluginValidate;
|
|
38
|
-
FlexPluginValidate.topicName = 'flex:plugins:validate';
|
|
39
|
-
FlexPluginValidate.description = general_1.createDescription(FlexPluginValidate.topic.description, false);
|
|
40
|
-
FlexPluginValidate.flags = Object.assign({}, baseFlags);
|
|
41
|
-
//# sourceMappingURL=validate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../../src/commands/flex/plugins/validate.ts"],"names":[],"mappings":";;;;;AAAA,oDAA2D;AAC3D,oFAA2D;AAE3D,MAAM,SAAS,qBAAQ,qBAAU,CAAC,KAAK,CAAE,CAAC;AAC1C,aAAa;AACb,OAAO,SAAS,CAAC,IAAI,CAAC;AAWtB;;GAEG;AACH,oDAAoD;AACpD,MAAqB,kBAAmB,SAAQ,qBAAU;IASxD;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,MAAM,CAAC;QACtC,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;;AA9BH,qCA+BC;AA9BQ,4BAAS,GAAG,uBAAuB,CAAC;AAEpC,8BAAW,GAAG,2BAAiB,CAAC,kBAAkB,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAE7E,wBAAK,qBACP,SAAS,EACZ"}
|