Skip to content

Commit

Permalink
chore: added @nuxt/kit in peerDependencies
Browse files Browse the repository at this point in the history
### Bugreport
For the @kyvg/vue3-notification package to work correctly, it is necessary to use one instance of nuxt both in the application and in the package. Therefore, the @nuxt/kit dependency has been moved to a peer dependency, because the project is assumed to already contain nuxt, which internally contains @nuxt/kit.
  • Loading branch information
windx-foobar committed Dec 1, 2023
1 parent 5e8f086 commit 667ec7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@
"release": "npm run lint && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint ."
},
"peerDependencies": {
"@nuxt/kit": "^3.0.0"
},
"dependencies": {
"@kyvg/vue3-notification": "^2.8.0",
"@nuxt/kit": "^3.0.0",
"scule": "^1.0.0"
},
"devDependencies": {
Expand All @@ -60,4 +62,4 @@
}
},
"packageManager": "[email protected]"
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@
which "^3.0.1"
ws "^8.14.2"

"@nuxt/[email protected]", "@nuxt/kit@^3.0.0", "@nuxt/kit@^3.8.1", "@nuxt/kit@^3.8.2":
"@nuxt/[email protected]", "@nuxt/kit@^3.8.1", "@nuxt/kit@^3.8.2":
version "3.8.2"
resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.8.2.tgz#f4548f3449d2566dbd2febe2b84f47060f7c668c"
integrity sha512-LrXCm8hAkw+zpX8teUSD/LqXRarlXjbRiYxDkaqw739JSHFReWzBFgJbojsJqL4h1XIEScDGGOWiEgO4QO1sMg==
Expand Down

0 comments on commit 667ec7a

Please sign in to comment.