Skip to content

Commit 81f41b3

Browse files
authored
chore: cx-api should depend on cloud-assembly-schema using >= (#34113)
By default we would use `^41.0.0` to depend on this package, but it is strictly backwards compatible. The major version number of this package currently tracks the revision of the cloud assembly protocol, and does not use semver major versions to indicate breaking changes (breaking changes are not allowed). We should use `>=` to indicate that we expect a minimum version of the schema, but we don't want to imply a maximum version. Otherwise, users will get peerDependency errors/warnings for perfectly valid dependency sets. Fixes aws/aws-cdk-cli#345. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent c6905c6 commit 81f41b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/cx-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"semver": "^7.7.1"
8383
},
8484
"peerDependencies": {
85-
"@aws-cdk/cloud-assembly-schema": "^41.0.0"
85+
"@aws-cdk/cloud-assembly-schema": ">=41.0.0"
8686
},
8787
"license": "Apache-2.0",
8888
"devDependencies": {

0 commit comments

Comments
 (0)