@codacy/tools-jackson 0.1.0 → 0.2.0
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.js +11 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -59,7 +59,11 @@ var adapter = {
|
|
|
59
59
|
*/
|
|
60
60
|
async checkAvailability(ctx) {
|
|
61
61
|
ctx.logger.debug("Checking availability", { toolId: TOOL_ID });
|
|
62
|
-
ctx.logger.debug("Availability check result", {
|
|
62
|
+
ctx.logger.debug("Availability check result", {
|
|
63
|
+
toolId: TOOL_ID,
|
|
64
|
+
available: true,
|
|
65
|
+
version: "1.0.0"
|
|
66
|
+
});
|
|
63
67
|
return { available: true, version: "1.0.0", installation: "bundled" };
|
|
64
68
|
},
|
|
65
69
|
/** No-op — there is nothing to install for a Native adapter. */
|
|
@@ -164,7 +168,12 @@ var adapter = {
|
|
|
164
168
|
}
|
|
165
169
|
}
|
|
166
170
|
const completedAt = /* @__PURE__ */ new Date();
|
|
167
|
-
ctx.logger.info("Analysis complete", {
|
|
171
|
+
ctx.logger.info("Analysis complete", {
|
|
172
|
+
toolId: TOOL_ID,
|
|
173
|
+
issueCount: issues.length,
|
|
174
|
+
errorCount: errors.length,
|
|
175
|
+
durationMs: Date.now() - startMs
|
|
176
|
+
});
|
|
168
177
|
return {
|
|
169
178
|
metadata: {
|
|
170
179
|
startedAt: startedAt.toISOString(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/tools-jackson",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Jackson Linter adapter — pure TypeScript JSON syntax validator",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@codacy/tooling": "0.
|
|
11
|
+
"@codacy/tooling": "0.2.0"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|