projex
Version:
A command line to manage the workflow
25 lines (24 loc) • 1.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLI_NAME = exports.PROMPT_CONTINUE = exports.SUCCESS_EXECUTION = exports.ERROR_TO_EXCLUDE = exports.ERROR_EXECUTION = exports.Commands = exports.unreleased = void 0;
const GET_TOKEN = 'vtex local token';
const GET_ACCOUNT = 'vtex whoami';
exports.unreleased = '## [Unreleased]';
exports.Commands = {
GET_ACCOUNT,
GET_TOKEN,
};
exports.ERROR_EXECUTION = ['[31merror[39m:', 'Error: Expected stable to be one of', 'See more help with --help'];
exports.ERROR_TO_EXCLUDE = [
'Failed to get dependencies GraphQL',
'failed to install dependencies through yarn',
'Connection to debug log server has failed with status',
'Connection to event server has failed with',
'Error publishing app: Status 500 (try: 1)',
'Error publishing app: Status 500 (try: 2)',
'Publishing failed.',
'ErrorID:',
];
exports.SUCCESS_EXECUTION = ['Successfully deployed', 'You can deploy it with:'];
exports.PROMPT_CONTINUE = ['(Y/n)'];
exports.CLI_NAME = 'projex';