1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const INFERRABLE_STAGES = [
|
4 | {
|
5 | name: 'development',
|
6 | inferRegex: /-(dev|development|uat|tst|test|qa)$/,
|
7 | },
|
8 | {
|
9 | name: 'staging',
|
10 | inferRegex: /-(stg|staging)$/,
|
11 | },
|
12 | {
|
13 | name: 'production',
|
14 | inferRegex: /-(prd|prod|production|admin|demo)$/,
|
15 | },
|
16 | ];
|
17 | exports.inferrableStages = INFERRABLE_STAGES;
|
18 | const INFERRABLE_STAGE_NAMES = INFERRABLE_STAGES.map(stage => stage.name);
|
19 | exports.inferrableStageNames = INFERRABLE_STAGE_NAMES;
|
20 | const STAGE_NAMES = ['review'].concat(INFERRABLE_STAGE_NAMES);
|
21 | exports.names = STAGE_NAMES;
|