mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
chore(update): update pnpm & packages, switch to @nuxt/eslint
This commit is contained in:
parent
5fc2bf003c
commit
57b8a1e055
4 changed files with 8934 additions and 7221 deletions
6
eslint.config.mjs
Normal file
6
eslint.config.mjs
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// @ts-check
|
||||||
|
import withNuxt from './.nuxt/eslint.config.mjs'
|
||||||
|
|
||||||
|
export default withNuxt(
|
||||||
|
// Your custom configs here
|
||||||
|
)
|
|
@ -1,6 +1,7 @@
|
||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: [
|
modules: [
|
||||||
|
'@nuxt/eslint',
|
||||||
'@vueuse/nuxt',
|
'@vueuse/nuxt',
|
||||||
'@unocss/nuxt',
|
'@unocss/nuxt',
|
||||||
'@pinia/nuxt',
|
'@pinia/nuxt',
|
||||||
|
@ -21,8 +22,6 @@ export default defineNuxtConfig({
|
||||||
// when using generate, payload js assets included in sw precache manifest
|
// when using generate, payload js assets included in sw precache manifest
|
||||||
// but missing on offline, disabling extraction it until fixed
|
// but missing on offline, disabling extraction it until fixed
|
||||||
payloadExtraction: false,
|
payloadExtraction: false,
|
||||||
inlineSSRStyles: false,
|
|
||||||
reactivityTransform: true,
|
|
||||||
// typedPages: true,
|
// typedPages: true,
|
||||||
componentIslands: true,
|
componentIslands: true,
|
||||||
},
|
},
|
||||||
|
@ -32,6 +31,11 @@ export default defineNuxtConfig({
|
||||||
colorMode: {
|
colorMode: {
|
||||||
classSuffix: '',
|
classSuffix: '',
|
||||||
},
|
},
|
||||||
|
eslint: {
|
||||||
|
config: {
|
||||||
|
stylistic: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
preset: 'vercel',
|
preset: 'vercel',
|
||||||
esbuild: {
|
esbuild: {
|
||||||
|
|
48
package.json
48
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "develitesse-nuxt",
|
"name": "develitesse-nuxt",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@8.12.1",
|
"packageManager": "pnpm@9.9.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "nuxt build",
|
"build": "nuxt build",
|
||||||
"cleanup": "nuxt cleanup",
|
"cleanup": "nuxt cleanup",
|
||||||
|
@ -16,29 +16,35 @@
|
||||||
"typecheck": "nuxt typecheck --no-emit"
|
"typecheck": "nuxt typecheck --no-emit"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "0.43.1",
|
"@formkit/auto-animate": "^0.8.2",
|
||||||
"@formkit/auto-animate": "^0.8.1",
|
"@iconify-json/heroicons-outline": "^1.2.0",
|
||||||
"@iconify-json/heroicons-outline": "^1.1.10",
|
"@iconify-json/heroicons-solid": "^1.2.0",
|
||||||
"@iconify-json/heroicons-solid": "^1.1.11",
|
"@nuxt/devtools": "^1.4.1",
|
||||||
"@nuxt/devtools": "^1.0.6",
|
"@nuxt/eslint": "0.5.5",
|
||||||
"@nuxt/image": "^1.1.0",
|
"@nuxt/image": "^1.8.0",
|
||||||
"@nuxt/test-utils": "^3.9.0",
|
"@nuxt/test-utils": "^3.14.1",
|
||||||
"@nuxtjs/color-mode": "^3.3.2",
|
"@nuxtjs/color-mode": "^3.4.4",
|
||||||
"@pinia/nuxt": "^0.5.1",
|
"@pinia/nuxt": "^0.5.4",
|
||||||
"@unocss/nuxt": "^0.58.0",
|
"@unocss/nuxt": "^0.62.3",
|
||||||
"@vueuse/nuxt": "^10.7.0",
|
"@vueuse/nuxt": "^11.0.3",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^9.9.1",
|
||||||
"nuxt": "^3.8.2",
|
"nuxt": "^3.13.0",
|
||||||
"nuxt-headlessui": "^1.1.4",
|
"nuxt-headlessui": "^1.2.0",
|
||||||
"nuxt-lodash": "^2.5.3",
|
"nuxt-lodash": "^2.5.3",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.2.2",
|
||||||
"pnpm": "^8.12.1",
|
"taze": "^0.16.7",
|
||||||
"taze": "^0.13.0",
|
"typescript": "^5.5.4",
|
||||||
"typescript": "^5.3.3",
|
"vitest": "^2.0.5",
|
||||||
"vitest": "^1.1.0",
|
"vue-tsc": "^2.1.4"
|
||||||
"vue-tsc": "^1.8.25"
|
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"vue": "latest"
|
"vue": "latest"
|
||||||
|
},
|
||||||
|
"simple-git-hooks": {
|
||||||
|
"commit-msg": "npx commitlint --edit $1",
|
||||||
|
"pre-commit": "npx lint-staged"
|
||||||
|
},
|
||||||
|
"lint-staged": {
|
||||||
|
"*": "eslint --fix"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
16093
pnpm-lock.yaml
16093
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue