UNPKG

653 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const 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];
17exports.inferrableStages = INFERRABLE_STAGES;
18const INFERRABLE_STAGE_NAMES = INFERRABLE_STAGES.map(stage => stage.name);
19exports.inferrableStageNames = INFERRABLE_STAGE_NAMES;
20const STAGE_NAMES = ['review'].concat(INFERRABLE_STAGE_NAMES);
21exports.names = STAGE_NAMES;