From ae39e7ccfd63ddae335147726f38e1f9f70a5f01 Mon Sep 17 00:00:00 2001 From: Robert Field Date: Fri, 17 Nov 2023 12:20:41 +0100 Subject: [PATCH] feat: bumped moltin sdk in all repos and d2c output --- examples/algolia/package.json | 6 +- examples/payments/package.json | 6 +- examples/simple/package.json | 6 +- packages/composable-cli/package.json | 4 +- packages/composable-common/package.json | 2 +- packages/d2c-schematics/package.json | 2 +- .../utility/latest-versions/package.json | 2 +- packages/react-shopper-hooks/package.json | 3 +- packages/shopper-common/package.json | 2 +- pnpm-lock.yaml | 107 +++++++----------- 10 files changed, 61 insertions(+), 79 deletions(-) diff --git a/examples/algolia/package.json b/examples/algolia/package.json index 5482d8cb..51aaf7ae 100644 --- a/examples/algolia/package.json +++ b/examples/algolia/package.json @@ -21,11 +21,11 @@ }, "dependencies": { "@algolia/react-instantsearch-widget-color-refinement-list": "^1.4.7", - "@elasticpath/react-shopper-hooks": "^0.5.1", - "@elasticpath/shopper-common": "^0.1.1", + "@elasticpath/react-shopper-hooks": "workspace:^0.6.0", + "@elasticpath/shopper-common": "workspace:^0.2.0", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "algoliasearch": "^4.14.2", "clsx": "^1.2.1", "cookies-next": "^4.0.0", diff --git a/examples/payments/package.json b/examples/payments/package.json index 699658a6..bb9fb5be 100644 --- a/examples/payments/package.json +++ b/examples/payments/package.json @@ -20,11 +20,11 @@ "start:e2e": "NODE_ENV=test next start" }, "dependencies": { - "@elasticpath/react-shopper-hooks": "^0.5.1", - "@elasticpath/shopper-common": "^0.1.1", + "@elasticpath/react-shopper-hooks": "workspace:^0.6.0", + "@elasticpath/shopper-common": "workspace:^0.2.0", "@headlessui/react": "^1.7.17", "@heroicons/react": "^2.0.18", - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "@stripe/react-stripe-js": "^2.3.0", "@stripe/stripe-js": "^2.1.6", "clsx": "^1.2.1", diff --git a/examples/simple/package.json b/examples/simple/package.json index 21980b9d..883f1b17 100644 --- a/examples/simple/package.json +++ b/examples/simple/package.json @@ -20,9 +20,9 @@ "start:e2e": "NODE_ENV=test next start" }, "dependencies": { - "@moltin/sdk": "^25.0.2", - "@elasticpath/react-shopper-hooks": "^0.5.1", - "@elasticpath/shopper-common": "^0.1.1", + "@moltin/sdk": "^27.0.0", + "@elasticpath/react-shopper-hooks": "workspace:^0.6.0", + "@elasticpath/shopper-common": "workspace:^0.2.0", "clsx": "^1.2.1", "cookies-next": "^4.0.0", "focus-visible": "^5.2.0", diff --git a/packages/composable-cli/package.json b/packages/composable-cli/package.json index 853ce137..f4a9556b 100644 --- a/packages/composable-cli/package.json +++ b/packages/composable-cli/package.json @@ -23,7 +23,7 @@ "@angular-devkit/schematics": "^16.2.8", "@elasticpath/composable-common": "workspace:^", "@elasticpath/d2c-schematics": "^0.11.0", - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "@trpc/client": "^10.14.1", "@types/ink": "^2.0.3", "@types/react": "18", @@ -56,8 +56,8 @@ "zod": "^3.22.2" }, "devDependencies": { - "@elasticpath/composable-integration-hub-deployer": "workspace:^0.3.0", "@algolia/client-search": "^4.20.0", + "@elasticpath/composable-integration-hub-deployer": "workspace:^0.3.0", "@types/fs-extra": "^9.0.13", "@types/ink-big-text": "^1.2.1", "@types/ink-gradient": "^2.0.1", diff --git a/packages/composable-common/package.json b/packages/composable-common/package.json index 00c6cc15..a2ffaa1b 100644 --- a/packages/composable-common/package.json +++ b/packages/composable-common/package.json @@ -46,7 +46,7 @@ "@angular-devkit/core": "^16.2.8", "@angular-devkit/schematics": "^16.2.8", "@graphql-typed-document-node/core": "^3.2.0", - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "@types/uuid": "^9.0.1", "@urql/core": "^3.2.2", "graphql": "^16.6.0", diff --git a/packages/d2c-schematics/package.json b/packages/d2c-schematics/package.json index d6c1ce6b..5c2fc763 100644 --- a/packages/d2c-schematics/package.json +++ b/packages/d2c-schematics/package.json @@ -23,7 +23,7 @@ "@angular-devkit/schematics": "^16.2.8", "@elasticpath/composable-common": "^0.3.0", "@elasticpath/composable-integration-hub-deployer": "^0.3.0", - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "@trpc/client": "^10.14.1", "algoliasearch": "^4.15.0", "ansi-colors": "4.1.3", diff --git a/packages/d2c-schematics/utility/latest-versions/package.json b/packages/d2c-schematics/utility/latest-versions/package.json index abde4c93..f5ce0471 100644 --- a/packages/d2c-schematics/utility/latest-versions/package.json +++ b/packages/d2c-schematics/utility/latest-versions/package.json @@ -3,7 +3,7 @@ "comment": "This file is needed so that dependencies are synced by Renovate.", "private": true, "dependencies": { - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "@elasticpath/react-shopper-hooks": "^0.5.1", "@elasticpath/shopper-common": "^0.1.1", "clsx": "^1.2.1", diff --git a/packages/react-shopper-hooks/package.json b/packages/react-shopper-hooks/package.json index 60ec79df..1551f249 100644 --- a/packages/react-shopper-hooks/package.json +++ b/packages/react-shopper-hooks/package.json @@ -23,6 +23,7 @@ "devDependencies": { "@types/react": "^18.2.33", "@types/react-dom": "^18.2.14", + "@moltin/sdk": "^27.0.0", "@vitejs/plugin-react": "^2.2.0", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -32,7 +33,7 @@ "vitest": "^0.31.1" }, "peerDependencies": { - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/packages/shopper-common/package.json b/packages/shopper-common/package.json index 3f9f97d5..9fa38df7 100644 --- a/packages/shopper-common/package.json +++ b/packages/shopper-common/package.json @@ -37,7 +37,7 @@ "vitest": "^0.29.7" }, "dependencies": { - "@moltin/sdk": "^25.0.2", + "@moltin/sdk": "^27.0.0", "tslib": "^2.6.2" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 290b5a6b..be4ff218 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: dependencies: '@moltin/sdk': specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + version: 25.1.1 devDependencies: '@angular-devkit/core': specifier: ^16.2.7 @@ -97,11 +97,11 @@ importers: specifier: ^1.4.7 version: 1.4.7(classnames@2.3.2)(react-instantsearch-dom@6.40.4)(react@18.2.0) '@elasticpath/react-shopper-hooks': - specifier: ^0.5.1 - version: 0.5.4(@moltin/sdk@25.1.1)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0) + specifier: workspace:^0.6.0 + version: link:../../packages/react-shopper-hooks '@elasticpath/shopper-common': - specifier: ^0.1.1 - version: 0.1.3(encoding@0.1.13) + specifier: workspace:^0.2.0 + version: link:../../packages/shopper-common '@headlessui/react': specifier: ^1.7.17 version: 1.7.17(react-dom@18.2.0)(react@18.2.0) @@ -109,8 +109,8 @@ importers: specifier: ^2.0.18 version: 2.0.18(react@18.2.0) '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) algoliasearch: specifier: ^4.14.2 version: 4.20.0 @@ -254,11 +254,11 @@ importers: examples/payments: dependencies: '@elasticpath/react-shopper-hooks': - specifier: ^0.5.1 - version: 0.5.4(@moltin/sdk@25.1.1)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0) + specifier: workspace:^0.6.0 + version: link:../../packages/react-shopper-hooks '@elasticpath/shopper-common': - specifier: ^0.1.1 - version: 0.1.3(encoding@0.1.13) + specifier: workspace:^0.2.0 + version: link:../../packages/shopper-common '@headlessui/react': specifier: ^1.7.17 version: 1.7.17(react-dom@18.2.0)(react@18.2.0) @@ -266,8 +266,8 @@ importers: specifier: ^2.0.18 version: 2.0.18(react@18.2.0) '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) '@stripe/react-stripe-js': specifier: ^2.3.0 version: 2.3.1(@stripe/stripe-js@2.1.10)(react-dom@18.2.0)(react@18.2.0) @@ -405,11 +405,11 @@ importers: examples/simple: dependencies: '@elasticpath/react-shopper-hooks': - specifier: ^0.5.1 - version: 0.5.4(@moltin/sdk@25.1.1)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0) + specifier: workspace:^0.6.0 + version: link:../../packages/react-shopper-hooks '@elasticpath/shopper-common': - specifier: ^0.1.1 - version: 0.1.3(encoding@0.1.13) + specifier: workspace:^0.2.0 + version: link:../../packages/shopper-common '@headlessui/react': specifier: ^1.7.17 version: 1.7.17(react-dom@18.2.0)(react@18.2.0) @@ -417,8 +417,8 @@ importers: specifier: ^2.0.18 version: 2.0.18(react@18.2.0) '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) clsx: specifier: ^1.2.1 version: 1.2.1 @@ -562,8 +562,8 @@ importers: specifier: ^0.11.0 version: link:../d2c-schematics/dist '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) '@trpc/client': specifier: ^10.14.1 version: 10.42.0(@trpc/server@10.42.0) @@ -729,8 +729,8 @@ importers: specifier: ^3.2.0 version: 3.2.0(graphql@16.8.1) '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) '@types/uuid': specifier: ^9.0.1 version: 9.0.6 @@ -854,8 +854,8 @@ importers: specifier: ^0.3.0 version: link:../composable-integration-hub-deployer '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) '@trpc/client': specifier: ^10.14.1 version: 10.42.0(@trpc/server@10.42.0) @@ -969,13 +969,13 @@ importers: '@elasticpath/shopper-common': specifier: ^0.2.0 version: link:../shopper-common - '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) rxjs: specifier: 7.5.7 version: 7.5.7 devDependencies: + '@moltin/sdk': + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) '@types/react': specifier: ^18.2.33 version: 18.2.33 @@ -1007,8 +1007,8 @@ importers: packages/shopper-common: dependencies: '@moltin/sdk': - specifier: ^25.0.2 - version: 25.1.1(encoding@0.1.13) + specifier: ^27.0.0 + version: 27.0.0(encoding@0.1.13) tslib: specifier: ^2.6.2 version: 2.6.2 @@ -2876,31 +2876,6 @@ packages: node-source-walk: 6.0.2 dev: true - /@elasticpath/react-shopper-hooks@0.5.4(@moltin/sdk@25.1.1)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-JnQRsPF4oCiKGcaNiR9/cy+RzDUF/2Ng4wnkDLgoX8VQoAQa/uZtcL+5H9buYxfqOW3R47P8uXcM5KDrK9fLZQ==} - peerDependencies: - '@moltin/sdk': ^25.0.2 - react: ^18.2.0 - react-dom: ^18.2.0 - dependencies: - '@elasticpath/shopper-common': 0.1.3(encoding@0.1.13) - '@moltin/sdk': 25.1.1(encoding@0.1.13) - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - rxjs: 7.5.7 - transitivePeerDependencies: - - encoding - dev: false - - /@elasticpath/shopper-common@0.1.3(encoding@0.1.13): - resolution: {integrity: sha512-+jmas9qoiX63BWNyQMLtGHu+oH1d8lFeLZVE+T9VMVq35d+FhGVl+rsbsHZCA2B5CE2KE9a+quEiVJzK5+0TYA==} - dependencies: - '@moltin/sdk': 25.1.1(encoding@0.1.13) - tslib: 2.6.2 - transitivePeerDependencies: - - encoding - dev: false - /@esbuild/android-arm64@0.17.19: resolution: {integrity: sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==} engines: {node: '>=12'} @@ -4899,7 +4874,7 @@ packages: resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} dev: true - /@moltin/sdk@25.1.1(encoding@0.1.13): + /@moltin/sdk@25.1.1: resolution: {integrity: sha512-aA6YZlzdfGNS7/wFmy3Nc2NfFJFCL/XUajGA9/KRb/agU81gn7zE85qsktOCK60TrbeR4djAqgydMLcapjesdg==} dependencies: cross-fetch: 3.1.8(encoding@0.1.13) @@ -4913,6 +4888,19 @@ packages: - encoding dev: false + /@moltin/sdk@27.0.0(encoding@0.1.13): + resolution: {integrity: sha512-h7uV26iMW0D8lSR7x13XC6u+LhBhexu9o9NeI7ghR3SGjTsevF4nrCfaK89e4oBo9hVTkjqsfPikDwJum+ITEg==} + dependencies: + cross-fetch: 3.1.8(encoding@0.1.13) + es6-promise: 4.2.8 + form-data: 4.0.0 + inflected: 2.1.0 + js-cookie: 3.0.5 + node-localstorage: 2.2.1 + throttled-queue: 2.1.4 + transitivePeerDependencies: + - encoding + /@mswjs/cookies@0.2.2: resolution: {integrity: sha512-mlN83YSrcFgk7Dm1Mys40DLssI1KdJji2CMKN8eOlBqsTADYzj2+jWzsANsUTFbxDMWPD5e9bfA1RGqBpS3O1g==} engines: {node: '>=14'} @@ -11194,7 +11182,6 @@ packages: /es6-promise@4.2.8: resolution: {integrity: sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==} - dev: false /es6-promisify@6.1.1: resolution: {integrity: sha512-HBL8I3mIki5C1Cc9QjKUenHtnG0A5/xA8Q/AllRcfiwl2CZFXGK7ddBiCoRwAix4i2KxcQfjtIVcrVbB3vbmwg==} @@ -13697,7 +13684,6 @@ packages: /inflected@2.1.0: resolution: {integrity: sha512-hAEKNxvHf2Iq3H60oMBHkB4wl5jn3TPF3+fXek/sRwAB5gP9xWs4r7aweSF95f99HFoz69pnZTcu8f0SIHV18w==} - dev: false /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} @@ -15086,7 +15072,6 @@ packages: /js-cookie@3.0.5: resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==} engines: {node: '>=14'} - dev: false /js-levenshtein@1.1.6: resolution: {integrity: sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==} @@ -16692,7 +16677,6 @@ packages: engines: {node: '>=0.12'} dependencies: write-file-atomic: 1.3.4 - dev: false /node-releases@2.0.13: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} @@ -19261,7 +19245,6 @@ packages: /slide@1.1.6: resolution: {integrity: sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw==} - dev: false /smartwrap@2.0.2: resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} @@ -20114,7 +20097,6 @@ packages: /throttled-queue@2.1.4: resolution: {integrity: sha512-YGdk8sdmr4ge3g+doFj/7RLF5kLM+Mi7DEciu9PHxnMJZMeVuZeTj31g4VE7ekUffx/IdbvrtOCiz62afg0mkg==} - dev: false /through2-filter@3.0.0: resolution: {integrity: sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==} @@ -21788,7 +21770,6 @@ packages: graceful-fs: 4.2.11 imurmurhash: 0.1.4 slide: 1.1.6 - dev: false /write-file-atomic@3.0.3: resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==}