Skip to content

Commit

Permalink
fix(ust-1709): change @vue-storefront/sdk from dependency to peerDepe…
Browse files Browse the repository at this point in the history
…ndency (#7249)
  • Loading branch information
dawid-ziobro authored Aug 29, 2024
1 parent c7befab commit cde476b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/loud-bobcats-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@vue-storefront/next": patch
"@vue-storefront/nuxt": patch
---

[CHANGED] the package `@vue-storefront/sdk` is now a peer dependency instead of dependency
3 changes: 2 additions & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"test:unit": "vitest run"
},
"dependencies": {
"@vue-storefront/sdk": "^3.2.0",
"zustand": "^4.5.4"
},
"devDependencies": {
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@vue-storefront/sdk": "^3.1.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^2.0.3",
"tsup": "8.0.1",
Expand All @@ -57,6 +57,7 @@
"next": "^13.4.7 || ^14.0.0"
},
"peerDependencies": {
"@vue-storefront/sdk": "^3.1.0",
"react": "^18.2.0",
"next": "^13.4.7 || ^14.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@nuxt/kit": "^3.7.4",
"@nuxt/schema": "^3.7.4",
"@pinia/nuxt": "^0.5.1",
"@vue-storefront/sdk": "^3.2.0",
"defu": "^6.0.0",
"knitwork": "^1.0.0",
"pinia": "^2.1.7"
Expand All @@ -41,9 +40,13 @@
"@nuxt/devtools": "1.3.3",
"@nuxt/module-builder": "0.7.1",
"@nuxt/test-utils": "3.13.1",
"@vue-storefront/sdk": "^3.1.0",
"@vue-storefront/unified-data-model": "^2.0.0",
"nuxt": "3.12.2",
"start-server-and-test": "^2.0.3",
"vitest": "1.6.0"
},
"peerDependencies": {
"@vue-storefront/sdk": "^3.1.0"
}
}

0 comments on commit cde476b

Please sign in to comment.