@nrwl/nx-cloud 14.0.1-beta.3 → 14.0.3-beta.1
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/package.json +1 -1
- package/bin/nx-cloud.d.ts +0 -2
- package/bin/nx-cloud.js +0 -43
- package/bin/nx-cloud.js.map +0 -1
- package/index.d.ts +0 -2
- package/index.js +0 -5
- package/index.js.map +0 -1
- package/lib/core/api/run-group.api.d.ts +0 -7
- package/lib/core/api/run-group.api.js +0 -65
- package/lib/core/api/run-group.api.js.map +0 -1
- package/lib/core/commands/clean-up-agents.d.ts +0 -1
- package/lib/core/commands/clean-up-agents.js +0 -34
- package/lib/core/commands/clean-up-agents.js.map +0 -1
- package/lib/core/commands/record-output.d.ts +0 -16
- package/lib/core/commands/record-output.js +0 -203
- package/lib/core/commands/record-output.js.map +0 -1
- package/lib/core/commands/start-ci-run.d.ts +0 -1
- package/lib/core/commands/start-ci-run.js +0 -38
- package/lib/core/commands/start-ci-run.js.map +0 -1
- package/lib/core/commands/stop-all-agents.d.ts +0 -1
- package/lib/core/commands/stop-all-agents.js +0 -37
- package/lib/core/commands/stop-all-agents.js.map +0 -1
- package/lib/core/error/print-run-group-error.d.ts +0 -1
- package/lib/core/error/print-run-group-error.js +0 -16
- package/lib/core/error/print-run-group-error.js.map +0 -1
- package/lib/core/file-storage/e2e-encryption.d.ts +0 -9
- package/lib/core/file-storage/e2e-encryption.js +0 -46
- package/lib/core/file-storage/e2e-encryption.js.map +0 -1
- package/lib/core/file-storage/file-storage.d.ts +0 -13
- package/lib/core/file-storage/file-storage.js +0 -174
- package/lib/core/file-storage/file-storage.js.map +0 -1
- package/lib/core/models/cache-urls.model.d.ts +0 -6
- package/lib/core/models/cache-urls.model.js +0 -3
- package/lib/core/models/cache-urls.model.js.map +0 -1
- package/lib/core/models/cloud-task-runner-options.d.ts +0 -20
- package/lib/core/models/cloud-task-runner-options.js +0 -3
- package/lib/core/models/cloud-task-runner-options.js.map +0 -1
- package/lib/core/models/distributed-agent/grouped-tasks.model.d.ts +0 -6
- package/lib/core/models/distributed-agent/grouped-tasks.model.js +0 -3
- package/lib/core/models/distributed-agent/grouped-tasks.model.js.map +0 -1
- package/lib/core/models/distributed-agent/index.d.ts +0 -3
- package/lib/core/models/distributed-agent/index.js +0 -20
- package/lib/core/models/distributed-agent/index.js.map +0 -1
- package/lib/core/models/distributed-agent/task-to-execute.model.d.ts +0 -7
- package/lib/core/models/distributed-agent/task-to-execute.model.js +0 -3
- package/lib/core/models/distributed-agent/task-to-execute.model.js.map +0 -1
- package/lib/core/models/distributed-agent/tasks-api-response.model.d.ts +0 -9
- package/lib/core/models/distributed-agent/tasks-api-response.model.js +0 -3
- package/lib/core/models/distributed-agent/tasks-api-response.model.js.map +0 -1
- package/lib/core/models/machine-info.model.d.ts +0 -6
- package/lib/core/models/machine-info.model.js +0 -3
- package/lib/core/models/machine-info.model.js.map +0 -1
- package/lib/core/models/run-context.model.d.ts +0 -42
- package/lib/core/models/run-context.model.js +0 -3
- package/lib/core/models/run-context.model.js.map +0 -1
- package/lib/core/models/run-data.model.d.ts +0 -10
- package/lib/core/models/run-data.model.js +0 -3
- package/lib/core/models/run-data.model.js.map +0 -1
- package/lib/core/models/task-execution.model.d.ts +0 -13
- package/lib/core/models/task-execution.model.js +0 -3
- package/lib/core/models/task-execution.model.js.map +0 -1
- package/lib/core/runners/cloud-enabled/cloud-enabled-life-cycle.d.ts +0 -25
- package/lib/core/runners/cloud-enabled/cloud-enabled-life-cycle.js +0 -138
- package/lib/core/runners/cloud-enabled/cloud-enabled-life-cycle.js.map +0 -1
- package/lib/core/runners/cloud-enabled/cloud-enabled.runner.d.ts +0 -4
- package/lib/core/runners/cloud-enabled/cloud-enabled.runner.js +0 -170
- package/lib/core/runners/cloud-enabled/cloud-enabled.runner.js.map +0 -1
- package/lib/core/runners/cloud-enabled/cloud-remote-cache.d.ts +0 -16
- package/lib/core/runners/cloud-enabled/cloud-remote-cache.js +0 -113
- package/lib/core/runners/cloud-enabled/cloud-remote-cache.js.map +0 -1
- package/lib/core/runners/cloud-enabled/cloud-run.api.d.ts +0 -17
- package/lib/core/runners/cloud-enabled/cloud-run.api.js +0 -158
- package/lib/core/runners/cloud-enabled/cloud-run.api.js.map +0 -1
- package/lib/core/runners/distributed-agent/distributed-agent.api.d.ts +0 -13
- package/lib/core/runners/distributed-agent/distributed-agent.api.js +0 -79
- package/lib/core/runners/distributed-agent/distributed-agent.api.js.map +0 -1
- package/lib/core/runners/distributed-agent/distributed-agent.impl.d.ts +0 -1
- package/lib/core/runners/distributed-agent/distributed-agent.impl.js +0 -239
- package/lib/core/runners/distributed-agent/distributed-agent.impl.js.map +0 -1
- package/lib/core/runners/distributed-execution/distributed-execution.api.d.ts +0 -10
- package/lib/core/runners/distributed-execution/distributed-execution.api.js +0 -130
- package/lib/core/runners/distributed-execution/distributed-execution.api.js.map +0 -1
- package/lib/core/runners/distributed-execution/distributed-execution.runner.d.ts +0 -12
- package/lib/core/runners/distributed-execution/distributed-execution.runner.js +0 -306
- package/lib/core/runners/distributed-execution/distributed-execution.runner.js.map +0 -1
- package/lib/core/terminal-output/end-of-run-message.d.ts +0 -8
- package/lib/core/terminal-output/end-of-run-message.js +0 -37
- package/lib/core/terminal-output/end-of-run-message.js.map +0 -1
- package/lib/core/terminal-output/message-reporter.d.ts +0 -11
- package/lib/core/terminal-output/message-reporter.js +0 -71
- package/lib/core/terminal-output/message-reporter.js.map +0 -1
- package/lib/core/terminal-output/output-obfuscator.d.ts +0 -6
- package/lib/core/terminal-output/output-obfuscator.js +0 -48
- package/lib/core/terminal-output/output-obfuscator.js.map +0 -1
- package/lib/generators/init/init.d.ts +0 -2
- package/lib/generators/init/init.js +0 -126
- package/lib/generators/init/init.js.map +0 -1
- package/lib/nx-cloud-tasks-runner.d.ts +0 -2
- package/lib/nx-cloud-tasks-runner.js +0 -102
- package/lib/nx-cloud-tasks-runner.js.map +0 -1
- package/lib/utilities/axios.d.ts +0 -9
- package/lib/utilities/axios.js +0 -73
- package/lib/utilities/axios.js.map +0 -1
- package/lib/utilities/create-no-new-messages-timeout.d.ts +0 -1
- package/lib/utilities/create-no-new-messages-timeout.js +0 -25
- package/lib/utilities/create-no-new-messages-timeout.js.map +0 -1
- package/lib/utilities/environment.d.ts +0 -24
- package/lib/utilities/environment.js +0 -156
- package/lib/utilities/environment.js.map +0 -1
- package/lib/utilities/metric-logger.d.ts +0 -22
- package/lib/utilities/metric-logger.js +0 -70
- package/lib/utilities/metric-logger.js.map +0 -1
- package/lib/utilities/nx-imports.d.ts +0 -0
- package/lib/utilities/nx-imports.js +0 -39
- package/lib/utilities/nx-imports.js.map +0 -1
- package/lib/utilities/print-message.d.ts +0 -1
- package/lib/utilities/print-message.js +0 -35
- package/lib/utilities/print-message.js.map +0 -1
- package/lib/utilities/waiter.d.ts +0 -6
- package/lib/utilities/waiter.js +0 -36
- package/lib/utilities/waiter.js.map +0 -1
package/lib/utilities/waiter.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.Waiter = exports.wait = void 0;
|
|
13
|
-
function wait(time) {
|
|
14
|
-
return new Promise((res) => {
|
|
15
|
-
setTimeout(() => res(null), time);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
exports.wait = wait;
|
|
19
|
-
class Waiter {
|
|
20
|
-
constructor() {
|
|
21
|
-
this.value = 5000;
|
|
22
|
-
}
|
|
23
|
-
wait() {
|
|
24
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
-
yield wait(this.value);
|
|
26
|
-
this.value = this.value + 5000;
|
|
27
|
-
if (this.value > 30000)
|
|
28
|
-
this.value = 30000;
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
reset() {
|
|
32
|
-
this.value = 5000;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.Waiter = Waiter;
|
|
36
|
-
//# sourceMappingURL=waiter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"waiter.js","sourceRoot":"","sources":["../../../../../../libs/nx-packages/nx-cloud/lib/utilities/waiter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAgB,IAAI,CAAC,IAAY;IAC/B,OAAO,IAAI,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QACzB,UAAU,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC;AAJD,oBAIC;AAED,MAAa,MAAM;IAAnB;QACE,UAAK,GAAG,IAAI,CAAC;IAWf,CAAC;IATO,IAAI;;YACR,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACvB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAC/B,IAAI,IAAI,CAAC,KAAK,GAAG,KAAK;gBAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QAC7C,CAAC;KAAA;IAED,KAAK;QACH,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;CACF;AAZD,wBAYC"}
|