diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 60d6e0e..e146170 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -25,7 +25,8 @@ jobs: - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 22.17.0 + node-version-file: '.nvmrc' + cache: 'pnpm' - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/apps/vscode-sonar-extension/CHANGELOG.md b/apps/vscode-sonar-extension/CHANGELOG.md index a103922..020f232 100644 --- a/apps/vscode-sonar-extension/CHANGELOG.md +++ b/apps/vscode-sonar-extension/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the "creedengo-for-sonar" extension will be documented in this file. -Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +Check [Keep a Changelog](https://keepachangelog.com/) for recommendations on how to structure this file. ## [Unreleased] diff --git a/apps/vue-app/package.json b/apps/vue-app/package.json index 8b77c26..3334f31 100644 --- a/apps/vue-app/package.json +++ b/apps/vue-app/package.json @@ -12,7 +12,7 @@ }, "exports": { "./script": "./dist/view.js", - "./stylesheet": "./dist/view.css" + "./stylesheet": "./dist/view.css" }, "scripts": { "preinstall": "npx only-allow pnpm", @@ -34,13 +34,14 @@ "dependencies": { "@creedengo/sonar-services": "workspace:*", "@creedengo/vue-ui": "workspace: *", - "vue": "^3.5.18" + "vue": "^3.5.18", + "vue-router": "^4.5.1" }, "devDependencies": { "@creedengo/core-services": "workspace: *", - "@creedengo/sonar-services": "workspace: *", "@creedengo/eslint-config": "workspace: *", "@creedengo/playwright-config": "workspace:*", + "@creedengo/sonar-services": "workspace: *", "@creedengo/vitest-config": "workspace:*", "@storybook/addon-a11y": "^9.1.2", "@storybook/addon-coverage": "^2.0.0", @@ -60,7 +61,6 @@ "jsdom": "^26.1.0", "msw": "^2.10.2", "msw-storybook-addon": "^2.0.5", - "@playwright/test": "^1.54.2", "sonarqube-scanner": "^4.3.0", "storybook": "^9.1.2", "vite-plugin-vue-devtools": "^8.0.0", diff --git a/apps/vue-app/src/App.vue b/apps/vue-app/src/App.vue index 9af20bd..97cf028 100644 --- a/apps/vue-app/src/App.vue +++ b/apps/vue-app/src/App.vue @@ -4,6 +4,9 @@ import SettingsPage from './components/pages/SettingsPage.vue'; import DashboardPage from './components/pages/DashboardPage.vue'; import NotFoundPage from './components/pages/NotFoundPage.vue'; +import { isSonarPlugin, isWebExtension, isWebsite } from './context'; +import ConnectionPage from './components/pages/ConnectionPage.vue'; + const routes = { '/': DashboardPage, '/settings': SettingsPage @@ -33,15 +36,43 @@ const props = defineProps({