- web/frontend/package.json: remove invalid @nuxtjs/tailwindcss (Nuxt-only package) - web/frontend/src/router/index.ts: prefix unused 'from' param with _ - web/frontend/src/views/ApiKeys.vue: remove unused 'Check' import - .gitignore: add *.tsbuildinfo, vite.config.js, vite.config.d.ts - web/frontend/package-lock.json: generated via npm install (required for CI npm ci)
This commit is contained in:
@@ -61,6 +61,9 @@ web/dist/
|
|||||||
web/frontend/.env
|
web/frontend/.env
|
||||||
web/frontend/.env.local
|
web/frontend/.env.local
|
||||||
web/frontend/coverage/
|
web/frontend/coverage/
|
||||||
|
web/frontend/*.tsbuildinfo
|
||||||
|
web/frontend/vite.config.js
|
||||||
|
web/frontend/vite.config.d.ts
|
||||||
|
|
||||||
# Build artifacts
|
# Build artifacts
|
||||||
*.tmp
|
*.tmp
|
||||||
|
|||||||
Generated
+4301
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,6 @@
|
|||||||
"tailwindcss": "^3.4.0",
|
"tailwindcss": "^3.4.0",
|
||||||
"autoprefixer": "^10.4.0",
|
"autoprefixer": "^10.4.0",
|
||||||
"postcss": "^8.4.0",
|
"postcss": "^8.4.0",
|
||||||
"@nuxtjs/tailwindcss": "^8.0.0",
|
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"eslint": "^9.0.0",
|
"eslint": "^9.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const router = createRouter({
|
|||||||
routes,
|
routes,
|
||||||
})
|
})
|
||||||
|
|
||||||
router.beforeEach((to, from, next) => {
|
router.beforeEach((to, _from, next) => {
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
|
|
||||||
if (to.meta.requiresAuth && !authStore.isAuthenticated) {
|
if (to.meta.requiresAuth && !authStore.isAuthenticated) {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, onMounted } from 'vue'
|
import { ref, onMounted } from 'vue'
|
||||||
import { api } from '@/lib/api'
|
import { api } from '@/lib/api'
|
||||||
import { Plus, Trash2, Copy, Check } from 'lucide-vue-next'
|
import { Plus, Trash2, Copy } from 'lucide-vue-next'
|
||||||
|
|
||||||
interface ApiKey {
|
interface ApiKey {
|
||||||
id: string
|
id: string
|
||||||
|
|||||||
Reference in New Issue
Block a user