opencode-sonarqube 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -19228,8 +19228,8 @@ async function bootstrap(options) {
19228
19228
  logger5.info("Connected to SonarQube", { version: health.version });
19229
19229
  const detection = await detectProjectType(directory);
19230
19230
  logger5.info("Detected project type", { languages: detection.languages });
19231
- const projectKey = config2.projectKey ?? sanitizeProjectKey(await deriveProjectKey(directory));
19232
- const projectName = config2.projectName ?? projectKey;
19231
+ const projectKey = config2.projectKey || sanitizeProjectKey(await deriveProjectKey(directory));
19232
+ const projectName = config2.projectName || projectKey;
19233
19233
  logger5.info("Project identification", { projectKey, projectName });
19234
19234
  const projectsApi = new ProjectsAPI(adminClient);
19235
19235
  let isNewProject = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-sonarqube",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
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.1.6",
41
+ "opencode-sonarqube": "0.1.7",
42
42
  "zod": "^3.24.0"
43
43
  },
44
44
  "devDependencies": {