diff --git a/.gitignore b/.gitignore index 16d54bb..29f40fe 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ pnpm-debug.log* # jetbrains setting folder .idea/ + +# SonarCloud +.scannerwork/ \ No newline at end of file diff --git a/package.json b/package.json index f18f0ef..85a808b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "lint": "cspell src/content/docs", "build": "astro build", "preview": "astro preview", - "astro": "astro" + "astro": "astro", + "scan": "SONAR_TOKEN='op://Environment Variables - Development/SonarCloud/docs' op run -- sonar-scanner -Dsonar.organization=nhcarrigan -Dsonar.projectKey=nhcarrigan_docs -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io" }, "dependencies": { "@astrojs/check": "^0.9.3",