diff --git a/.changeset/loud-bobcats-laugh.md b/.changeset/loud-bobcats-laugh.md new file mode 100644 index 0000000000..f96b6e00a7 --- /dev/null +++ b/.changeset/loud-bobcats-laugh.md @@ -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 diff --git a/packages/next/package.json b/packages/next/package.json index b7baa800f5..ef0cb918f0 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -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", @@ -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" }, diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 93760750b8..1e2db446fa 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -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" @@ -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" } }