@coana-tech/cli 14.0.4 → 14.0.5
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/cli.js +3 -15
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -95664,7 +95664,7 @@ var init_constants2 = __esm({
|
|
|
95664
95664
|
});
|
|
95665
95665
|
|
|
95666
95666
|
// ../other-modules-communicator/src/constants.ts
|
|
95667
|
-
var import_lodash6, import_path19, PACKAGE_MANAGER_SCRIPT_PATH, REACHABILITY_ANALYZERS_SCRIPT_PATH
|
|
95667
|
+
var import_lodash6, import_path19, PACKAGE_MANAGER_SCRIPT_PATH, REACHABILITY_ANALYZERS_SCRIPT_PATH;
|
|
95668
95668
|
var init_constants3 = __esm({
|
|
95669
95669
|
"../other-modules-communicator/src/constants.ts"() {
|
|
95670
95670
|
"use strict";
|
|
@@ -95677,17 +95677,6 @@ var init_constants3 = __esm({
|
|
|
95677
95677
|
REACHABILITY_ANALYZERS_SCRIPT_PATH = (0, import_lodash6.once)(() => {
|
|
95678
95678
|
return process.env.REACHABILITY_ANALYZERS_SCRIPT_PATH ?? (0, import_path19.resolve)(COANA_ROOT2(), "packages", "reachability-analyzers", "dist", "reachability-analyzers-cli.js");
|
|
95679
95679
|
});
|
|
95680
|
-
DOCKER_ENV_VARS_BLACKLIST = [
|
|
95681
|
-
"COANA_ROOT",
|
|
95682
|
-
"COANA_REPOS_PATH",
|
|
95683
|
-
"PACKAGE_MANAGER_SCRIPT_PATH",
|
|
95684
|
-
"REACHABILITY_ANALYZERS_SCRIPT_PATH",
|
|
95685
|
-
"JAVA_HOME",
|
|
95686
|
-
"GRADLE_HOME",
|
|
95687
|
-
"SBT_HOME",
|
|
95688
|
-
"HOME",
|
|
95689
|
-
"USER"
|
|
95690
|
-
];
|
|
95691
95680
|
}
|
|
95692
95681
|
});
|
|
95693
95682
|
|
|
@@ -95856,10 +95845,9 @@ var init_other_modules_communicator = __esm({
|
|
|
95856
95845
|
return JSON.parse(await (0, import_promises11.readFile)(outputFilePath, "utf-8")).result;
|
|
95857
95846
|
}
|
|
95858
95847
|
async runInDocker(image, entryPoint, commandName, args2, subprojectPath, tmpDir, env = process.env) {
|
|
95859
|
-
const envArgs = Object.keys(env).filter((key) => !DOCKER_ENV_VARS_BLACKLIST.includes(key)).flatMap((key) => ["-e", key]);
|
|
95860
95848
|
const cmd = cmdt`docker run ${dockerImagesPulled.has(image) ? void 0 : "--pull=always"} --rm -v ${this.rootWorkingDir}:/project -v ${tmpDir}:${tmpDir}
|
|
95861
95849
|
-v=${this.options.coanaLogPath}:${this.options.coanaLogPath}
|
|
95862
|
-
${
|
|
95850
|
+
${image} ${entryPoint} ${commandName} ${args2}`;
|
|
95863
95851
|
dockerImagesPulled.add(image);
|
|
95864
95852
|
return await execPipeAndLogOnFailure(cmd, subprojectPath, { env });
|
|
95865
95853
|
}
|
|
@@ -190339,7 +190327,7 @@ var require_version = __commonJS({
|
|
|
190339
190327
|
"use strict";
|
|
190340
190328
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
190341
190329
|
exports2.version = void 0;
|
|
190342
|
-
exports2.version = "14.0.
|
|
190330
|
+
exports2.version = "14.0.5";
|
|
190343
190331
|
}
|
|
190344
190332
|
});
|
|
190345
190333
|
|