chore(build): adopt Vite, pnpm, ESLint flat config; drop Vue CLI
Replaces Vue CLI 4 with Vite 7 + @tailwindcss/vite + vite-plugin-pwa, yarn with pnpm, tslint with ESLint 9 flat config, and Jest with Vitest. Drops Netlify deploy config and the dead FontAwesome npm token. Bumps the entire dependency surface: Vue 3.5, Pinia 2, vue-router 4, vue-i18n 11, Tailwind 4, DaisyUI 5, TypeScript 5.7, axios 1.x, mapbox-gl 3.x, date-fns 4.x, uuid 11.x, pouchdb-browser 9.x.
This commit is contained in:
12
vitest.config.ts
Normal file
12
vitest.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { mergeConfig, defineConfig } from 'vitest/config'
|
||||
import viteConfig from './vite.config'
|
||||
|
||||
export default mergeConfig(
|
||||
viteConfig,
|
||||
defineConfig({
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
include: ['tests/**/*.spec.ts', 'src/**/*.spec.ts']
|
||||
}
|
||||
})
|
||||
)
|
||||
Reference in New Issue
Block a user