Skip to content

Commit 37c1848

Browse files
committed
fix: allow module to install pinia alongside
This should allow the nuxt module to install pinia if needed Fix #2820
1 parent ea77e4d commit 37c1848

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/nuxt/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@
4646
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l @pinia/nuxt -r 1"
4747
},
4848
"dependencies": {
49-
"@nuxt/kit": "^3.14.1592",
49+
"@nuxt/kit": "^3.14.1592"
50+
},
51+
"peerDependencies": {
5052
"pinia": "workspace:^"
5153
},
5254
"devDependencies": {
5355
"@nuxt/module-builder": "^0.8.4",
5456
"@nuxt/schema": "^3.14.1592",
5557
"@nuxt/test-utils": "^3.14.4",
5658
"nuxt": "^3.14.1592",
59+
"pinia": "workspace:^",
5760
"typescript": "^5.6.3",
5861
"vue-tsc": "^2.1.10"
5962
},

pnpm-lock.yaml

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)