From a42a5aa670cf82b1971081bc367c035ec9b57a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=9Aliwa?= Date: Wed, 19 Jun 2024 13:01:28 +0200 Subject: [PATCH 1/5] chore: bump middleware version to 4 --- packages/api-client/package.json | 2 +- packages/sdk/package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/api-client/package.json b/packages/api-client/package.json index 76889a577..e47f3cee4 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -25,7 +25,7 @@ "@apollo/client": "3.8.7", "@nuxtjs/composition-api": "0.31.0", "@vue-storefront/magento-types": "2.0.0", - "@vue-storefront/middleware": "^3.9.0", + "@vue-storefront/middleware": "^4.1.0", "agentkeepalive": "^4.2.1", "consola": "^3.1.0", "dotenv": "^16.0.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index dd3755347..506685bb2 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -31,7 +31,7 @@ "nock": "^13.2.9" }, "peerDependencies": { - "@vue-storefront/middleware": "^3.5.0" + "@vue-storefront/middleware": "^4.1.0" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index a0e874cd4..4caf2f1eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2248,10 +2248,10 @@ ts-jest "^29.1.0" ts-node "^10.9.1" -"@vue-storefront/middleware@^3.9.0": - version "3.9.0" - resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-3.9.0.tgz#58ec3c0e5f6c0b706187f8a87c1ee014b92fa4e4" - integrity sha512-4NSga6xlPETMHeROHyANfv8282pV2viBHIW3ivytmxzdWJN1pLh/rwM9sKgPdpjhZF9mBAzxsRCo7KCf5R7Oyw== +"@vue-storefront/middleware@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-4.1.0.tgz#dc6ebf58b1d9f518c8a3ae4fad6f14d561ef502d" + integrity sha512-RwHzVsGSFCmp7YpIVkUNYMiTUdHYE2lzupG6wxGXgGkMDcc4b1FnI93pZnO5Adjf0T4PKV27tjUZCtMm5gmClQ== dependencies: consola "^2.15.3" cookie-parser "^1.4.6" From 67c4ecb5a3d14b37f8ac0f31c0115113a6a27a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=9Aliwa?= Date: Wed, 19 Jun 2024 13:02:55 +0200 Subject: [PATCH 2/5] chore: api client changeset --- .changeset/gentle-islands-ring.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/gentle-islands-ring.md diff --git a/.changeset/gentle-islands-ring.md b/.changeset/gentle-islands-ring.md new file mode 100644 index 000000000..9d5bb6e09 --- /dev/null +++ b/.changeset/gentle-islands-ring.md @@ -0,0 +1,6 @@ +--- +"@vue-storefront/magento-api": major +--- + +[CHANGED] Updated `@vue-storefront/middleware` version to `4.x.x`. +[CHANGED] Removed support for Node versions before 18. From aae4537868c22f670e9d72815b44d698644650ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=9Aliwa?= Date: Wed, 19 Jun 2024 13:03:20 +0200 Subject: [PATCH 3/5] chore: sdk changset --- .changeset/cyan-monkeys-drive.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cyan-monkeys-drive.md diff --git a/.changeset/cyan-monkeys-drive.md b/.changeset/cyan-monkeys-drive.md new file mode 100644 index 000000000..55087642a --- /dev/null +++ b/.changeset/cyan-monkeys-drive.md @@ -0,0 +1,5 @@ +--- +"@vue-storefront/magento-sdk": patch +--- + +[CHANGED] Updated `@vue-storefront/middleware` peer dependency version to `4.x.x`. From 97c5d2553f5a2fcad6a34e325410f21536eb8222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=9Aliwa?= Date: Wed, 19 Jun 2024 13:12:06 +0200 Subject: [PATCH 4/5] chore: api-client changeset 2 --- .changeset/gentle-islands-ring.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.changeset/gentle-islands-ring.md b/.changeset/gentle-islands-ring.md index 9d5bb6e09..4f29c76ce 100644 --- a/.changeset/gentle-islands-ring.md +++ b/.changeset/gentle-islands-ring.md @@ -1,6 +1,5 @@ --- -"@vue-storefront/magento-api": major +"@vue-storefront/magento-api": patch --- [CHANGED] Updated `@vue-storefront/middleware` version to `4.x.x`. -[CHANGED] Removed support for Node versions before 18. From 5bfa35254e6b6b58085221929f09342d3b6973d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=9Aliwa?= Date: Wed, 19 Jun 2024 13:29:26 +0200 Subject: [PATCH 5/5] chore: try to fix sdk sonar --- .github/workflows/continuous-integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e2267a861..50089fdc0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,7 +32,7 @@ jobs: needs: [continous-integration] uses: vuestorefront/vue-storefront/.github/workflows/sonarcloud-integrations.yml@main secrets: - SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN_SDK }} + SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN_SDK_2 }} with: project_key: 'vuestorefront_magento2_sdk' package_name: 'sdk'