chore(update): update pnpm & packages, switch to @nuxt/eslint

This commit is contained in:
Daniel Klein 2024-09-02 14:50:56 +02:00
parent 5fc2bf003c
commit 57b8a1e055
4 changed files with 8934 additions and 7221 deletions

6
eslint.config.mjs Normal file
View file

@ -0,0 +1,6 @@
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt(
// Your custom configs here
)

View file

@ -1,6 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@vueuse/nuxt',
'@unocss/nuxt',
'@pinia/nuxt',
@ -21,8 +22,6 @@ export default defineNuxtConfig({
// when using generate, payload js assets included in sw precache manifest
// but missing on offline, disabling extraction it until fixed
payloadExtraction: false,
inlineSSRStyles: false,
reactivityTransform: true,
// typedPages: true,
componentIslands: true,
},
@ -32,6 +31,11 @@ export default defineNuxtConfig({
colorMode: {
classSuffix: '',
},
eslint: {
config: {
stylistic: true,
},
},
nitro: {
preset: 'vercel',
esbuild: {

View file

@ -1,7 +1,7 @@
{
"name": "develitesse-nuxt",
"private": true,
"packageManager": "pnpm@8.12.1",
"packageManager": "pnpm@9.9.0",
"scripts": {
"build": "nuxt build",
"cleanup": "nuxt cleanup",
@ -16,29 +16,35 @@
"typecheck": "nuxt typecheck --no-emit"
},
"devDependencies": {
"@antfu/eslint-config": "0.43.1",
"@formkit/auto-animate": "^0.8.1",
"@iconify-json/heroicons-outline": "^1.1.10",
"@iconify-json/heroicons-solid": "^1.1.11",
"@nuxt/devtools": "^1.0.6",
"@nuxt/image": "^1.1.0",
"@nuxt/test-utils": "^3.9.0",
"@nuxtjs/color-mode": "^3.3.2",
"@pinia/nuxt": "^0.5.1",
"@unocss/nuxt": "^0.58.0",
"@vueuse/nuxt": "^10.7.0",
"eslint": "^8.56.0",
"nuxt": "^3.8.2",
"nuxt-headlessui": "^1.1.4",
"@formkit/auto-animate": "^0.8.2",
"@iconify-json/heroicons-outline": "^1.2.0",
"@iconify-json/heroicons-solid": "^1.2.0",
"@nuxt/devtools": "^1.4.1",
"@nuxt/eslint": "0.5.5",
"@nuxt/image": "^1.8.0",
"@nuxt/test-utils": "^3.14.1",
"@nuxtjs/color-mode": "^3.4.4",
"@pinia/nuxt": "^0.5.4",
"@unocss/nuxt": "^0.62.3",
"@vueuse/nuxt": "^11.0.3",
"eslint": "^9.9.1",
"nuxt": "^3.13.0",
"nuxt-headlessui": "^1.2.0",
"nuxt-lodash": "^2.5.3",
"pinia": "^2.1.7",
"pnpm": "^8.12.1",
"taze": "^0.13.0",
"typescript": "^5.3.3",
"vitest": "^1.1.0",
"vue-tsc": "^1.8.25"
"pinia": "^2.2.2",
"taze": "^0.16.7",
"typescript": "^5.5.4",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.4"
},
"overrides": {
"vue": "latest"
},
"simple-git-hooks": {
"commit-msg": "npx commitlint --edit $1",
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}

File diff suppressed because it is too large Load diff