Skip to content

Commit

Permalink
fix: use correct pinia version range
Browse files Browse the repository at this point in the history
Close #2748
  • Loading branch information
posva committed Aug 21, 2024
1 parent 904cd85 commit c34c0b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"dependencies": {
"@nuxt/kit": "^3.9.0",
"pinia": "workspace:*"
"pinia": "workspace:^"
},
"devDependencies": {
"@nuxt/module-builder": "^0.8.1",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ async function main() {
})
)

// TODO: we need to reorder packages based on dependencies
// pinia needs to be first
const piniaPkgIndx = packagesToRelease.find(({ name }) => name === 'pinia')
if (piniaPkgIndx > 0) {
packagesToRelease.unshift(packagesToRelease.splice(piniaPkgIndx, 1)[0])
}

const { yes: isReleaseConfirmed } = await prompt({
type: 'confirm',
name: 'yes',
Expand Down

0 comments on commit c34c0b6

Please sign in to comment.