diff --git a/.gitea/workflows/deploy-app-frontend.yaml b/.gitea/workflows/deploy-app-frontend.yaml index 4ee1920..d78e356 100644 --- a/.gitea/workflows/deploy-app-frontend.yaml +++ b/.gitea/workflows/deploy-app-frontend.yaml @@ -17,6 +17,13 @@ jobs: volumes: - /www/hereconnect.condev.ru:/www/hereconnect.condev.ru + env: + VITE_MANIFEST_NAME: НаСвязи + VITE_MANIFEST_SHORT_NAME: НаСвязи + VITE_MANIFEST_ID: https://hereconnect.condev.ru + VITE_MANIFEST_START_URL: https://hereconnect.condev.ru/manage/dashboard + VITE_MANIFEST_SCOPE: https://hereconnect.condev.ru/ + steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/apps/frontend/.env b/apps/frontend/.env index 8eefb18..7a96bd1 100644 --- a/apps/frontend/.env +++ b/apps/frontend/.env @@ -1,2 +1,2 @@ VITE_API_URL=https://hereconnect.condev.ru/api -VITE_READ_BASE_URL=https://r.condev.ru \ No newline at end of file +VITE_READ_BASE_URL=https://r.condev.ru diff --git a/apps/frontend/.env.development b/apps/frontend/.env.development new file mode 100644 index 0000000..7b622b3 --- /dev/null +++ b/apps/frontend/.env.development @@ -0,0 +1,2 @@ +VITE_MANIFEST_NAME=НаСвязи-dev +VITE_MANIFEST_SHORT_NAME=НаСвязи-dev diff --git a/apps/frontend/components.d.ts b/apps/frontend/components.d.ts index 9593fea..59dc2a8 100644 --- a/apps/frontend/components.d.ts +++ b/apps/frontend/components.d.ts @@ -30,7 +30,6 @@ declare module 'vue' { ProgressSpinner: typeof import('primevue/progressspinner')['default'] QRCodeCard: typeof import('./src/components/manage/QRCodeCard.vue')['default'] QueryRender: typeof import('./src/components/QueryRender.vue')['default'] - RadioButton: typeof import('primevue/radiobutton')['default'] ReadContactInfo: typeof import('./src/components/read/ReadContactInfo.vue')['default'] ReadMessageSender: typeof import('./src/components/read/ReadMessageSender.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 5624da9..314ae20 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -63,11 +63,14 @@ "npm-run-all2": "^7.0.1", "postcss": "^8.4.49", "prettier": "^3.3.3", + "rollup-plugin-manifest-json": "^1.7.0", "tailwindcss": "^3.4.14", "typescript": "~5.6.3", "unplugin-auto-import": "^0.18.6", + "unplugin-info": "^1.2.1", "unplugin-vue-components": "^0.27.4", "vite": "^5.4.10", + "vite-plugin-mock-data": "^4.0.6", "vite-plugin-vue-devtools": "^7.5.4", "vitest": "^2.1.4", "vue-tsc": "^2.1.10" diff --git a/apps/frontend/src/components/manage/QRCodeCard.vue b/apps/frontend/src/components/manage/QRCodeCard.vue index 43bc18d..9ace284 100644 --- a/apps/frontend/src/components/manage/QRCodeCard.vue +++ b/apps/frontend/src/components/manage/QRCodeCard.vue @@ -17,7 +17,7 @@