@journeyapps/cloudcode-build-agent 0.0.0-dev.55699c3 → 0.0.0-dev.6fdb5b1
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/dist/builder.d.ts +7 -1
- package/dist/builder.js +100 -3
- package/dist/builder.js.map +1 -1
- package/dist/cli.js +15 -14
- package/dist/cli.js.map +1 -1
- package/dist/detect_tasks.js +1 -0
- package/dist/detect_tasks.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/utils.js +58 -27
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
- package/src/builder.ts +94 -4
- package/src/cli.ts +20 -24
- package/src/detect_tasks.ts +1 -0
- package/src/index.ts +0 -1
- package/src/utils.ts +63 -32
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/installer.d.ts +0 -1
- package/dist/installer.js +0 -92
- package/dist/installer.js.map +0 -1
- package/src/installer.ts +0 -82
package/dist/builder.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type GeneralTaskConfig = {
|
|
2
|
+
app_id: string;
|
|
3
|
+
env: string;
|
|
4
|
+
backend_id: string;
|
|
5
|
+
backend_url: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function buildTasks(project_path: string, dest: string, config: GeneralTaskConfig, only?: string): Promise<void>;
|
package/dist/builder.js
CHANGED
|
@@ -1,12 +1,109 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
26
|
exports.buildTasks = void 0;
|
|
27
|
+
const path = __importStar(require("node:path"));
|
|
28
|
+
const jetpack = __importStar(require("fs-jetpack"));
|
|
29
|
+
const semver = __importStar(require("semver"));
|
|
30
|
+
const utils = __importStar(require("./utils"));
|
|
31
|
+
const child_process_1 = require("child_process");
|
|
4
32
|
const detect_tasks_1 = require("./detect_tasks");
|
|
5
|
-
|
|
33
|
+
const _ = __importStar(require("lodash"));
|
|
6
34
|
async function buildTasks(project_path, dest, config, only) {
|
|
7
35
|
const tasks = await (0, detect_tasks_1.detectTasks)(project_path, only);
|
|
8
|
-
|
|
9
|
-
|
|
36
|
+
const required_node_versions = _.compact(tasks.map((t) => t.required_node_version));
|
|
37
|
+
const install_node_versions = _.uniq(required_node_versions);
|
|
38
|
+
// FIXME: Maybe refactor this section into an ensureNodeVersion (or something) that returns the relevant toolpaths?
|
|
39
|
+
const tool_paths = {};
|
|
40
|
+
// Use the version of nodejs that's running this script as the default.
|
|
41
|
+
const default_tool_paths = {
|
|
42
|
+
bin_path: path.dirname(process.execPath),
|
|
43
|
+
node_bin: process.execPath,
|
|
44
|
+
npm_bin: path.join(path.dirname(process.execPath), 'npm')
|
|
45
|
+
};
|
|
46
|
+
tool_paths[process.version] = default_tool_paths;
|
|
47
|
+
for (const required_node_version of install_node_versions) {
|
|
48
|
+
const custom_node_path = path.resolve(`node-${semver.major(required_node_version)}`);
|
|
49
|
+
if (!jetpack.exists(path.join(custom_node_path, 'bin/node'))) {
|
|
50
|
+
console.debug(`installing to ${custom_node_path}`);
|
|
51
|
+
await jetpack.dirAsync(custom_node_path);
|
|
52
|
+
await utils.downloadAndInstallNode(required_node_version, custom_node_path);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
console.debug(`already installed in ${custom_node_path}`);
|
|
56
|
+
}
|
|
57
|
+
tool_paths[required_node_version] = utils.nodePaths(custom_node_path);
|
|
58
|
+
}
|
|
59
|
+
console.debug('----');
|
|
60
|
+
for (const task of tasks) {
|
|
61
|
+
const node_version = task.required_node_version ?? process.version;
|
|
62
|
+
const builder_package = task.builder_package;
|
|
63
|
+
const builder_script = task.builder_script;
|
|
64
|
+
const { bin_path, node_bin, npm_bin } = tool_paths[node_version];
|
|
65
|
+
const builder_bin = path.resolve(bin_path, builder_script);
|
|
66
|
+
if (!jetpack.exists(node_bin)) {
|
|
67
|
+
throw new Error(`Node binary not found: ${node_bin}`);
|
|
68
|
+
}
|
|
69
|
+
console.debug(`[${task.task_name}] Installing builder script "${builder_package}" for node ${node_version}`);
|
|
70
|
+
// TODO: This may need to be replaced with the something like the spawn-stream stuff in build-agent? OR what to do with the stdout/stderr and errorhandling?
|
|
71
|
+
const spawnResult = (0, child_process_1.spawnSync)(node_bin, [npm_bin, '--global', 'install', builder_package], { cwd: project_path });
|
|
72
|
+
if (spawnResult.status != 0) {
|
|
73
|
+
console.error(`[${task.task_name}] failed to install ${builder_package}`);
|
|
74
|
+
console.debug(`[${task.task_name}] STDOUT: ${spawnResult.stdout}`);
|
|
75
|
+
console.debug(`[${task.task_name}] STDERR: ${spawnResult.stderr}`);
|
|
76
|
+
throw new Error(`Failed to install builder script for task ${task.task_name}`);
|
|
77
|
+
}
|
|
78
|
+
if (!jetpack.exists(builder_bin)) {
|
|
79
|
+
console.error(`[${task.task_name}] ${builder_bin} not found`);
|
|
80
|
+
throw new Error(`Builder script not found for task ${task.task_name}`);
|
|
81
|
+
}
|
|
82
|
+
const builder_args = [];
|
|
83
|
+
// --src ./ --out ./dist/echo --task echo --appId 'appid' --env 'testing' --backendId 'backendid' --backendUrl 'http://run.journeyapps.test'
|
|
84
|
+
builder_args.push(builder_bin);
|
|
85
|
+
builder_args.push('--src', project_path);
|
|
86
|
+
builder_args.push(`--out`, path.join(dest, task.task_name));
|
|
87
|
+
builder_args.push(`--task`, `${task.task_name}`);
|
|
88
|
+
builder_args.push(`--appId`, config.app_id);
|
|
89
|
+
builder_args.push(`--env`, config.env);
|
|
90
|
+
builder_args.push(`--backendId`, config.backend_id);
|
|
91
|
+
builder_args.push(`--backendUrl`, config.backend_url);
|
|
92
|
+
// builder_args.push(`--runInstallScripts`, 'true'); // TODO: handle this from feature flags somehow
|
|
93
|
+
console.debug(`[${task.task_name}] Trying: ${node_bin} ${builder_args.join(' ')}`);
|
|
94
|
+
const builderSpawnResult = (0, child_process_1.spawnSync)(node_bin, builder_args, { cwd: project_path });
|
|
95
|
+
if (builderSpawnResult.status !== 0) {
|
|
96
|
+
console.error(`[${task.task_name}] FAILED TO RUN BUILDER SCRIPT`);
|
|
97
|
+
console.debug(`[${task.task_name}] STDOUT: ${builderSpawnResult.stdout}`);
|
|
98
|
+
console.debug(`[${task.task_name}] STDERR: ${builderSpawnResult.stderr}`);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
// NOTE/FIXME?: a CLOUDCODE/BUILD/BUILD_FAILED build failure (eg. TS error in task) lands here, with the output in stderr.
|
|
102
|
+
console.debug(`[${task.task_name}] SCRIPT SUCCESS`);
|
|
103
|
+
console.debug(`[${task.task_name}] STDOUT: ${builderSpawnResult.stdout}`);
|
|
104
|
+
console.debug(`[${task.task_name}] STDERR: ${builderSpawnResult.stderr}`);
|
|
105
|
+
}
|
|
106
|
+
console.debug('----');
|
|
10
107
|
}
|
|
11
108
|
}
|
|
12
109
|
exports.buildTasks = buildTasks;
|
package/dist/builder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../src/builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../src/builder.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAAkC;AAClC,oDAAsC;AACtC,+CAAiC;AACjC,+CAAiC;AACjC,iDAA0C;AAC1C,iDAA6C;AAE7C,0CAA4B;AASrB,KAAK,UAAU,UAAU,CAAC,YAAoB,EAAE,IAAY,EAAE,MAAyB,EAAE,IAAa;IAC3G,MAAM,KAAK,GAAG,MAAM,IAAA,0BAAW,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IAEpD,MAAM,sBAAsB,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACpF,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAE7D,mHAAmH;IACnH,MAAM,UAAU,GAA4E,EAAE,CAAC;IAC/F,uEAAuE;IACvE,MAAM,kBAAkB,GAAG;QACzB,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC;QACxC,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;KAC1D,CAAC;IACF,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAAC;IAEjD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KACvB;AACH,CAAC;AAnFD,gCAmFC"}
|
package/dist/cli.js
CHANGED
|
@@ -27,26 +27,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
const yargs = __importStar(require("yargs"));
|
|
28
28
|
const _1 = require("./");
|
|
29
29
|
const DEFAULT_SRC_PATH = './';
|
|
30
|
-
const DEFAULT_OUT_PATH = '';
|
|
30
|
+
const DEFAULT_OUT_PATH = './dist';
|
|
31
31
|
yargs
|
|
32
32
|
.command(['build', '$0'], // $0 means this is the default command
|
|
33
33
|
'build tasks', (yargs) => {
|
|
34
|
-
return yargs
|
|
34
|
+
return (yargs
|
|
35
35
|
.option('only', { string: true })
|
|
36
36
|
.option('path', { default: DEFAULT_SRC_PATH })
|
|
37
|
-
.option('out', { default: DEFAULT_OUT_PATH })
|
|
37
|
+
.option('out', { default: DEFAULT_OUT_PATH })
|
|
38
|
+
// TODO: investigate yargs.config() for reading task config blob from a file. But how to ensure required args?
|
|
39
|
+
.option('appId', { string: true, demandOption: true, describe: "CloudCode's reference id" })
|
|
40
|
+
.option('env', { string: true, demandOption: true })
|
|
41
|
+
.option('backendId', { string: true, demandOption: true })
|
|
42
|
+
.option('backendUrl', { string: true, demandOption: true }));
|
|
38
43
|
}, handled(async (argv) => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
// iterate over task directories:
|
|
47
|
-
// ensure required node version for task CC version is installed - What if too old - error?
|
|
48
|
-
// run yarn install
|
|
49
|
-
await (0, _1.prepareBuildEnvForTasks)(argv.path, argv.only);
|
|
44
|
+
const config = {
|
|
45
|
+
app_id: argv.appId,
|
|
46
|
+
env: argv.env,
|
|
47
|
+
backend_id: argv.backendId,
|
|
48
|
+
backend_url: argv.backendUrl
|
|
49
|
+
};
|
|
50
|
+
await (0, _1.buildTasks)(argv.path, argv.out, config, argv.only);
|
|
50
51
|
}))
|
|
51
52
|
.option('verbose', {
|
|
52
53
|
alias: 'v',
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6CAA+B;AAE/B,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6CAA+B;AAE/B,yBAA8C;AAE9C,MAAM,gBAAgB,GAAG,IAAI,CAAC;AAC9B,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAElC,KAAK;KACF,OAAO,CACN,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,uCAAuC;AACxD,aAAa,EACb,CAAC,KAAK,EAAE,EAAE;IACR,OAAO,CACL,KAAK;SACF,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;SAChC,MAAM,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;SAC7C,MAAM,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;QAC7C,8GAA8G;SAC7G,MAAM,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,0BAA0B,EAAE,CAAC;SAC3F,MAAM,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;SACnD,MAAM,CAAC,WAAW,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;SACzD,MAAM,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAC9D,CAAC;AACJ,CAAC,EACD,OAAO,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE;IACrB,MAAM,MAAM,GAAG;QACb,MAAM,EAAE,IAAI,CAAC,KAAK;QAClB,GAAG,EAAE,IAAI,CAAC,GAAG;QACb,UAAU,EAAE,IAAI,CAAC,SAAS;QAC1B,WAAW,EAAE,IAAI,CAAC,UAAU;KAC7B,CAAC;IACF,MAAM,IAAA,aAAU,EAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC,CAAC,CACH;KACA,MAAM,CAAC,SAAS,EAAE;IACjB,KAAK,EAAE,GAAG;IACV,OAAO,EAAE,KAAK;CACf,CAAC,CAAC,IAAI,CAAC;AAEV,SAAS,OAAO,CAAI,EAA8B;IAChD,OAAO,KAAK,EAAE,IAAO,EAAE,EAAE;QACvB,IAAI;YACF,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC;SAChB;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,GAAG,YAAY,eAAY,EAAE;gBAC/B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC3B,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;aAC1B;iBAAM;gBACL,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;gBACzB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACjB;SACF;IACH,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/detect_tasks.js
CHANGED
|
@@ -61,6 +61,7 @@ async function detectTasks(project_path, only) {
|
|
|
61
61
|
const task_package = await readPackage(pkg_path);
|
|
62
62
|
const task_name = task_package.name; // CAVEAT: the pkg name _must_ match the dir.
|
|
63
63
|
const task_version = task_package?.cloudcode?.runtime;
|
|
64
|
+
// FIXME: Do we want to filter out disabled tasks from the build process?
|
|
64
65
|
console.debug(`Detected task version ${task_version}`);
|
|
65
66
|
const matching = defs.SUPPORTED_VERSIONS.find((v) => {
|
|
66
67
|
return semver.satisfies(v.version, task_version);
|
package/dist/detect_tasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect_tasks.js","sourceRoot":"","sources":["../src/detect_tasks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAA8B;AAC9B,gDAAkC;AAClC,oDAAsC;AACtC,+CAAiC;AACjC,6CAA+B;AAE/B,+DAA+D;AAC/D,KAAK,UAAU,WAAW,CAAC,IAAY;IACrC,IAAI;QACF,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;QACxE,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KAC5B;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,UAAU,GAAG,EAAE,CAAC,CAAC;QAC/B,MAAM,GAAG,CAAC;QACV,mCAAmC;QACnC,+CAA+C;KAChD;AACH,CAAC;AAEM,KAAK,UAAU,WAAW,CAAC,YAAoB,EAAE,IAAa;IACnE,MAAM,aAAa,GAAG,MAAM,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACrH,MAAM,sBAAsB,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC/D,+BAA+B;QAC/B,MAAM,EAAE,GAAG,yCAAyC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpE,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,KAAK,CAAC;SACd;QACD,MAAM,QAAQ,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;QAEvB,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,QAAQ,EAAE;YACpC,qFAAqF;YACrF,OAAO,KAAK,C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,IAAI,CAAC,KAAK,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,EAAE;YACxF,OAAO,CAAC,KAAK,CAAC,0CAA0C,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;YAEzE,qBAAqB,GAAG,QAAQ,CAAC,IAAI,CAAC;SACvC;QACD,OAAO;YACL,QAAQ;YACR,SAAS;YACT,YAAY;YACZ,qBAAqB;YACrB,eAAe,EAAE,QAAQ,CAAC,eAAe;YACzC,cAAc,EAAE,QAAQ,CAAC,cAAc;SACxC,CAAC;IACJ,CAAC,CAAC,CACH,CAAC;AACJ,CAAC;AAtDD,kCAsDC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./errors"), exports);
|
|
18
18
|
__exportStar(require("./builder"), exports);
|
|
19
|
-
__exportStar(require("./installer"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B"}
|
package/dist/utils.js
CHANGED
|
@@ -64,35 +64,66 @@ async function downloadAndExtractTarball(url, dest) {
|
|
|
64
64
|
const filename = path.basename(URL.parse(url).pathname);
|
|
65
65
|
const base = path.basename(filename, '.tar.gz');
|
|
66
66
|
const download = path.join(tmpdir, filename);
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
if (!response.ok) {
|
|
71
|
-
const errorBody = await response.statusText;
|
|
72
|
-
throw new Error(`Failed to download: ${errorBody}`);
|
|
67
|
+
if (fs.existsSync(download)) {
|
|
68
|
+
console.debug(`deleting old ${download}`);
|
|
69
|
+
fs.unlinkSync(download);
|
|
73
70
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
cwd: tmpdir,
|
|
81
|
-
file: comp.path,
|
|
82
|
-
sync: true
|
|
83
|
-
});
|
|
84
|
-
const uncomp = path.join(tmpdir, base);
|
|
85
|
-
const dist = path.resolve(dest);
|
|
86
|
-
// FIXME: dangerous. Add protection or replace.
|
|
87
|
-
// if (fs.existsSync(dist)) {
|
|
88
|
-
// fs.rmSync(dist, { recursive: true });
|
|
89
|
-
// }
|
|
90
|
-
if (fs.existsSync(uncomp)) {
|
|
91
|
-
console.log(`Moving extracted files from ${uncomp} to ${dist}`);
|
|
92
|
-
fs.renameSync(uncomp, dist);
|
|
71
|
+
await new Promise(async (resolve, reject) => {
|
|
72
|
+
console.log(`fetching ${url} into ${download}`);
|
|
73
|
+
const response = await (0, node_fetch_1.default)(url);
|
|
74
|
+
if (!response.ok) {
|
|
75
|
+
const errorBody = await response.statusText;
|
|
76
|
+
throw new Error(`Failed to download: ${errorBody}`);
|
|
93
77
|
}
|
|
94
|
-
// FIXME:
|
|
95
|
-
|
|
78
|
+
// FIXME: replace with webstreams? but according to the types package webstreams aren't available in node 16?!??
|
|
79
|
+
const file = fs.createWriteStream(download); // Sink the download stream into a file, so it can be extracted.
|
|
80
|
+
response.body.pipe(file);
|
|
81
|
+
file.on('finish', async () => {
|
|
82
|
+
try {
|
|
83
|
+
console.log('Extracting...', download);
|
|
84
|
+
// const comp = fs.createReadStream(download);
|
|
85
|
+
tar.extract({
|
|
86
|
+
cwd: tmpdir,
|
|
87
|
+
file: download,
|
|
88
|
+
sync: true
|
|
89
|
+
});
|
|
90
|
+
const uncomp = path.join(tmpdir, base);
|
|
91
|
+
const dist = path.resolve(dest);
|
|
92
|
+
// FIXME: dangerous. Add protection or replace.
|
|
93
|
+
// if (fs.existsSync(dist)) {
|
|
94
|
+
// fs.rmSync(dist, { recursive: true });
|
|
95
|
+
// }
|
|
96
|
+
if (fs.existsSync(uncomp)) {
|
|
97
|
+
console.log(`Moving extracted files from ${uncomp} to ${dist}`);
|
|
98
|
+
fs.renameSync(uncomp, dist);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
console.log(`Can't find extract dir ${uncomp}`);
|
|
102
|
+
}
|
|
103
|
+
// FIXME: this seems to sometimes cause errors
|
|
104
|
+
/*
|
|
105
|
+
----
|
|
106
|
+
node:events:505
|
|
107
|
+
throw er; // Unhandled 'error' event
|
|
108
|
+
^
|
|
109
|
+
|
|
110
|
+
Error: ENOENT: no such file or directory, open '/var/folders/kc/h6m4zpmd23v13s63mygvkslm0000gn/T/node-v16.19.1-darwin-arm64.tar.gz'
|
|
111
|
+
Emitted 'error' event on ReadStream instance at:
|
|
112
|
+
at emitErrorNT (node:internal/streams/destroy:157:8)
|
|
113
|
+
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
|
|
114
|
+
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
|
|
115
|
+
errno: -2,
|
|
116
|
+
code: 'ENOENT',
|
|
117
|
+
syscall: 'open',
|
|
118
|
+
path: '/var/folders/kc/h6m4zpmd23v13s63mygvkslm0000gn/T/node-v16.19.1-darwin-arm64.tar.gz'
|
|
119
|
+
*/
|
|
120
|
+
// fs.unlinkSync(file.path);
|
|
121
|
+
resolve(null);
|
|
122
|
+
}
|
|
123
|
+
catch (err) {
|
|
124
|
+
reject(err);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
96
127
|
});
|
|
97
128
|
}
|
|
98
129
|
exports.downloadAndExtractTarball = downloadAndExtractTarball;
|
package/dist/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;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I,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;gBAEvC,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;gBAChC,+CAA+C;gBAC/C,6BAA6B;gBAC7B,0CAA0C;gBAC1C,IAAI;gBACJ,IAAI,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE;oBACzB,OAAO,CAAC,GAAG,CAAC,+BAA+B,MAAM,OAAO,IAAI,EAAE,CAAC,CAAC;oBAChE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;iBAC7B;qBAAM;oBACL,OAAO,CAAC,GAAG,CAAC,0BAA0B,MAAM,EAAE,CAAC,CAAC;iBACjD;gBAED,8CAA8C;gBAC9C;;;;;;;;;;;;;;;kBAeE;gBACF,4BAA4B;gBAE5B,OAAO,CAAC,IAAI,CAAC,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC;AA5ED,8DA4EC"}
|
package/package.json
CHANGED
package/src/builder.ts
CHANGED
|
@@ -1,11 +1,101 @@
|
|
|
1
|
+
import * as fs from 'node:fs';
|
|
2
|
+
import * as path from 'node:path';
|
|
3
|
+
import * as jetpack from 'fs-jetpack';
|
|
4
|
+
import * as semver from 'semver';
|
|
5
|
+
import * as utils from './utils';
|
|
1
6
|
import { spawnSync } from 'child_process';
|
|
2
7
|
import { detectTasks } from './detect_tasks';
|
|
3
8
|
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
import * as _ from 'lodash';
|
|
10
|
+
|
|
11
|
+
export type GeneralTaskConfig = {
|
|
12
|
+
app_id: string;
|
|
13
|
+
env: string;
|
|
14
|
+
backend_id: string;
|
|
15
|
+
backend_url: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export async function buildTasks(project_path: string, dest: string, config: GeneralTaskConfig, only?: string) {
|
|
6
19
|
const tasks = await detectTasks(project_path, only);
|
|
7
20
|
|
|
8
|
-
|
|
9
|
-
|
|
21
|
+
const required_node_versions = _.compact(tasks.map((t) => t.required_node_version));
|
|
22
|
+
const install_node_versions = _.uniq(required_node_versions);
|
|
23
|
+
|
|
24
|
+
// FIXME: Maybe refactor this section into an ensureNodeVersion (or something) that returns the relevant toolpaths?
|
|
25
|
+
const tool_paths: Record<string, { bin_path: string; node_bin: string; npm_bin: string }> = {};
|
|
26
|
+
// Use the version of nodejs that's running this script as the default.
|
|
27
|
+
const default_tool_paths = {
|
|
28
|
+
bin_path: path.dirname(process.execPath),
|
|
29
|
+
node_bin: process.execPath,
|
|
30
|
+
npm_bin: path.join(path.dirname(process.execPath), 'npm')
|
|
31
|
+
};
|
|
32
|
+
tool_paths[process.version] = default_tool_paths;
|
|
33
|
+
|
|
34
|
+
for (const required_node_version of install_node_versions) {
|
|
35
|
+
const custom_node_path = path.resolve(`node-${semver.major(required_node_version)}`);
|
|
36
|
+
|
|
37
|
+
if (!jetpack.exists(path.join(custom_node_path, 'bin/node'))) {
|
|
38
|
+
console.debug(`installing to ${custom_node_path}`);
|
|
39
|
+
await jetpack.dirAsync(custom_node_path);
|
|
40
|
+
await utils.downloadAndInstallNode(required_node_version, custom_node_path);
|
|
41
|
+
} else {
|
|
42
|
+
console.debug(`already installed in ${custom_node_path}`);
|
|
43
|
+
}
|
|
44
|
+
tool_paths[required_node_version] = utils.nodePaths(custom_node_path);
|
|
45
|
+
}
|
|
46
|
+
console.debug('----');
|
|
47
|
+
|
|
48
|
+
for (const task of tasks) {
|
|
49
|
+
const node_version = task.required_node_version ?? process.version;
|
|
50
|
+
const builder_package = task.builder_package;
|
|
51
|
+
const builder_script = task.builder_script;
|
|
52
|
+
const { bin_path, node_bin, npm_bin } = tool_paths[node_version];
|
|
53
|
+
const builder_bin = path.resolve(bin_path, builder_script);
|
|
54
|
+
|
|
55
|
+
if (!jetpack.exists(node_bin)) {
|
|
56
|
+
throw new Error(`Node binary not found: ${node_bin}`);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
console.debug(`[${task.task_name}] Installing builder script "${builder_package}" for node ${node_version}`);
|
|
60
|
+
// TODO: This may need to be replaced with the something like the spawn-stream stuff in build-agent? OR what to do with the stdout/stderr and errorhandling?
|
|
61
|
+
const spawnResult = spawnSync(node_bin, [npm_bin, '--global', 'install', builder_package], { cwd: project_path });
|
|
62
|
+
if (spawnResult.status != 0) {
|
|
63
|
+
console.error(`[${task.task_name}] failed to install ${builder_package}`);
|
|
64
|
+
console.debug(`[${task.task_name}] STDOUT: ${spawnResult.stdout}`);
|
|
65
|
+
console.debug(`[${task.task_name}] STDERR: ${spawnResult.stderr}`);
|
|
66
|
+
throw new Error(`Failed to install builder script for task ${task.task_name}`);
|
|
67
|
+
}
|
|
68
|
+
if (!jetpack.exists(builder_bin)) {
|
|
69
|
+
console.error(`[${task.task_name}] ${builder_bin} not found`);
|
|
70
|
+
throw new Error(`Builder script not found for task ${task.task_name}`);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const builder_args: string[] = [];
|
|
74
|
+
// --src ./ --out ./dist/echo --task echo --appId 'appid' --env 'testing' --backendId 'backendid' --backendUrl 'http://run.journeyapps.test'
|
|
75
|
+
builder_args.push(builder_bin);
|
|
76
|
+
builder_args.push('--src', project_path);
|
|
77
|
+
builder_args.push(`--out`, path.join(dest, task.task_name));
|
|
78
|
+
builder_args.push(`--task`, `${task.task_name}`);
|
|
79
|
+
builder_args.push(`--appId`, config.app_id);
|
|
80
|
+
builder_args.push(`--env`, config.env);
|
|
81
|
+
builder_args.push(`--backendId`, config.backend_id);
|
|
82
|
+
builder_args.push(`--backendUrl`, config.backend_url);
|
|
83
|
+
// builder_args.push(`--runInstallScripts`, 'true'); // TODO: handle this from feature flags somehow
|
|
84
|
+
|
|
85
|
+
console.debug(`[${task.task_name}] Trying: ${node_bin} ${builder_args.join(' ')}`);
|
|
86
|
+
|
|
87
|
+
const builderSpawnResult = spawnSync(node_bin, builder_args, { cwd: project_path });
|
|
88
|
+
|
|
89
|
+
if (builderSpawnResult.status !== 0) {
|
|
90
|
+
console.error(`[${task.task_name}] FAILED TO RUN BUILDER SCRIPT`);
|
|
91
|
+
console.debug(`[${task.task_name}] STDOUT: ${builderSpawnResult.stdout}`);
|
|
92
|
+
console.debug(`[${task.task_name}] STDERR: ${builderSpawnResult.stderr}`);
|
|
93
|
+
} else {
|
|
94
|
+
// NOTE/FIXME?: a CLOUDCODE/BUILD/BUILD_FAILED build failure (eg. TS error in task) lands here, with the output in stderr.
|
|
95
|
+
console.debug(`[${task.task_name}] SCRIPT SUCCESS`);
|
|
96
|
+
console.debug(`[${task.task_name}] STDOUT: ${builderSpawnResult.stdout}`);
|
|
97
|
+
console.debug(`[${task.task_name}] STDERR: ${builderSpawnResult.stderr}`);
|
|
98
|
+
}
|
|
99
|
+
console.debug('----');
|
|
10
100
|
}
|
|
11
101
|
}
|
package/src/cli.ts
CHANGED
|
@@ -2,40 +2,36 @@
|
|
|
2
2
|
|
|
3
3
|
import * as yargs from 'yargs';
|
|
4
4
|
|
|
5
|
-
import { ProcessError, buildTasks
|
|
5
|
+
import { ProcessError, buildTasks } from './';
|
|
6
6
|
|
|
7
7
|
const DEFAULT_SRC_PATH = './';
|
|
8
|
-
const DEFAULT_OUT_PATH = '';
|
|
8
|
+
const DEFAULT_OUT_PATH = './dist';
|
|
9
9
|
|
|
10
10
|
yargs
|
|
11
11
|
.command(
|
|
12
12
|
['build', '$0'], // $0 means this is the default command
|
|
13
13
|
'build tasks',
|
|
14
14
|
(yargs) => {
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
return (
|
|
16
|
+
yargs
|
|
17
|
+
.option('only', { string: true })
|
|
18
|
+
.option('path', { default: DEFAULT_SRC_PATH })
|
|
19
|
+
.option('out', { default: DEFAULT_OUT_PATH })
|
|
20
|
+
// TODO: investigate yargs.config() for reading task config blob from a file. But how to ensure required args?
|
|
21
|
+
.option('appId', { string: true, demandOption: true, describe: "CloudCode's reference id" })
|
|
22
|
+
.option('env', { string: true, demandOption: true })
|
|
23
|
+
.option('backendId', { string: true, demandOption: true })
|
|
24
|
+
.option('backendUrl', { string: true, demandOption: true })
|
|
25
|
+
);
|
|
19
26
|
},
|
|
20
27
|
handled(async (argv) => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
'prepare-env',
|
|
29
|
-
'Install node environments and packages for each task',
|
|
30
|
-
(yargs) => {
|
|
31
|
-
return yargs.option('only', { string: true }).option('path', { default: DEFAULT_SRC_PATH });
|
|
32
|
-
},
|
|
33
|
-
handled(async (argv) => {
|
|
34
|
-
// iterate over task directories:
|
|
35
|
-
// ensure required node version for task CC version is installed - What if too old - error?
|
|
36
|
-
// run yarn install
|
|
37
|
-
|
|
38
|
-
await prepareBuildEnvForTasks(argv.path, argv.only);
|
|
28
|
+
const config = {
|
|
29
|
+
app_id: argv.appId,
|
|
30
|
+
env: argv.env,
|
|
31
|
+
backend_id: argv.backendId,
|
|
32
|
+
backend_url: argv.backendUrl
|
|
33
|
+
};
|
|
34
|
+
await buildTasks(argv.path, argv.out, config, argv.only);
|
|
39
35
|
})
|
|
40
36
|
)
|
|
41
37
|
.option('verbose', {
|
package/src/detect_tasks.ts
CHANGED
|
@@ -40,6 +40,7 @@ export async function detectTasks(project_path: string, only?: string) {
|
|
|
40
40
|
|
|
41
41
|
const task_name = task_package.name; // CAVEAT: the pkg name _must_ match the dir.
|
|
42
42
|
const task_version = task_package?.cloudcode?.runtime;
|
|
43
|
+
// FIXME: Do we want to filter out disabled tasks from the build process?
|
|
43
44
|
|
|
44
45
|
console.debug(`Detected task version ${task_version}`);
|
|
45
46
|
|
package/src/index.ts
CHANGED
package/src/utils.ts
CHANGED
|
@@ -41,42 +41,73 @@ export async function downloadAndExtractTarball(url: string, dest: string) {
|
|
|
41
41
|
const base = path.basename(filename, '.tar.gz');
|
|
42
42
|
const download = path.join(tmpdir, filename);
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const response = await fetch(url);
|
|
48
|
-
if (!response.ok) {
|
|
49
|
-
const errorBody = await response.statusText;
|
|
50
|
-
throw new Error(`Failed to download: ${errorBody}`);
|
|
44
|
+
if (fs.existsSync(download)) {
|
|
45
|
+
console.debug(`deleting old ${download}`);
|
|
46
|
+
fs.unlinkSync(download);
|
|
51
47
|
}
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
file.on('finish', async () => {
|
|
57
|
-
console.log('Extracting...', download);
|
|
49
|
+
await new Promise(async (resolve, reject) => {
|
|
50
|
+
console.log(`fetching ${url} into ${download}`);
|
|
58
51
|
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
file: comp.path as string,
|
|
64
|
-
sync: true
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
const uncomp = path.join(tmpdir, base);
|
|
68
|
-
|
|
69
|
-
const dist = path.resolve(dest);
|
|
70
|
-
// FIXME: dangerous. Add protection or replace.
|
|
71
|
-
// if (fs.existsSync(dist)) {
|
|
72
|
-
// fs.rmSync(dist, { recursive: true });
|
|
73
|
-
// }
|
|
74
|
-
if (fs.existsSync(uncomp)) {
|
|
75
|
-
console.log(`Moving extracted files from ${uncomp} to ${dist}`);
|
|
76
|
-
fs.renameSync(uncomp, dist);
|
|
52
|
+
const response = await fetch(url);
|
|
53
|
+
if (!response.ok) {
|
|
54
|
+
const errorBody = await response.statusText;
|
|
55
|
+
throw new Error(`Failed to download: ${errorBody}`);
|
|
77
56
|
}
|
|
78
57
|
|
|
79
|
-
// FIXME:
|
|
80
|
-
|
|
58
|
+
// FIXME: replace with webstreams? but according to the types package webstreams aren't available in node 16?!??
|
|
59
|
+
const file = fs.createWriteStream(download); // Sink the download stream into a file, so it can be extracted.
|
|
60
|
+
response.body.pipe(file);
|
|
61
|
+
|
|
62
|
+
file.on('finish', async () => {
|
|
63
|
+
try {
|
|
64
|
+
console.log('Extracting...', download);
|
|
65
|
+
|
|
66
|
+
// const comp = fs.createReadStream(download);
|
|
67
|
+
|
|
68
|
+
tar.extract({
|
|
69
|
+
cwd: tmpdir,
|
|
70
|
+
file: download,
|
|
71
|
+
sync: true
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const uncomp = path.join(tmpdir, base);
|
|
75
|
+
|
|
76
|
+
const dist = path.resolve(dest);
|
|
77
|
+
// FIXME: dangerous. Add protection or replace.
|
|
78
|
+
// if (fs.existsSync(dist)) {
|
|
79
|
+
// fs.rmSync(dist, { recursive: true });
|
|
80
|
+
// }
|
|
81
|
+
if (fs.existsSync(uncomp)) {
|
|
82
|
+
console.log(`Moving extracted files from ${uncomp} to ${dist}`);
|
|
83
|
+
fs.renameSync(uncomp, dist);
|
|
84
|
+
} else {
|
|
85
|
+
console.log(`Can't find extract dir ${uncomp}`);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// FIXME: this seems to sometimes cause errors
|
|
89
|
+
/*
|
|
90
|
+
----
|
|
91
|
+
node:events:505
|
|
92
|
+
throw er; // Unhandled 'error' event
|
|
93
|
+
^
|
|
94
|
+
|
|
95
|
+
Error: ENOENT: no such file or directory, open '/var/folders/kc/h6m4zpmd23v13s63mygvkslm0000gn/T/node-v16.19.1-darwin-arm64.tar.gz'
|
|
96
|
+
Emitted 'error' event on ReadStream instance at:
|
|
97
|
+
at emitErrorNT (node:internal/streams/destroy:157:8)
|
|
98
|
+
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
|
|
99
|
+
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
|
|
100
|
+
errno: -2,
|
|
101
|
+
code: 'ENOENT',
|
|
102
|
+
syscall: 'open',
|
|
103
|
+
path: '/var/folders/kc/h6m4zpmd23v13s63mygvkslm0000gn/T/node-v16.19.1-darwin-arm64.tar.gz'
|
|
104
|
+
*/
|
|
105
|
+
// fs.unlinkSync(file.path);
|
|
106
|
+
|
|
107
|
+
resolve(null);
|
|
108
|
+
} catch (err) {
|
|
109
|
+
reject(err);
|
|
110
|
+
}
|
|
111
|
+
});
|
|
81
112
|
});
|
|
82
113
|
}
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/index.d.ts","../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/types.d.ts","../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/index.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/semver.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/parse.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/clean.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/inc.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/diff.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/major.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/minor.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/patch.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/sort.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/gt.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/lt.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/eq.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/neq.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/gte.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/lte.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/range.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/index.d.ts","./src/defs.ts","./src/detect_tasks.ts","./src/builder.ts","../../node_modules/.pnpm/@types+yargs-parser@21.0.0/node_modules/@types/yargs-parser/index.d.ts","../../node_modules/.pnpm/@types+yargs@17.0.22/node_modules/@types/yargs/index.d.ts","./src/errors.ts","../../node_modules/.pnpm/form-data@3.0.1/node_modules/form-data/index.d.ts","../../node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/externals.d.ts","../../node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/index.d.ts","../../node_modules/.pnpm/minipass@4.2.0/node_modules/minipass/index.d.ts","../../node_modules/.pnpm/@types+tar@6.1.4/node_modules/@types/tar/index.d.ts","./src/utils.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/common.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/array.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/collection.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/date.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/function.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/lang.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/math.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/number.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/object.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/seq.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/string.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/util.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/index.d.ts","./src/installer.ts","./src/index.ts","./src/cli.ts","../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../node_modules/.pnpm/@sinclair+typebox@0.24.23/node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/.pnpm/@jest+schemas@28.1.3/node_modules/@jest/schemas/build/index.d.ts","../../node_modules/.pnpm/pretty-format@28.1.3/node_modules/pretty-format/build/index.d.ts","../../node_modules/.pnpm/jest-diff@28.1.3/node_modules/jest-diff/build/index.d.ts","../../node_modules/.pnpm/jest-matcher-utils@28.1.3/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/.pnpm/@types+jest@28.1.6/node_modules/@types/jest/index.d.ts","../../node_modules/.pnpm/@types+prettier@2.6.4/node_modules/@types/prettier/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true,"impliedFormat":1},{"version":"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be","impliedFormat":1},{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true,"impliedFormat":1},{"version":"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","impliedFormat":1},{"version":"afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565","impliedFormat":1},{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","impliedFormat":1},{"version":"f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","impliedFormat":1},{"version":"2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","impliedFormat":1},{"version":"ad4b60488fb1e562bf375dac9299815f7028bf667d9b5887b2d01d501b7d1ddd","impliedFormat":1},{"version":"246341c3a7a2638cf830d690e69de1e6085a102c6a30596435b050e6ac86c11a","impliedFormat":1},{"version":"6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be","impliedFormat":1},{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6dfd135b38ab97c536d9c966fc5a5a879a19c6ed75c2c9633902be1ef0945ff7","impliedFormat":1},{"version":"a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","impliedFormat":1},{"version":"a361a26932d73497a174a6d48c53cfedb55f735f20e8638fdf7b25cdeaac9ca4","impliedFormat":1},{"version":"b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","impliedFormat":1},{"version":"4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","impliedFormat":1},{"version":"a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","impliedFormat":1},{"version":"abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","impliedFormat":1},{"version":"cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","impliedFormat":1},{"version":"94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99","impliedFormat":1},{"version":"e51bee3200733b1f58818b5a9ea90fcd61c5b8afa3a0378391991f3696826a65","affectsGlobalScope":true,"impliedFormat":1},{"version":"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","impliedFormat":1},{"version":"ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","impliedFormat":1},{"version":"29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","impliedFormat":1},{"version":"0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","impliedFormat":1},{"version":"d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","impliedFormat":1},{"version":"c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","impliedFormat":1},{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","impliedFormat":1},{"version":"998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","impliedFormat":1},{"version":"ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","impliedFormat":1},{"version":"d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","impliedFormat":1},{"version":"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","impliedFormat":1},{"version":"c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","impliedFormat":1},{"version":"235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","impliedFormat":1},{"version":"bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","impliedFormat":1},{"version":"9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","impliedFormat":1},{"version":"c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6ef68f677c1b63967d87568043b8af9d2dfd71d5873acd1de3abeb1db606741","impliedFormat":1},{"version":"e11aba8607f523fc03872ecc6c4c3f6b2f34150de8b914a47c5b2d575b99b348","impliedFormat":1},{"version":"1de20e515e0873439a53cd0c877a86099aa11b503a888e784d664b8a252e0197","impliedFormat":1},{"version":"2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","impliedFormat":1},{"version":"2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","impliedFormat":1},{"version":"42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","impliedFormat":1},{"version":"d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","impliedFormat":1},{"version":"77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","impliedFormat":1},{"version":"7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","impliedFormat":1},{"version":"906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","impliedFormat":1},{"version":"5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","impliedFormat":1},{"version":"c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","impliedFormat":1},{"version":"e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","impliedFormat":1},{"version":"e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","impliedFormat":1},{"version":"9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","impliedFormat":1},{"version":"0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","impliedFormat":1},{"version":"71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","impliedFormat":1},{"version":"c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","impliedFormat":1},{"version":"2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","impliedFormat":1},{"version":"479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","impliedFormat":1},{"version":"ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","impliedFormat":1},{"version":"f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","impliedFormat":1},{"version":"86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","impliedFormat":1},{"version":"2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","impliedFormat":1},{"version":"a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","impliedFormat":1},{"version":"b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","impliedFormat":1},{"version":"61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","impliedFormat":1},{"version":"6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","impliedFormat":1},{"version":"c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","impliedFormat":1},{"version":"38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","impliedFormat":1},{"version":"d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","impliedFormat":1},{"version":"3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","impliedFormat":1},{"version":"b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","impliedFormat":1},{"version":"f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","impliedFormat":1},{"version":"843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","impliedFormat":1},{"version":"f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","impliedFormat":1},{"version":"6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","impliedFormat":1},{"version":"e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","impliedFormat":1},{"version":"a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","impliedFormat":1},{"version":"a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","impliedFormat":1},{"version":"da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","impliedFormat":1},{"version":"481b2707890d4179ff5602019792bf9a688331bc7fee57e6bb67607e2c10ef9c","signature":"2d9527dcc55e39ca3752a18a17ef72f793e3c7fc3b050a2f542c620f67fd021a","impliedFormat":1},{"version":"29c88b54db538fcecb041a511d2eb1521722fc1398855d43aa9a0d2c52d6f3fc","signature":"c21e3375a0ca08f5bf101f240c6202b8856c34966a76cb4809c5034fb20eab11","impliedFormat":1},{"version":"ba2fe6d6559ae0ed7d5685123969916c85933decfa2105a2c5b69b7f7831cdb4","signature":"4174fe7467b4a48e2fac76293ff62145c03d8273e392e3fe150d4f47837372ca","impliedFormat":1},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"ae84439d1ae42b30ced3df38c4285f35b805be40dfc95b0647d0e59c70b11f97","impliedFormat":1},{"version":"725d5a2bb4563d472bd727395c22c5a77be564723bbf7560900575be2441e7ca","signature":"ba73503beba4e6aca24507bd6605aaa460cde478439c00d7d8755740efc4542c","impliedFormat":1},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","impliedFormat":1},{"version":"3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","impliedFormat":1},{"version":"58b63c0f3bfac04d639c31a9fe094089c0bdcc8cda7bc35f1f23828677aa7926","impliedFormat":1},{"version":"84dce4918f08e89f61c6ede5fbe6d6c358ae95aae3930c2636030e421f4ca738","impliedFormat":1},{"version":"d377f3ce43154cef498db881c981c5c0c2446ae9e58d00c47f0a121f59d3c47f","signature":"1e718347a117edd332b83947ba218fc956170ace5b8a972c4219c6a7b417233b","impliedFormat":1},{"version":"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","impliedFormat":1},{"version":"458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","impliedFormat":1},{"version":"d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","impliedFormat":1},{"version":"187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","impliedFormat":1},{"version":"febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","impliedFormat":1},{"version":"98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","impliedFormat":1},{"version":"0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","impliedFormat":1},{"version":"00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","impliedFormat":1},{"version":"dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","impliedFormat":1},{"version":"3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","impliedFormat":1},{"version":"3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","impliedFormat":1},{"version":"df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","impliedFormat":1},{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4119e747784e4df777a9d76cf34703e49ac016019028868158eff61f2e8bb264","signature":"dc835f4c3e0e4992c6031dbba01652f81cd2d8e9ee26f149775597e11dc8cb50","impliedFormat":1},{"version":"3a9dcc3d705417c6464b9b769cde5cc865b9e191dfb833b1278888385a19dd5c","impliedFormat":1},{"version":"e7bba1184d0db93cf66ac1a8d0ade553df167d1bcce7e9c7ecdae86832f666c7","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","impliedFormat":1},{"version":"ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","impliedFormat":1},{"version":"22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","impliedFormat":1},{"version":"1de1ad6a1929317171d8cfcd55bb2732257680c1bf89bcd53e1d46a4d8dbda22","affectsGlobalScope":true,"impliedFormat":1},{"version":"89877326fed87fa9601cf958e3af77d5901e24c1ba9a4099f69325f0c0e39b0a","impliedFormat":1}],"options":{"composite":true,"declaration":true,"declarationDir":"./dist","module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useUnknownInCatchVariables":false},"fileIdsList":[[86,165],[86],[86,167,169],[86,148,150,151,152,153,154,155,156,157,158,159,160],[86,148,149,151,152,153,154,155,156,157,158,159,160],[86,149,150,151,152,153,154,155,156,157,158,159,160],[86,148,149,150,152,153,154,155,156,157,158,159,160],[86,148,149,150,151,153,154,155,156,157,158,159,160],[86,148,149,150,151,152,154,155,156,157,158,159,160],[86,148,149,150,151,152,153,155,156,157,158,159,160],[86,148,149,150,151,152,153,154,156,157,158,159,160],[86,148,149,150,151,152,153,154,155,157,158,159,160],[86,148,149,150,151,152,153,154,155,156,158,159,160],[86,148,149,150,151,152,153,154,155,156,157,159,160],[86,148,149,150,151,152,153,154,155,156,157,158,160],[86,148,149,150,151,152,153,154,155,156,157,158,159],[61,85,86,93,142,143],[43,86],[46,86],[47,52,86],[48,58,59,66,75,85,86],[48,49,58,66,86],[50,86],[51,52,59,67,86],[52,75,82,86],[53,55,58,66,86],[54,86],[55,56,86],[57,58,86],[58,86],[58,59,60,75,85,86],[58,59,60,75,86],[61,66,75,85,86],[58,59,61,62,66,75,82,85,86],[61,63,75,82,85,86],[43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],[58,64,86],[65,85,86],[55,58,66,75,86],[67,86],[68,86],[46,69,86],[70,84,86,90],[71,86],[72,86],[58,73,86],[73,74,86,88],[58,75,76,77,86],[75,77,86],[75,76,86],[78,86],[79,86],[58,80,81,86],[80,81,86],[52,66,82,86],[83,86],[66,84,86],[47,61,72,85,86],[52,86],[75,86,87],[86,88],[86,89],[47,52,58,60,69,75,85,86,88,90],[75,86,91],[86,96,135],[86,96,120,135],[86,135],[86,96],[86,96,121,135],[86,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134],[86,121,135],[75,86,91,93,145],[86,139],[61,75,86,93],[86,93,94],[59,86,93],[86,167],[86,164,168],[58,75,86,93],[86,166],[48,86,137],[86,140,162],[59,68,86,95,135,136],[48,86],[86,138,141,161],[48,59,68,86,95,135,137,147,160],[59,67,68,85,86,144,146],[48]],"referencedMap":[[166,1],[165,2],[170,3],[149,4],[150,5],[148,6],[151,7],[152,8],[153,9],[154,10],[155,11],[156,12],[157,13],[158,14],[159,15],[160,16],[143,2],[144,17],[43,18],[44,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[52,25],[53,26],[54,27],[55,28],[56,28],[57,29],[58,30],[59,31],[60,32],[45,2],[92,2],[61,33],[62,34],[63,35],[93,36],[64,37],[65,38],[66,39],[67,40],[68,41],[69,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[77,49],[76,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[171,2],[120,65],[121,66],[96,67],[99,67],[118,65],[119,65],[109,65],[108,68],[106,65],[101,65],[114,65],[112,65],[116,65],[100,65],[113,65],[117,65],[102,65],[103,65],[115,65],[97,65],[104,65],[105,65],[107,65],[111,65],[122,69],[110,65],[98,65],[135,70],[134,2],[129,69],[131,71],[130,69],[123,69],[124,69],[126,69],[128,69],[132,71],[133,71],[125,71],[127,71],[146,72],[139,2],[140,73],[164,2],[142,74],[95,75],[94,76],[168,77],[169,78],[145,79],[167,80],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[138,81],[163,82],[136,2],[137,83],[141,84],[162,85],[161,86],[147,87]],"exportedModulesMap":[[166,1],[165,2],[170,3],[149,4],[150,5],[148,6],[151,7],[152,8],[153,9],[154,10],[155,11],[156,12],[157,13],[158,14],[159,15],[160,16],[143,2],[144,17],[43,18],[44,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[52,25],[53,26],[54,27],[55,28],[56,28],[57,29],[58,30],[59,31],[60,32],[45,2],[92,2],[61,33],[62,34],[63,35],[93,36],[64,37],[65,38],[66,39],[67,40],[68,41],[69,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[77,49],[76,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[171,2],[120,65],[121,66],[96,67],[99,67],[118,65],[119,65],[109,65],[108,68],[106,65],[101,65],[114,65],[112,65],[116,65],[100,65],[113,65],[117,65],[102,65],[103,65],[115,65],[97,65],[104,65],[105,65],[107,65],[111,65],[122,69],[110,65],[98,65],[135,70],[134,2],[129,69],[131,71],[130,69],[123,69],[124,69],[126,69],[128,69],[132,71],[133,71],[125,71],[127,71],[146,72],[139,2],[140,73],[164,2],[142,74],[95,75],[94,76],[168,77],[169,78],[145,79],[167,80],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[141,88],[162,85]],"semanticDiagnosticsPerFile":[166,165,170,149,150,148,151,152,153,154,155,156,157,158,159,160,143,144,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,45,92,61,62,63,93,64,65,66,67,68,69,70,71,72,73,74,75,77,76,78,79,80,81,82,83,84,85,86,87,88,89,90,91,171,120,121,96,99,118,119,109,108,106,101,114,112,116,100,113,117,102,103,115,97,104,105,107,111,122,110,98,135,134,129,131,130,123,124,126,128,132,133,125,127,146,139,140,164,142,95,94,168,169,145,167,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,138,163,136,137,141,162,161,147],"latestChangedDtsFile":"./dist/cli.d.ts"},"version":"4.9.5"}
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/globals.global.d.ts","../../node_modules/.pnpm/@types+node@16.11.7/node_modules/@types/node/index.d.ts","../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/types.d.ts","../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/index.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/semver.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/parse.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/clean.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/inc.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/diff.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/major.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/minor.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/patch.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/sort.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/gt.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/lt.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/eq.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/neq.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/gte.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/lte.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/classes/range.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/.pnpm/@types+semver@7.3.13/node_modules/@types/semver/index.d.ts","../../node_modules/.pnpm/form-data@3.0.1/node_modules/form-data/index.d.ts","../../node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/externals.d.ts","../../node_modules/.pnpm/@types+node-fetch@2.6.2/node_modules/@types/node-fetch/index.d.ts","../../node_modules/.pnpm/minipass@4.2.0/node_modules/minipass/index.d.ts","../../node_modules/.pnpm/@types+tar@6.1.4/node_modules/@types/tar/index.d.ts","./src/utils.ts","./src/defs.ts","./src/detect_tasks.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/common.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/array.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/collection.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/date.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/function.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/lang.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/math.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/number.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/object.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/seq.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/string.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/common/util.d.ts","../../node_modules/.pnpm/@types+lodash@4.14.191/node_modules/@types/lodash/index.d.ts","./src/builder.ts","../../node_modules/.pnpm/@types+yargs-parser@21.0.0/node_modules/@types/yargs-parser/index.d.ts","../../node_modules/.pnpm/@types+yargs@17.0.22/node_modules/@types/yargs/index.d.ts","./src/errors.ts","./src/index.ts","./src/cli.ts","../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../node_modules/.pnpm/@sinclair+typebox@0.24.23/node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/.pnpm/@jest+schemas@28.1.3/node_modules/@jest/schemas/build/index.d.ts","../../node_modules/.pnpm/pretty-format@28.1.3/node_modules/pretty-format/build/index.d.ts","../../node_modules/.pnpm/jest-diff@28.1.3/node_modules/jest-diff/build/index.d.ts","../../node_modules/.pnpm/jest-matcher-utils@28.1.3/node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/.pnpm/@types+jest@28.1.6/node_modules/@types/jest/index.d.ts","../../node_modules/.pnpm/@types+prettier@2.6.4/node_modules/@types/prettier/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","impliedFormat":1},{"version":"7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","impliedFormat":1},{"version":"8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","impliedFormat":1},{"version":"5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","impliedFormat":1},{"version":"4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","impliedFormat":1},{"version":"1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","impliedFormat":1},{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true,"impliedFormat":1},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true,"impliedFormat":1},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true,"impliedFormat":1},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true,"impliedFormat":1},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true,"impliedFormat":1},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true,"impliedFormat":1},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true,"impliedFormat":1},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true,"impliedFormat":1},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true,"impliedFormat":1},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true,"impliedFormat":1},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true,"impliedFormat":1},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true,"impliedFormat":1},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true,"impliedFormat":1},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true,"impliedFormat":1},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true,"impliedFormat":1},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true,"impliedFormat":1},{"version":"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be","impliedFormat":1},{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true,"impliedFormat":1},{"version":"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","impliedFormat":1},{"version":"afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565","impliedFormat":1},{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","impliedFormat":1},{"version":"f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","impliedFormat":1},{"version":"2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","impliedFormat":1},{"version":"ad4b60488fb1e562bf375dac9299815f7028bf667d9b5887b2d01d501b7d1ddd","impliedFormat":1},{"version":"246341c3a7a2638cf830d690e69de1e6085a102c6a30596435b050e6ac86c11a","impliedFormat":1},{"version":"6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be","impliedFormat":1},{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6dfd135b38ab97c536d9c966fc5a5a879a19c6ed75c2c9633902be1ef0945ff7","impliedFormat":1},{"version":"a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","impliedFormat":1},{"version":"a361a26932d73497a174a6d48c53cfedb55f735f20e8638fdf7b25cdeaac9ca4","impliedFormat":1},{"version":"b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","impliedFormat":1},{"version":"4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","impliedFormat":1},{"version":"a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","impliedFormat":1},{"version":"abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","impliedFormat":1},{"version":"cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","impliedFormat":1},{"version":"94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99","impliedFormat":1},{"version":"e51bee3200733b1f58818b5a9ea90fcd61c5b8afa3a0378391991f3696826a65","affectsGlobalScope":true,"impliedFormat":1},{"version":"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","impliedFormat":1},{"version":"ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","impliedFormat":1},{"version":"29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","impliedFormat":1},{"version":"0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","impliedFormat":1},{"version":"d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","impliedFormat":1},{"version":"c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","impliedFormat":1},{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","impliedFormat":1},{"version":"998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","impliedFormat":1},{"version":"ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","impliedFormat":1},{"version":"d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","impliedFormat":1},{"version":"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","impliedFormat":1},{"version":"c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","impliedFormat":1},{"version":"235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","impliedFormat":1},{"version":"bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","impliedFormat":1},{"version":"9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","impliedFormat":1},{"version":"c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6ef68f677c1b63967d87568043b8af9d2dfd71d5873acd1de3abeb1db606741","impliedFormat":1},{"version":"e11aba8607f523fc03872ecc6c4c3f6b2f34150de8b914a47c5b2d575b99b348","impliedFormat":1},{"version":"1de20e515e0873439a53cd0c877a86099aa11b503a888e784d664b8a252e0197","impliedFormat":1},{"version":"2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","impliedFormat":1},{"version":"2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","impliedFormat":1},{"version":"42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","impliedFormat":1},{"version":"d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","impliedFormat":1},{"version":"77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","impliedFormat":1},{"version":"7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","impliedFormat":1},{"version":"906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","impliedFormat":1},{"version":"5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","impliedFormat":1},{"version":"c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","impliedFormat":1},{"version":"e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","impliedFormat":1},{"version":"e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","impliedFormat":1},{"version":"9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","impliedFormat":1},{"version":"0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","impliedFormat":1},{"version":"71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","impliedFormat":1},{"version":"c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","impliedFormat":1},{"version":"2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","impliedFormat":1},{"version":"479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","impliedFormat":1},{"version":"ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","impliedFormat":1},{"version":"f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","impliedFormat":1},{"version":"86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","impliedFormat":1},{"version":"2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","impliedFormat":1},{"version":"a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","impliedFormat":1},{"version":"b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","impliedFormat":1},{"version":"61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","impliedFormat":1},{"version":"6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","impliedFormat":1},{"version":"c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","impliedFormat":1},{"version":"38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","impliedFormat":1},{"version":"d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","impliedFormat":1},{"version":"3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","impliedFormat":1},{"version":"b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","impliedFormat":1},{"version":"f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","impliedFormat":1},{"version":"843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","impliedFormat":1},{"version":"f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","impliedFormat":1},{"version":"6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","impliedFormat":1},{"version":"e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","impliedFormat":1},{"version":"a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","impliedFormat":1},{"version":"a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","impliedFormat":1},{"version":"da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d","impliedFormat":1},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","impliedFormat":1},{"version":"3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","impliedFormat":1},{"version":"58b63c0f3bfac04d639c31a9fe094089c0bdcc8cda7bc35f1f23828677aa7926","impliedFormat":1},{"version":"84dce4918f08e89f61c6ede5fbe6d6c358ae95aae3930c2636030e421f4ca738","impliedFormat":1},{"version":"447eefd93d7f95900a85ab8ec0fabfd21071b71c9ba53d60aac48717e36cc200","signature":"1e718347a117edd332b83947ba218fc956170ace5b8a972c4219c6a7b417233b","impliedFormat":1},{"version":"481b2707890d4179ff5602019792bf9a688331bc7fee57e6bb67607e2c10ef9c","signature":"2d9527dcc55e39ca3752a18a17ef72f793e3c7fc3b050a2f542c620f67fd021a","impliedFormat":1},{"version":"1f79e3c1374b4608294d8f5cf54af1c98042eb9aa0cfbc0908922c03f7c7ddc5","signature":"c21e3375a0ca08f5bf101f240c6202b8856c34966a76cb4809c5034fb20eab11","impliedFormat":1},{"version":"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","impliedFormat":1},{"version":"458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","impliedFormat":1},{"version":"d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","impliedFormat":1},{"version":"187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","impliedFormat":1},{"version":"febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","impliedFormat":1},{"version":"98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","impliedFormat":1},{"version":"0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","impliedFormat":1},{"version":"00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","impliedFormat":1},{"version":"dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","impliedFormat":1},{"version":"3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","impliedFormat":1},{"version":"3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","impliedFormat":1},{"version":"df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9","impliedFormat":1},{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"22b824fa5c7f1498b7edc23ad9fe6ef0b50763d90773a57e043aa6bf965bce49","signature":"ce11976df0c7f68ae39d31f916528d2615a74ffc63ebca3e7721a1796f97ff3a","impliedFormat":1},{"version":"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","impliedFormat":1},{"version":"ae84439d1ae42b30ced3df38c4285f35b805be40dfc95b0647d0e59c70b11f97","impliedFormat":1},{"version":"725d5a2bb4563d472bd727395c22c5a77be564723bbf7560900575be2441e7ca","signature":"ba73503beba4e6aca24507bd6605aaa460cde478439c00d7d8755740efc4542c","impliedFormat":1},{"version":"d34775292331ffc9be2197a0ba6e969a4f34b85119d22c41b8174d77eec01a4f","impliedFormat":1},{"version":"445e122509b332db409ffe29bee7e2e765249ed681502ee411316d371c1a913b","signature":"43e818adf60173644896298637f47b01d5819b17eda46eaa32d0c7d64724d012","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","impliedFormat":1},{"version":"ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","impliedFormat":1},{"version":"22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","impliedFormat":1},{"version":"e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","impliedFormat":1},{"version":"cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2","impliedFormat":1},{"version":"1de1ad6a1929317171d8cfcd55bb2732257680c1bf89bcd53e1d46a4d8dbda22","affectsGlobalScope":true,"impliedFormat":1},{"version":"89877326fed87fa9601cf958e3af77d5901e24c1ba9a4099f69325f0c0e39b0a","impliedFormat":1}],"options":{"composite":true,"declaration":true,"declarationDir":"./dist","module":199,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useUnknownInCatchVariables":false},"fileIdsList":[[86,164],[86],[86,166,168],[86,144,146,147,148,149,150,151,152,153,154,155,156],[86,144,145,147,148,149,150,151,152,153,154,155,156],[86,145,146,147,148,149,150,151,152,153,154,155,156],[86,144,145,146,148,149,150,151,152,153,154,155,156],[86,144,145,146,147,149,150,151,152,153,154,155,156],[86,144,145,146,147,148,150,151,152,153,154,155,156],[86,144,145,146,147,148,149,151,152,153,154,155,156],[86,144,145,146,147,148,149,150,152,153,154,155,156],[86,144,145,146,147,148,149,150,151,153,154,155,156],[86,144,145,146,147,148,149,150,151,152,154,155,156],[86,144,145,146,147,148,149,150,151,152,153,155,156],[86,144,145,146,147,148,149,150,151,152,153,154,156],[86,144,145,146,147,148,149,150,151,152,153,154,155],[61,85,86,93,136,137],[43,86],[46,86],[47,52,86],[48,58,59,66,75,85,86],[48,49,58,66,86],[50,86],[51,52,59,67,86],[52,75,82,86],[53,55,58,66,86],[54,86],[55,56,86],[57,58,86],[58,86],[58,59,60,75,85,86],[58,59,60,75,86],[61,66,75,85,86],[58,59,61,62,66,75,82,85,86],[61,63,75,82,85,86],[43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],[58,64,86],[65,85,86],[55,58,66,75,86],[67,86],[68,86],[46,69,86],[70,84,86,90],[71,86],[72,86],[58,73,86],[73,74,86,88],[58,75,76,77,86],[75,77,86],[75,76,86],[78,86],[79,86],[58,80,81,86],[80,81,86],[52,66,82,86],[83,86],[66,84,86],[47,61,72,85,86],[52,86],[75,86,87],[86,88],[86,89],[47,52,58,60,69,75,85,86,88,90],[75,86,91],[86,96,135],[86,96,120,135],[86,135],[86,96],[86,96,121,135],[86,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134],[86,121,135],[75,86,91,93,139],[86,158],[61,75,86,93],[86,93,94],[59,86,93],[86,166],[86,163,167],[58,75,86,93],[86,165],[48,59,68,86,95,135,141,143,156],[86,159,161],[59,68,86,95,135,142],[48,86],[86,157,160],[59,67,68,85,86,138,140],[48]],"referencedMap":[[165,1],[164,2],[169,3],[145,4],[146,5],[144,6],[147,7],[148,8],[149,9],[150,10],[151,11],[152,12],[153,13],[154,14],[155,15],[156,16],[137,2],[138,17],[43,18],[44,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[52,25],[53,26],[54,27],[55,28],[56,28],[57,29],[58,30],[59,31],[60,32],[45,2],[92,2],[61,33],[62,34],[63,35],[93,36],[64,37],[65,38],[66,39],[67,40],[68,41],[69,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[77,49],[76,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[170,2],[120,65],[121,66],[96,67],[99,67],[118,65],[119,65],[109,65],[108,68],[106,65],[101,65],[114,65],[112,65],[116,65],[100,65],[113,65],[117,65],[102,65],[103,65],[115,65],[97,65],[104,65],[105,65],[107,65],[111,65],[122,69],[110,65],[98,65],[135,70],[134,2],[129,69],[131,71],[130,69],[123,69],[124,69],[126,69],[128,69],[132,71],[133,71],[125,71],[127,71],[140,72],[158,2],[159,73],[163,2],[136,74],[95,75],[94,76],[167,77],[168,78],[139,79],[166,80],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[157,81],[162,82],[142,2],[143,83],[160,84],[161,85],[141,86]],"exportedModulesMap":[[165,1],[164,2],[169,3],[145,4],[146,5],[144,6],[147,7],[148,8],[149,9],[150,10],[151,11],[152,12],[153,13],[154,14],[155,15],[156,16],[137,2],[138,17],[43,18],[44,18],[46,19],[47,20],[48,21],[49,22],[50,23],[51,24],[52,25],[53,26],[54,27],[55,28],[56,28],[57,29],[58,30],[59,31],[60,32],[45,2],[92,2],[61,33],[62,34],[63,35],[93,36],[64,37],[65,38],[66,39],[67,40],[68,41],[69,42],[70,43],[71,44],[72,45],[73,46],[74,47],[75,48],[77,49],[76,50],[78,51],[79,52],[80,53],[81,54],[82,55],[83,56],[84,57],[85,58],[86,59],[87,60],[88,61],[89,62],[90,63],[91,64],[170,2],[120,65],[121,66],[96,67],[99,67],[118,65],[119,65],[109,65],[108,68],[106,65],[101,65],[114,65],[112,65],[116,65],[100,65],[113,65],[117,65],[102,65],[103,65],[115,65],[97,65],[104,65],[105,65],[107,65],[111,65],[122,69],[110,65],[98,65],[135,70],[134,2],[129,69],[131,71],[130,69],[123,69],[124,69],[126,69],[128,69],[132,71],[133,71],[125,71],[127,71],[140,72],[158,2],[159,73],[163,2],[136,74],[95,75],[94,76],[167,77],[168,78],[139,79],[166,80],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[33,2],[30,2],[31,2],[32,2],[34,2],[7,2],[35,2],[40,2],[41,2],[36,2],[37,2],[38,2],[39,2],[1,2],[42,2],[160,87],[161,85]],"semanticDiagnosticsPerFile":[165,164,169,145,146,144,147,148,149,150,151,152,153,154,155,156,137,138,43,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,45,92,61,62,63,93,64,65,66,67,68,69,70,71,72,73,74,75,77,76,78,79,80,81,82,83,84,85,86,87,88,89,90,91,170,120,121,96,99,118,119,109,108,106,101,114,112,116,100,113,117,102,103,115,97,104,105,107,111,122,110,98,135,134,129,131,130,123,124,126,128,132,133,125,127,140,158,159,163,136,95,94,167,168,139,166,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,157,162,142,143,160,161,141],"latestChangedDtsFile":"./dist/cli.d.ts"},"version":"4.9.5"}
|
package/dist/installer.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function prepareBuildEnvForTasks(project_path: string, only?: string): Promise<void>;
|
package/dist/installer.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.prepareBuildEnvForTasks = void 0;
|
|
27
|
-
const path = __importStar(require("node:path"));
|
|
28
|
-
const jetpack = __importStar(require("fs-jetpack"));
|
|
29
|
-
const semver = __importStar(require("semver"));
|
|
30
|
-
const utils = __importStar(require("./utils"));
|
|
31
|
-
const child_process_1 = require("child_process");
|
|
32
|
-
const detect_tasks_1 = require("./detect_tasks");
|
|
33
|
-
const _ = __importStar(require("lodash"));
|
|
34
|
-
async function prepareBuildEnvForTasks(project_path, only) {
|
|
35
|
-
const tasks = await (0, detect_tasks_1.detectTasks)(project_path, only);
|
|
36
|
-
const required_node_versions = _.compact(tasks.map((t) => t.required_node_version));
|
|
37
|
-
const install_node_versions = _.uniq(required_node_versions);
|
|
38
|
-
const tool_paths = {};
|
|
39
|
-
for (const required_node_version of install_node_versions) {
|
|
40
|
-
// FIXME: maybe a path prefix.
|
|
41
|
-
const custom_node_path = path.resolve(`node-${semver.major(required_node_version)}`);
|
|
42
|
-
if (!jetpack.exists(custom_node_path)) {
|
|
43
|
-
console.log(`installing to ${custom_node_path}`);
|
|
44
|
-
await jetpack.dirAsync(custom_node_path);
|
|
45
|
-
await utils.downloadAndInstallNode(required_node_version, custom_node_path);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
console.log(`already installed in ${custom_node_path}`);
|
|
49
|
-
}
|
|
50
|
-
tool_paths[required_node_version] = utils.nodePaths(custom_node_path);
|
|
51
|
-
}
|
|
52
|
-
console.log('----');
|
|
53
|
-
for (const task of tasks) {
|
|
54
|
-
const node_version = task.required_node_version ?? process.version;
|
|
55
|
-
const builder_package = task.builder_package;
|
|
56
|
-
const builder_script = task.builder_script;
|
|
57
|
-
console.log(`[${task.task_name}] Installing builder script "${builder_package}" for node ${node_version}`);
|
|
58
|
-
const { bin_path, node_bin, npm_bin } = tool_paths[node_version];
|
|
59
|
-
const builder_bin = path.resolve(bin_path, builder_script);
|
|
60
|
-
// TODO: This may need to be replaced with the something like the spawn-stream stuff in build-agent? OR what to do with the stdout/stderr and errorhandling?
|
|
61
|
-
const spawnResult = (0, child_process_1.spawnSync)(node_bin, [npm_bin, '--global', 'install', builder_package], { cwd: project_path });
|
|
62
|
-
if (spawnResult.status == 0 && jetpack.exists(builder_bin)) {
|
|
63
|
-
// DEV HACK: this needs to move to the build thingie.
|
|
64
|
-
const builder_args = [];
|
|
65
|
-
// --src ~/src/cool-app-bro-master --out ~/src/dist --task echo --appId 'appid' --env 'testing' --backendId 'backendid' --backendUrl 'http://run.journeyapps.test'
|
|
66
|
-
builder_args.push(builder_bin);
|
|
67
|
-
// // builder_args.push('--version')
|
|
68
|
-
builder_args.push('--src', './');
|
|
69
|
-
builder_args.push(`--out`, `./dist/${task.task_name}`);
|
|
70
|
-
builder_args.push(`--task`, `${task.task_name}`);
|
|
71
|
-
builder_args.push(`--appId`, 'appid', `--env`, 'testing', `--backendId`, 'backendid', `--backendUrl`, 'http://run.journeyapps.test');
|
|
72
|
-
console.log(`[${task.task_name}] Trying: ${node_bin} ${builder_args.join(' ')}`);
|
|
73
|
-
const builderSpawnResult = (0, child_process_1.spawnSync)(node_bin, builder_args, { cwd: project_path });
|
|
74
|
-
if (builderSpawnResult.status !== 0) {
|
|
75
|
-
console.log(`[${task.task_name}] FAILED TO RUN BUILDER SCRIPT`);
|
|
76
|
-
console.log(`[${task.task_name}] OUTPUT: ${builderSpawnResult.stdout}`);
|
|
77
|
-
console.log(`[${task.task_name}] ERROR: ${builderSpawnResult.stderr}`);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
console.log(`[${task.task_name}] SCRIPT SUCCESS?`);
|
|
81
|
-
console.log(`[${task.task_name}] OUTPUT: ${builderSpawnResult.stdout}`);
|
|
82
|
-
console.log(`[${task.task_name}] ERROR: ${builderSpawnResult.stderr}`);
|
|
83
|
-
}
|
|
84
|
-
console.log('----');
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
console.log(`[${task.task_name}] failed to install ${builder_package}`);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.prepareBuildEnvForTasks = prepareBuildEnvForTasks;
|
|
92
|
-
//# sourceMappingURL=installer.js.map
|
package/dist/installer.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"installer.js","sourceRoot":"","sources":["../src/installer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gDAAkC;AAClC,oDAAsC;AACtC,+CAAiC;AACjC,+CAAiC;AACjC,iDAA0C;AAC1C,iDAA6C;AAE7C,0CAA4B;AAErB,KAAK,UAAU,uBAAuB,CAAC,YAAoB,EAAE,IAAa;IAC/E,MAAM,KAAK,GAAG,MAAM,IAAA,0BAAW,EAAC,YAAY,EAAE,IAAI,CAAC,CAAC;IAEpD,MAAM,sBAAsB,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC;IACpF,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAE7D,MAAM,UAAU,GAA4E,EAAE,CAAC;IAC/F,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BAAM;gBACL,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,mBAAmB,CAAC,CAAC;gBACnD,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,aAAa,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC;gBACxE,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,YAAY,kBAAkB,CAAC,MAAM,EAAE,CAAC,CAAC;aACxE;YACD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;SACrB;aAAM;YACL,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,SAAS,uBAAuB,eAAe,EAAE,CAAC,CAAC;SACzE;KACF;AACH,CAAC;AAvED,0DAuEC"}
|
package/src/installer.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import * as fs from 'node:fs';
|
|
2
|
-
import * as path from 'node:path';
|
|
3
|
-
import * as jetpack from 'fs-jetpack';
|
|
4
|
-
import * as semver from 'semver';
|
|
5
|
-
import * as utils from './utils';
|
|
6
|
-
import { spawnSync } from 'child_process';
|
|
7
|
-
import { detectTasks } from './detect_tasks';
|
|
8
|
-
|
|
9
|
-
import * as _ from 'lodash';
|
|
10
|
-
|
|
11
|
-
export async function prepareBuildEnvForTasks(project_path: string, only?: string) {
|
|
12
|
-
const tasks = await detectTasks(project_path, only);
|
|
13
|
-
|
|
14
|
-
const required_node_versions = _.compact(tasks.map((t) => t.required_node_version));
|
|
15
|
-
const install_node_versions = _.uniq(required_node_versions);
|
|
16
|
-
|
|
17
|
-
const tool_paths: Record<string, { bin_path: string; node_bin: string; npm_bin: string }> = {};
|
|
18
|
-
for (const required_node_version of install_node_versions) {
|
|
19
|
-
// FIXME: maybe a path prefix.
|
|
20
|
-
const custom_node_path = path.resolve(`node-${semver.major(required_node_version)}`);
|
|
21
|
-
|
|
22
|
-
if (!jetpack.exists(custom_node_path)) {
|
|
23
|
-
console.log(`installing to ${custom_node_path}`);
|
|
24
|
-
await jetpack.dirAsync(custom_node_path);
|
|
25
|
-
await utils.downloadAndInstallNode(required_node_version, custom_node_path);
|
|
26
|
-
} else {
|
|
27
|
-
console.log(`already installed in ${custom_node_path}`);
|
|
28
|
-
}
|
|
29
|
-
tool_paths[required_node_version] = utils.nodePaths(custom_node_path);
|
|
30
|
-
}
|
|
31
|
-
console.log('----');
|
|
32
|
-
|
|
33
|
-
for (const task of tasks) {
|
|
34
|
-
const node_version = task.required_node_version ?? process.version;
|
|
35
|
-
const builder_package = task.builder_package;
|
|
36
|
-
const builder_script = task.builder_script;
|
|
37
|
-
console.log(`[${task.task_name}] Installing builder script "${builder_package}" for node ${node_version}`);
|
|
38
|
-
const { bin_path, node_bin, npm_bin } = tool_paths[node_version];
|
|
39
|
-
const builder_bin = path.resolve(bin_path, builder_script);
|
|
40
|
-
|
|
41
|
-
// TODO: This may need to be replaced with the something like the spawn-stream stuff in build-agent? OR what to do with the stdout/stderr and errorhandling?
|
|
42
|
-
const spawnResult = spawnSync(node_bin, [npm_bin, '--global', 'install', builder_package], { cwd: project_path });
|
|
43
|
-
if (spawnResult.status == 0 && jetpack.exists(builder_bin)) {
|
|
44
|
-
// DEV HACK: this needs to move to the build thingie.
|
|
45
|
-
|
|
46
|
-
const builder_args: string[] = [];
|
|
47
|
-
// --src ~/src/cool-app-bro-master --out ~/src/dist --task echo --appId 'appid' --env 'testing' --backendId 'backendid' --backendUrl 'http://run.journeyapps.test'
|
|
48
|
-
builder_args.push(builder_bin);
|
|
49
|
-
// // builder_args.push('--version')
|
|
50
|
-
builder_args.push('--src', './');
|
|
51
|
-
builder_args.push(`--out`, `./dist/${task.task_name}`);
|
|
52
|
-
builder_args.push(`--task`, `${task.task_name}`);
|
|
53
|
-
builder_args.push(
|
|
54
|
-
`--appId`,
|
|
55
|
-
'appid',
|
|
56
|
-
`--env`,
|
|
57
|
-
'testing',
|
|
58
|
-
`--backendId`,
|
|
59
|
-
'backendid',
|
|
60
|
-
`--backendUrl`,
|
|
61
|
-
'http://run.journeyapps.test'
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
console.log(`[${task.task_name}] Trying: ${node_bin} ${builder_args.join(' ')}`);
|
|
65
|
-
|
|
66
|
-
const builderSpawnResult = spawnSync(node_bin, builder_args, { cwd: project_path });
|
|
67
|
-
|
|
68
|
-
if (builderSpawnResult.status !== 0) {
|
|
69
|
-
console.log(`[${task.task_name}] FAILED TO RUN BUILDER SCRIPT`);
|
|
70
|
-
console.log(`[${task.task_name}] OUTPUT: ${builderSpawnResult.stdout}`);
|
|
71
|
-
console.log(`[${task.task_name}] ERROR: ${builderSpawnResult.stderr}`);
|
|
72
|
-
} else {
|
|
73
|
-
console.log(`[${task.task_name}] SCRIPT SUCCESS?`);
|
|
74
|
-
console.log(`[${task.task_name}] OUTPUT: ${builderSpawnResult.stdout}`);
|
|
75
|
-
console.log(`[${task.task_name}] ERROR: ${builderSpawnResult.stderr}`);
|
|
76
|
-
}
|
|
77
|
-
console.log('----');
|
|
78
|
-
} else {
|
|
79
|
-
console.log(`[${task.task_name}] failed to install ${builder_package}`);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|