You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@aws/pdk requires aws-cdk-lib of a specific version as its peer dependency, making package manager's version resolution inconvenient in some cases. For example:
npm update only installs aws-cdk-lib of the version pdk requires, not the latest aws-cdk-lib.
If a user sets (in their package.json) a greater version of aws-cdk-lib than pdk requires, npm shows a warning like npm WARN ERESOLVE overriding peer dependency.
PDK should not lock the peer dependency to a specific version. It should accept all the versions greater than or equal to a specifi version (e.g. "^2.147.1") to allow users freely choose their aws-cdk-lib version.
Describe the bug
@aws/pdk requires aws-cdk-lib of a specific version as its peer dependency, making package manager's version resolution inconvenient in some cases. For example:
npm update
only installs aws-cdk-lib of the version pdk requires, not the latest aws-cdk-lib.npm WARN ERESOLVE overriding peer dependency
.PDK should not lock the peer dependency to a specific version. It should accept all the versions greater than or equal to a specifi version (e.g.
"^2.147.1"
) to allow users freely choose their aws-cdk-lib version.Expected Behavior
Current Behavior
Reproduction Steps
Open
node_modules/@aws/pdk/package.json
.Possible Solution
No response
Additional Information/Context
No response
PDK version used
0.23.49
What languages are you seeing this issue on?
Typescript
Environment details (OS name and version, etc.)
macOS
The text was updated successfully, but these errors were encountered: