opencode-sonarqube 0.2.3 → 0.2.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/dist/index.js +12 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -20214,8 +20214,16 @@ ${blockerNote}Use \`sonarqube({ action: "issues" })\` to see details or \`sonarq
|
|
|
20214
20214
|
if (!config2 || config2.level === "off")
|
|
20215
20215
|
return;
|
|
20216
20216
|
const dir = getDirectory();
|
|
20217
|
-
|
|
20218
|
-
|
|
20217
|
+
safeLog(`performInitialQualityCheck: dir=${dir}`);
|
|
20218
|
+
if (await needsBootstrap(dir)) {
|
|
20219
|
+
safeLog(`performInitialQualityCheck: running bootstrap for ${dir}`);
|
|
20220
|
+
const result = await bootstrap({ config: config2, directory: dir });
|
|
20221
|
+
if (!result.success) {
|
|
20222
|
+
safeLog(`performInitialQualityCheck: bootstrap failed: ${result.message}`);
|
|
20223
|
+
return;
|
|
20224
|
+
}
|
|
20225
|
+
await showToast(`SonarQube: Project "${result.projectKey}" created`, "success");
|
|
20226
|
+
}
|
|
20219
20227
|
const state = await getProjectState(dir);
|
|
20220
20228
|
if (!state?.projectKey)
|
|
20221
20229
|
return;
|
|
@@ -20563,6 +20571,8 @@ Git operation completed with changes. Consider running:
|
|
|
20563
20571
|
return;
|
|
20564
20572
|
}
|
|
20565
20573
|
const dir = getDirectory();
|
|
20574
|
+
safeLog(`system.transform: getDirectory() returned: "${dir}"`);
|
|
20575
|
+
safeLog(`system.transform: effectiveDirectory is: "${effectiveDirectory}"`);
|
|
20566
20576
|
const state = await getProjectState(dir);
|
|
20567
20577
|
if (!state?.projectKey)
|
|
20568
20578
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-sonarqube",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "OpenCode Plugin for SonarQube integration - Enterprise-level code quality from the start",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"homepage": "https://github.com/mguttmann/opencode-sonarqube#readme",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@opencode-ai/plugin": "^1.1.34",
|
|
41
|
-
"opencode-sonarqube": "0.2.
|
|
41
|
+
"opencode-sonarqube": "0.2.5",
|
|
42
42
|
"zod": "^3.24.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|