@coana-tech/cli 13.19.37 → 13.19.38
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 +5 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -95687,7 +95687,7 @@ var other_modules_communicator_exports = {};
|
|
|
95687
95687
|
__export(other_modules_communicator_exports, {
|
|
95688
95688
|
OtherModulesCommunicator: () => OtherModulesCommunicator
|
|
95689
95689
|
});
|
|
95690
|
-
var import_promises11, import_lodash7, import_path20, import_logger_singleton7, OtherModulesCommunicator;
|
|
95690
|
+
var import_promises11, import_lodash7, import_path20, import_logger_singleton7, dockerImagesPulled, OtherModulesCommunicator;
|
|
95691
95691
|
var init_other_modules_communicator = __esm({
|
|
95692
95692
|
"../other-modules-communicator/src/other-modules-communicator.ts"() {
|
|
95693
95693
|
"use strict";
|
|
@@ -95701,6 +95701,7 @@ var init_other_modules_communicator = __esm({
|
|
|
95701
95701
|
import_logger_singleton7 = __toESM(require_logger_singleton());
|
|
95702
95702
|
init_constants3();
|
|
95703
95703
|
init_spinner();
|
|
95704
|
+
dockerImagesPulled = /* @__PURE__ */ new Set();
|
|
95704
95705
|
OtherModulesCommunicator = class {
|
|
95705
95706
|
constructor(rootWorkingDir, options) {
|
|
95706
95707
|
this.rootWorkingDir = rootWorkingDir;
|
|
@@ -95847,9 +95848,10 @@ var init_other_modules_communicator = __esm({
|
|
|
95847
95848
|
}
|
|
95848
95849
|
async runInDocker(image, entryPoint, commandName, args2, subprojectPath, tmpDir, env = process.env) {
|
|
95849
95850
|
const envArgs = Object.keys(env).filter((key) => !DOCKER_ENV_VARS_BLACKLIST.includes(key)).flatMap((key) => ["-e", key]);
|
|
95850
|
-
const cmd = cmdt`docker run --pull
|
|
95851
|
+
const cmd = cmdt`docker run ${dockerImagesPulled.has(image) ? void 0 : "--pull=always"} --rm -v ${this.rootWorkingDir}:/project -v ${tmpDir}:${tmpDir}
|
|
95851
95852
|
-v=${this.options.coanaLogPath}:${this.options.coanaLogPath}
|
|
95852
95853
|
${envArgs} ${image} ${entryPoint} ${commandName} ${args2}`;
|
|
95854
|
+
dockerImagesPulled.add(image);
|
|
95853
95855
|
return await execPipeAndLogOnFailure(cmd, subprojectPath, { env });
|
|
95854
95856
|
}
|
|
95855
95857
|
async getWorkspacePaths(packageManagerName, subprojectPath) {
|
|
@@ -190305,7 +190307,7 @@ var require_version = __commonJS({
|
|
|
190305
190307
|
"use strict";
|
|
190306
190308
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
190307
190309
|
exports2.version = void 0;
|
|
190308
|
-
exports2.version = "13.19.
|
|
190310
|
+
exports2.version = "13.19.38";
|
|
190309
190311
|
}
|
|
190310
190312
|
});
|
|
190311
190313
|
|