Skip to content

Commit a13e4bd

Browse files
Merge pull request #150 from sadeghbarati/nuxt-peer-optional
fix: make nuxt related deps optional
2 parents 0412d75 + b9a0a8a commit a13e4bd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,20 @@
7979
"vue-sonner": "link:",
8080
"vue-tsc": "^2.2.12"
8181
},
82-
"dependencies": {
82+
"peerDependencies": {
8383
"@nuxt/kit": "^4.0.3",
8484
"@nuxt/schema": "^4.0.3",
8585
"nuxt": "^4.0.3"
86+
},
87+
"peerDependenciesMeta": {
88+
"@nuxt/kit": {
89+
"optional": true
90+
},
91+
"@nuxt/schema": {
92+
"optional": true
93+
},
94+
"nuxt": {
95+
"optional": true
96+
}
8697
}
8798
}

0 commit comments

Comments
 (0)