From 79e0efc71e4679adc14ef64ec7a4696c953c0f88 Mon Sep 17 00:00:00 2001 From: NHoarau Date: Mon, 22 Jun 2026 15:23:21 +0400 Subject: [PATCH] feat: add @nuxt/image and @vueuse/nuxt modules, remove @nuxtjs/eslint-module --- apps/web/nuxt.config.ts | 2 +- apps/web/package.json | 1 - pnpm-lock.yaml | 105 +++++----------------------------------- 3 files changed, 13 insertions(+), 95 deletions(-) diff --git a/apps/web/nuxt.config.ts b/apps/web/nuxt.config.ts index 7d0d5c1..ae9da5b 100644 --- a/apps/web/nuxt.config.ts +++ b/apps/web/nuxt.config.ts @@ -1,6 +1,6 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ - modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/a11y", "@nuxt/hints"], + modules: ["@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n", "@nuxt/a11y", "@nuxt/hints", "@nuxt/image", "@vueuse/nuxt"], devtools: { enabled: true, diff --git a/apps/web/package.json b/apps/web/package.json index 8c720ae..1556472 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -19,7 +19,6 @@ "@nuxt/image": "2.0.0", "@nuxt/test-utils": "4.0.3", "@nuxt/ui": "^4.8.2", - "@nuxtjs/eslint-module": "4.1.0", "@nuxtjs/i18n": "10.4.0", "@vueuse/nuxt": "14.3.0", "@workspace/schema": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3fb188b..e0de1fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -132,9 +132,6 @@ importers: '@nuxt/ui': specifier: ^4.8.2 version: 4.8.2(@internationalized/date@3.12.2)(@internationalized/number@3.6.7)(@tiptap/extensions@3.26.1(@tiptap/core@3.26.1(@tiptap/pm@3.26.1))(@tiptap/pm@3.26.1))(@tiptap/y-tiptap@3.0.4(prosemirror-model@1.25.8)(prosemirror-state@1.4.4)(prosemirror-view@1.41.9)(y-protocols@1.0.7(yjs@13.6.31))(yjs@13.6.31))(change-case@5.4.4)(db0@0.3.4(drizzle-orm@0.45.2(@types/pg@8.20.0)(pg@8.21.0)))(embla-carousel@8.6.0)(ioredis@5.11.1)(magicast@0.5.3)(superstruct@2.0.2)(tailwindcss@4.3.0)(typescript@6.0.3)(valibot@1.4.1(typescript@6.0.3))(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue-router@5.1.0(@vue/compiler-sfc@3.5.38)(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue@3.5.38(typescript@6.0.3)))(vue@3.5.38(typescript@6.0.3))(yjs@13.6.31) - '@nuxtjs/eslint-module': - specifier: 4.1.0 - version: 4.1.0(eslint@10.4.1(jiti@2.7.0))(magicast@0.5.3)(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(webpack@5.106.2(lightningcss@1.32.0)(postcss@8.5.15)) '@nuxtjs/i18n': specifier: 10.4.0 version: 10.4.0(@vue/compiler-dom@3.5.38)(db0@0.3.4(drizzle-orm@0.45.2(@types/pg@8.20.0)(pg@8.21.0)))(eslint@10.4.1(jiti@2.7.0))(ioredis@5.11.1)(magicast@0.5.3)(rollup@4.61.1)(typescript@6.0.3)(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue@3.5.38(typescript@6.0.3)) @@ -2144,11 +2141,6 @@ packages: '@nuxtjs/color-mode@3.5.2': resolution: {integrity: sha512-cC6RfgZh3guHBMLLjrBB2Uti5eUoGM9KyauOaYS9ETmxNWBMTvpgjvSiSJp1OFljIXPIqVTJ3xtJpSNZiO3ZaA==} - '@nuxtjs/eslint-module@4.1.0': - resolution: {integrity: sha512-lW9ozEjOrnU8Uot3GOAZ/0ThNAds0d6UAp9n46TNxcTvH/MOcAggGbMNs16c0HYT2HlyPQvXORCHQ5+9p87mmw==} - peerDependencies: - eslint: '>=7' - '@nuxtjs/i18n@10.4.0': resolution: {integrity: sha512-GK/3YA/CQ2eZTYopHyxYfXYi2svZALvg01VFmUNJt2l3IMk/m+dDRtI+RQtafz0be0Pq+NSgoBb/oZNcfu0CUg==} engines: {node: '>=20.11.1'} @@ -3279,10 +3271,6 @@ packages: rollup: optional: true - '@rollup/pluginutils@4.2.1': - resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} - engines: {node: '>= 8.0.0'} - '@rollup/pluginutils@5.4.0': resolution: {integrity: sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg==} engines: {node: '>=14.0.0'} @@ -4634,10 +4622,6 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - binary-extensions@2.3.0: - resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} - engines: {node: '>=8'} - bindings@1.5.0: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} @@ -4774,10 +4758,6 @@ packages: chardet@2.1.1: resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==} - chokidar@3.6.0: - resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} - engines: {node: '>= 8.10.0'} - chokidar@4.0.3: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} engines: {node: '>= 14.16.0'} @@ -6126,10 +6106,6 @@ packages: is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - is-builtin-module@5.0.0: resolution: {integrity: sha512-f4RqJKBUe5rQkJ2eJEJBXSticB3hGbN9j0yxxMQFqIW89Jp9WYFtzfTcRlstDKVUTRzSOTLKRfO9vIztenwtxA==} engines: {node: '>=18.20'} @@ -7520,10 +7496,6 @@ packages: readdir-glob@1.1.3: resolution: {integrity: sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==} - readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - readdirp@4.1.2: resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} engines: {node: '>= 14.18.0'} @@ -7626,11 +7598,6 @@ packages: rollup: optional: true - rollup@2.80.0: - resolution: {integrity: sha512-cIFJOD1DESzpjOBl763Kp1AH7UE/0fcdHe6rZXUdQ9c50uvgigvW97u3IcSeBwOkgqL/PXPBktBCh0KEu5L8XQ==} - engines: {node: '>=10.0.0'} - hasBin: true - rollup@4.61.1: resolution: {integrity: sha512-I4KW6iuRpuu2uHBLraZ1wNZe0DP7lnRha+VJ9tNaYVaVgKhW0aI3h4RYnoRPeql0flHm/Co55b7snEDcOfOJrA==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -8536,12 +8503,6 @@ packages: vue-tsc: optional: true - vite-plugin-eslint@1.8.1: - resolution: {integrity: sha512-PqdMf3Y2fLO9FsNPmMX+//2BF5SF8nEWspZdgl4kSt7UvHDRHVVfHvxsD7ULYzZrJDGRxR81Nq7TOFgwMnUang==} - peerDependencies: - eslint: '>=7' - vite: '>=2' - vite-plugin-inspect@11.4.1: resolution: {integrity: sha512-ShOFe2PURXGvRS5OrgmOLZOCwDTD7dEBVt0tMpFPKb9AsvqXKCRGM8QgKrUbRbJYFXScHvDPpGRd28rYidC0tA==} engines: {node: '>=14'} @@ -10207,6 +10168,7 @@ snapshots: '@jest/schemas@29.6.3': dependencies: '@sinclair/typebox': 0.27.10 + optional: true '@jest/schemas@30.4.1': dependencies: @@ -10266,6 +10228,7 @@ snapshots: '@types/node': 25.9.3 '@types/yargs': 17.0.35 chalk: 4.1.2 + optional: true '@jest/types@30.4.1': dependencies: @@ -11184,19 +11147,6 @@ snapshots: transitivePeerDependencies: - magicast - '@nuxtjs/eslint-module@4.1.0(eslint@10.4.1(jiti@2.7.0))(magicast@0.5.3)(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(webpack@5.106.2(lightningcss@1.32.0)(postcss@8.5.15))': - dependencies: - '@nuxt/kit': 3.21.8(magicast@0.5.3) - chokidar: 3.6.0 - eslint: 10.4.1(jiti@2.7.0) - eslint-webpack-plugin: 4.2.0(eslint@10.4.1(jiti@2.7.0))(webpack@5.106.2(lightningcss@1.32.0)(postcss@8.5.15)) - pathe: 1.1.2 - vite-plugin-eslint: 1.8.1(eslint@10.4.1(jiti@2.7.0))(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)) - transitivePeerDependencies: - - magicast - - vite - - webpack - '@nuxtjs/i18n@10.4.0(@vue/compiler-dom@3.5.38)(db0@0.3.4(drizzle-orm@0.45.2(@types/pg@8.20.0)(pg@8.21.0)))(eslint@10.4.1(jiti@2.7.0))(ioredis@5.11.1)(magicast@0.5.3)(rollup@4.61.1)(typescript@6.0.3)(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0))(vue@3.5.38(typescript@6.0.3))': dependencies: '@intlify/core': 11.4.5 @@ -11919,11 +11869,6 @@ snapshots: optionalDependencies: rollup: 4.61.1 - '@rollup/pluginutils@4.2.1': - dependencies: - estree-walker: 2.0.2 - picomatch: 2.3.2 - '@rollup/pluginutils@5.4.0(rollup@4.61.1)': dependencies: '@types/estree': 1.0.9 @@ -12018,7 +11963,8 @@ snapshots: dependencies: '@simple-git/args-pathspec': 1.0.3 - '@sinclair/typebox@0.27.10': {} + '@sinclair/typebox@0.27.10': + optional: true '@sinclair/typebox@0.34.49': {} @@ -12450,6 +12396,7 @@ snapshots: dependencies: '@types/estree': 1.0.9 '@types/json-schema': 7.0.15 + optional: true '@types/eslint@9.6.1': dependencies: @@ -13368,8 +13315,6 @@ snapshots: baseline-browser-mapping@2.10.36: {} - binary-extensions@2.3.0: {} - bindings@1.5.0: dependencies: file-uri-to-path: 1.0.0 @@ -13519,18 +13464,6 @@ snapshots: chardet@2.1.1: {} - chokidar@3.6.0: - dependencies: - anymatch: 3.1.3 - braces: 3.0.3 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - chokidar@4.0.3: dependencies: readdirp: 4.1.2 @@ -13543,7 +13476,8 @@ snapshots: chrome-trace-event@1.0.4: {} - ci-info@3.9.0: {} + ci-info@3.9.0: + optional: true ci-info@4.4.0: {} @@ -14279,6 +14213,7 @@ snapshots: normalize-path: 3.0.0 schema-utils: 4.3.3 webpack: 5.106.2(lightningcss@1.32.0)(postcss@8.5.15) + optional: true eslint@10.4.1(jiti@2.7.0): dependencies: @@ -14971,10 +14906,6 @@ snapshots: is-arrayish@0.2.1: {} - is-binary-path@2.1.0: - dependencies: - binary-extensions: 2.3.0 - is-builtin-module@5.0.0: dependencies: builtin-modules: 5.2.0 @@ -15347,6 +15278,7 @@ snapshots: ci-info: 3.9.0 graceful-fs: 4.2.11 picomatch: 2.3.2 + optional: true jest-util@30.4.1: dependencies: @@ -15389,6 +15321,7 @@ snapshots: jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 + optional: true jest-worker@30.4.1: dependencies: @@ -16941,10 +16874,6 @@ snapshots: dependencies: minimatch: 5.1.9 - readdirp@3.6.0: - dependencies: - picomatch: 2.3.2 - readdirp@4.1.2: {} readdirp@5.0.0: {} @@ -17051,10 +16980,6 @@ snapshots: rolldown: 1.1.2 rollup: 4.61.1 - rollup@2.80.0: - optionalDependencies: - fsevents: 2.3.3 - rollup@4.61.1: dependencies: '@types/estree': 1.0.9 @@ -17516,6 +17441,7 @@ snapshots: optionalDependencies: lightningcss: 1.32.0 postcss: 8.5.15 + optional: true terser-webpack-plugin@5.6.1(webpack@5.106.2): dependencies: @@ -18053,14 +17979,6 @@ snapshots: typescript: 6.0.3 vue-tsc: 3.3.4(typescript@6.0.3) - vite-plugin-eslint@1.8.1(eslint@10.4.1(jiti@2.7.0))(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)): - dependencies: - '@rollup/pluginutils': 4.2.1 - '@types/eslint': 8.56.12 - eslint: 10.4.1(jiti@2.7.0) - rollup: 2.80.0 - vite: 7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0) - vite-plugin-inspect@11.4.1(@nuxt/kit@4.4.8(magicast@0.5.3))(vite@7.3.5(@types/node@25.9.3)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.48.0)(tsx@4.22.4)(yaml@2.9.0)): dependencies: ansis: 4.3.1 @@ -18299,6 +18217,7 @@ snapshots: - lightningcss - postcss - uglify-js + optional: true whatwg-url@5.0.0: dependencies: