Skip to content

Commit

Permalink
build: use explicit versioning (#93)
Browse files Browse the repository at this point in the history
* build: moltin sdk should be a peer dependency because consumers of this library a likely to be using the same dependency directly

* build: use explicit versioning

* chore: changeset

* build: bump moltin version
  • Loading branch information
field123 authored Oct 20, 2023
1 parent 19ada03 commit d640de1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"updateInternalDependents": "always"
},
"ignore": ["algolia", "basic"]
}
8 changes: 8 additions & 0 deletions .changeset/spotty-dolphins-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@elasticpath/composable-integration-hub-deployer": patch
"@elasticpath/react-shopper-hooks": patch
"composable-cli": patch
"@elasticpath/d2c-schematics": patch
---

use explicit versioning
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"node": ">=14.0.0 <18.0.0"
},
"dependencies": {
"@moltin/sdk": "^23.3.0"
"@moltin/sdk": "^25.0.2"
},
"packageManager": "[email protected]",
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/composable-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@angular-devkit/core": "^14.1.0",
"@angular-devkit/schematics": "^14.1.0",
"@elasticpath/d2c-schematics": "*",
"@elasticpath/d2c-schematics": "^0.9.0",
"@moltin/sdk": "^25.0.2",
"@types/ink": "^2.0.3",
"@types/yargs": "^17.0.24",
Expand Down
2 changes: 1 addition & 1 deletion packages/composable-integration-hub-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"vitest": "^0.29.7"
},
"dependencies": {
"@elasticpath/composable-common": "*",
"@elasticpath/composable-common": "^0.2.2",
"@netlify/functions": "^1.4.0",
"@trpc/server": "^10.14.1",
"express": "^4.18.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/d2c-schematics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"dependencies": {
"@angular-devkit/core": "^14.1.0",
"@angular-devkit/schematics": "^14.1.0",
"@elasticpath/composable-common": "*",
"@elasticpath/composable-integration-hub-deployer": "*",
"@elasticpath/composable-common": "^0.2.2",
"@elasticpath/composable-integration-hub-deployer": "^0.2.0",
"@moltin/sdk": "^25.0.2",
"@trpc/client": "^10.14.1",
"algoliasearch": "^4.15.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-shopper-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"vitest": "^0.31.1"
},
"peerDependencies": {
"@moltin/sdk": "^25.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@moltin/sdk": "^25.0.2",
"@elasticpath/shopper-common": "*",
"@elasticpath/shopper-common": "^0.0.0",
"rxjs": "7.5.7"
}
}
13 changes: 0 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3078,19 +3078,6 @@
resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz#c3ec604a0b54b9a9b87e9735dfc59e1a5da6a5fb"
integrity sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==

"@moltin/sdk@^23.3.0":
version "23.4.1"
resolved "https://registry.yarnpkg.com/@moltin/sdk/-/sdk-23.4.1.tgz#c85ceaf0b9b6e6eccb2c6b79677f818496aff139"
integrity sha512-QqPfCjAKKZoIIUohYTVuFmBafmkOH4XzTOjan08KXfOvKgc8iXAkVx6H/8zFUcuNjMr5i8TNnWDJ1amgw7by8Q==
dependencies:
cross-fetch "^3.1.5"
es6-promise "^4.0.5"
form-data "^4.0.0"
inflected "^2.0.1"
js-cookie "^3.0.1"
node-localstorage "^2.1.6"
throttled-queue "^2.1.4"

"@moltin/sdk@^25.0.2":
version "25.0.2"
resolved "https://registry.yarnpkg.com/@moltin/sdk/-/sdk-25.0.2.tgz#7986436e9d8ec52e8c341ee5b61bd9883226cbe1"
Expand Down

0 comments on commit d640de1

Please sign in to comment.