@codacy/analysis-runner 0.6.0 → 0.6.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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ interface AnalyzeOptions {
|
|
|
27
27
|
outputFormat?: OutputFormat;
|
|
28
28
|
/** Execution mode. Defaults to "standard". */
|
|
29
29
|
mode?: ExecutionMode;
|
|
30
|
-
/** Maximum time in ms for each tool invocation. Defaults to
|
|
30
|
+
/** Maximum time in ms for each tool invocation. Defaults to 600000 (10 minutes). */
|
|
31
31
|
toolTimeout?: number;
|
|
32
32
|
/** Maximum number of tools to run in parallel. 1 = sequential. Defaults to 1. */
|
|
33
33
|
parallelTools?: number;
|
package/dist/index.js
CHANGED
|
@@ -475,7 +475,7 @@ var nullLogger = {
|
|
|
475
475
|
async function analyze(options) {
|
|
476
476
|
const startedAt = /* @__PURE__ */ new Date();
|
|
477
477
|
const mode = options.mode || "standard";
|
|
478
|
-
const toolTimeout = options.toolTimeout ||
|
|
478
|
+
const toolTimeout = options.toolTimeout || 6e5;
|
|
479
479
|
const parallelTools = options.parallelTools || 1;
|
|
480
480
|
const logger = options.logger ?? nullLogger;
|
|
481
481
|
const emptyCapability = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/analysis-runner",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Core orchestration engine for Codacy analysis",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"cli-table3": "^0.6",
|
|
13
13
|
"minimatch": "10.2.4",
|
|
14
14
|
"yaml": "^2.6.0",
|
|
15
|
-
"@codacy/tooling": "0.6.
|
|
15
|
+
"@codacy/tooling": "0.6.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@codacy/openapi-typescript-codegen": "0.0.9",
|
|
19
|
-
"@codacy/tools-dummy-1": "0.6.
|
|
19
|
+
"@codacy/tools-dummy-1": "0.6.1"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|