mirror of
https://github.com/Gimanh/taskview-community.git
synced 2026-09-10 22:25:56 +00:00
fix: types
This commit is contained in:
Generated
+757
-3172
File diff suppressed because it is too large
Load Diff
@@ -7,6 +7,14 @@ export default ts.config(
|
||||
js.configs.recommended,
|
||||
...ts.configs.recommended,
|
||||
...eslintPluginVue.configs['flat/recommended'],
|
||||
{
|
||||
files: ['**/*.ts', '**/*.js'],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
tsconfigRootDir: fileURLToPath(new URL('.', import.meta.url)),
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['*.vue', '**/*.vue'],
|
||||
languageOptions: {
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
"@capacitor/assets": "^3.0.5",
|
||||
"@capacitor/cli": "^8.1.0",
|
||||
"@playwright/test": "^1.49.0",
|
||||
"@types/node": "^22.19.7",
|
||||
"@vitejs/plugin-vue": "^6.0.3",
|
||||
"eslint": "^9.39.2",
|
||||
"eslint-plugin-vue": "^10.7.0",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
>
|
||||
<UAlert
|
||||
color="info"
|
||||
:title="$t('msg.addFirstProject')"
|
||||
:title="t('msg.addFirstProject')"
|
||||
variant="subtle"
|
||||
icon="i-lucide-terminal"
|
||||
class="mb-4"
|
||||
@@ -17,9 +17,11 @@
|
||||
import { computed } from 'vue'
|
||||
import ProjectAddInput from '@/components/features/projects/parts/ProjectAddInput.vue'
|
||||
import { useGoalsStore } from '@/stores/goals.store'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
const goalsStore = useGoalsStore()
|
||||
|
||||
const { t } = useI18n()
|
||||
const noGoals = computed(() => goalsStore.goals.filter((g) => !g.archive).length === 0)
|
||||
|
||||
async function addProject(name: string) {
|
||||
|
||||
+3
-2
@@ -4,6 +4,7 @@ import lucide from '@iconify-json/lucide/icons.json'
|
||||
import mdi from '@iconify-json/mdi/icons.json'
|
||||
import carbon from '@iconify-json/carbon/icons.json'
|
||||
import { createPinia } from 'pinia'
|
||||
import type { Plugin } from 'vue'
|
||||
import { createApp } from 'vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import ui from '@nuxt/ui/vue-plugin'
|
||||
@@ -23,7 +24,7 @@ const app = createApp(App)
|
||||
|
||||
app.use(createPinia())
|
||||
app.use(api)
|
||||
app.use(i18n)
|
||||
app.use(i18n as unknown as Plugin)
|
||||
|
||||
const router = createRouter({
|
||||
routes: [
|
||||
@@ -78,6 +79,6 @@ const router = createRouter({
|
||||
router.beforeEach(syncSelectedProject)
|
||||
|
||||
app.use(router)
|
||||
app.use(ui)
|
||||
app.use(ui as unknown as Plugin)
|
||||
|
||||
app.mount('#app')
|
||||
|
||||
@@ -26,12 +26,13 @@
|
||||
"./node_modules/vite"
|
||||
]
|
||||
},
|
||||
"types": ["node"],
|
||||
"typeRoots": [
|
||||
"./node_modules/@types",
|
||||
"./node_modules"
|
||||
"./node_modules/@types"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"vite.config.ts"
|
||||
"vite.config.ts",
|
||||
"eslint.config.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user