Skip to content

Open source personal finance application

fix(nuxt.config): add collections and SSR support for nuxt-icon fix(package.json): add @iconify-json/mdi and fuse.js dependencies; remove nuxt-icon fix(pnpm-lock): update lockfile for new dependencies and remove nuxt-icon

Ilya Komichev7724026104e5
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 72a9ece4..7a8e77f8 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -77,7 +77,9 @@ export default defineNuxtConfig({
icon: {
clientBundle: {
+ collections: ['lucide', 'mdi'],
scan: true,
+ ssr: true,
},
serverBundle: {
collections: ['lucide', 'mdi'],
@@ -88,7 +90,6 @@ export default defineNuxtConfig({
'@nuxtjs/i18n',
'@pinia/nuxt',
'@vite-pwa/nuxt',
- 'nuxt-icon',
'@nuxt/ui',
'nuxt-vuefire',
'@nuxt/eslint',
diff --git a/package.json b/package.json
index 75815933..164eda43 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,7 @@
},
"dependencies": {
"@formkit/drag-and-drop": "0.5.3",
+ "@iconify-json/mdi": "^1.2.3",
"@internationalized/date": "^3.8.0",
"@pinia/nuxt": "^0.11.0",
"@vercel/analytics": "^1.5.0",
@@ -31,6 +32,7 @@
"currency.js": "^2.0.4",
"echarts": "^5.6.0",
"firebase": "^11.6.1",
+ "fuse.js": "^7.1.0",
"localforage": "^1.10.0",
"pinia": "^3.0.2",
"swiper": "11.2.6",
@@ -62,7 +64,6 @@
"eslint-plugin-perfectionist": "^4.12.3",
"eslint-plugin-tailwindcss": "^4.0.0-alpha.0",
"nuxt": "^3.16.2",
- "nuxt-icon": "^0.6.10",
"nuxt-vuefire": "^1.0.5",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 061ee9aa..291d46d0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -11,6 +11,9 @@ importers:
'@formkit/drag-and-drop':
specifier: 0.5.3
version: 0.5.3
+ '@iconify-json/mdi':
+ specifier: ^1.2.3
+ version: 1.2.3
'@internationalized/date':
specifier: ^3.8.0
version: 3.8.0
@@ -32,6 +35,9 @@ importers:
firebase:
specifier: ^11.6.1
version: 11.6.1
+ fuse.js:
+ specifier: ^7.1.0
+ version: 7.1.0
localforage:
specifier: ^1.10.0
version: 1.10.0
@@ -120,9 +126,6 @@ importers:
nuxt:
specifier: ^3.16.2
- nuxt-icon:
- specifier: ^0.6.10
nuxt-vuefire:
specifier: ^1.0.5
@@ -1609,8 +1612,8 @@ packages:
'@iconify-json/[email protected]':
resolution: {integrity: sha512-1BKCamEZRvArR7PErYCP4SZo9pAANJy6iQWpynI3GM8QKSQtWQgvw6usqGIFCQeJwFZHPOn2OcbDR4P56DyEaQ==}
- '@iconify/[email protected]':
- resolution: {integrity: sha512-AfQ7FtDlLsMsv1y1nfJ1WBF6R0HdbNe+BmUZ2bmekNuOzv0z+TMNF02EFUunkH2zQ+NFAEL02O8hvMjHZhPLLA==}
+ '@iconify-json/[email protected]':
+ resolution: {integrity: sha512-O3cLwbDOK7NNDf2ihaQOH5F9JglnulNDFV7WprU2dSoZu3h3cWH//h74uQAB87brHmvFVxIOkuBX2sZSzYhScg==}
'@iconify/[email protected]':
resolution: {integrity: sha512-M7vSam/3pooyc4DMvJqzyk4pKboQDtcM5DUsFMysIklOBzjTMELu1nyfRJnBPWpNm7B2oqOHUfJ8cDdFwseZFw==}
@@ -1856,11 +1859,6 @@ packages:
resolution: {integrity: sha512-GBzP8zOc7CGWyFQS6dv1lQz8VVpz5C2yRszbXufwG/9zhStTIH50EtD87NmWbTMwXDvZLNg8GIpb1UFdH93JCA==}
- resolution: {integrity: sha512-+NgZ2uP5BuneqvQbe7EdOEaFEDy8762c99pLABtn7/Ur0ExEsQJMP7pYjjoTfKubhBqecr5Vo9yHkPBj1eHulQ==}
- peerDependencies:
- vite: '*'
-
resolution: {integrity: sha512-GdxdxEDN1f6uxJOPooYQTLC6X1QUe5kRs83A0PVH/uD0sqoXCjpKHOw+H0vdhkHOwOIsVIsbL+TdaF4k++p9TA==}
peerDependencies:
@@ -1916,10 +1914,6 @@ packages:
resolution: {integrity: sha512-K1SAUo2vweTfudKZzjKsZ5YJoxPLTspR5qz5+G61xtZreLpsdpDYfBseqsIAl5VFLJuszeRpWQ01jP9LfQ6Ksw==}
engines: {node: '>=18.12.0'}
- resolution: {integrity: sha512-uCpcqWO6C4P5c4vi1/sq5GyajO0EOp+ZWFtPrnKaJ1pXAhA+W1aMVxAjfi2f18QMJHuRXBz1TouFg1RmWA6FuA==}
- engines: {node: ^14.18.0 || >=16.10.0}
-
resolution: {integrity: sha512-2HZPM372kuI/uw9VU/hOoYuzv803oZAtyoEKC5dQCQTKAQ293AjypF3WljMXUSReFS/hcbBSgGzYUPHr3Qo+pg==}
engines: {node: ^14.18.0 || >=16.10.0}
@@ -5770,9 +5764,6 @@ packages:
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
- resolution: {integrity: sha512-S9zHVA66ox4ZSpMWvCjqKZC4ZogC0s2z3vZs+M4D95YXGPEXwxDZu+insMKvkbe8+k7gvEmtTk0eq3KusKlxiw==}
-
resolution: {integrity: sha512-e165U1jGTd9t3nk81HBpZg375OY8G2Wnbjr7ZhE6ach3U4d3Mpm3XJQTts3bStLj2W//cDciK7EcLD2lAYtkGA==}
peerDependencies:
@@ -9347,7 +9338,7 @@ snapshots:
dependencies:
'@iconify/types': 2.0.0
- '@iconify/[email protected]':
+ '@iconify-json/[email protected]':
dependencies:
'@iconify/types': 2.0.0
@@ -9718,15 +9709,6 @@ snapshots:
'@nuxt/[email protected]': {}
- dependencies:
- '@nuxt/kit': 3.16.0([email protected])
- '@nuxt/schema': 3.16.0
- execa: 7.2.0
- transitivePeerDependencies:
- - magicast
-
dependencies:
'@nuxt/kit': 3.16.2([email protected])
@@ -9974,13 +9956,6 @@ snapshots:
transitivePeerDependencies:
- magicast
- dependencies:
- consola: 3.4.0
- defu: 6.1.4
- pathe: 2.0.3
- std-env: 3.8.1
-
dependencies:
consola: 3.4.2
@@ -14446,17 +14421,6 @@ snapshots:
dependencies:
boolbase: 1.0.0
- dependencies:
- '@iconify/collections': 1.0.528
- '@iconify/vue': 4.3.0([email protected]([email protected]))
- '@nuxt/kit': 3.16.0([email protected])
- transitivePeerDependencies:
- - magicast
- - vite
- - vue
-
dependencies:
'@nuxt/kit': 3.16.0([email protected])