UNPKG

1.07 kBJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', {
4 value: true
5});
6const STRATEGY_NONE = 'none';
7const STRATEGY_COPY = 'copy';
8const STRATEGY_CREATE = 'create';
9const STRATEGY_REFERENCE = 'reference';
10const STRATEGY_NATIVE = 'native';
11const STRATEGY_TEMPLATE = 'template';
12const STRATEGY_BUFFER = 'buffer';
13const STRATEGY_PIPE = 'pipe';
14const STRATEGY_STREAM = 'stream';
15const KEBAB_PATTERN = /^[a-z]{1}[a-z-]+[a-z]{1}$/u; // Keep in sync with CLI options
16
17const EXECUTE_OPTIONS = {
18 '--concurrency': true,
19 '--graph': true,
20 '--workspaces': true
21};
22exports.EXECUTE_OPTIONS = EXECUTE_OPTIONS;
23exports.KEBAB_PATTERN = KEBAB_PATTERN;
24exports.STRATEGY_BUFFER = STRATEGY_BUFFER;
25exports.STRATEGY_COPY = STRATEGY_COPY;
26exports.STRATEGY_CREATE = STRATEGY_CREATE;
27exports.STRATEGY_NATIVE = STRATEGY_NATIVE;
28exports.STRATEGY_NONE = STRATEGY_NONE;
29exports.STRATEGY_PIPE = STRATEGY_PIPE;
30exports.STRATEGY_REFERENCE = STRATEGY_REFERENCE;
31exports.STRATEGY_STREAM = STRATEGY_STREAM;
32exports.STRATEGY_TEMPLATE = STRATEGY_TEMPLATE;
33//# sourceMappingURL=constants.js.map