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
When a module's API includes types from another dependency, the right way to ensure that a consumer actually passes in objects that are semantically compatible is by ensuring that the object was instantiated from the exact same version, as long as it's semantically compatible.
The jsii compiler should emit warnings if a module's API includes types of other modules but those other modules are not defined also under peerDependencies of the package.json file.
We should also provide a tool to help "fix" package.json files by inspecting the jsii spec.
Adds "peerDependencies" to all modules for all dependencies that
include types that are used in the module's public API.
Also, add "@aws-cdk/cdk" to "peerDependencies" for the typescript
library cdk-init template.
This will be enforced by jsii when aws/jsii#292 is introduced.
Prerequisite for #272Fixes#979
Adds "peerDependencies" to all modules for all dependencies that
include types that are used in the module's public API.
Also, add "@aws-cdk/cdk" to "peerDependencies" for the typescript
library cdk-init template.
This will be enforced by jsii when aws/jsii#292 is introduced.
Prerequisite for #272Fixes#979
When a module's API includes types from another dependency, the right way to ensure that a consumer actually passes in objects that are semantically compatible is by ensuring that the object was instantiated from the exact same version, as long as it's semantically compatible.
The jsii compiler should emit warnings if a module's API includes types of other modules but those other modules are not defined also under
peerDependencies
of the package.json file.We should also provide a tool to help "fix" package.json files by inspecting the jsii spec.
Related: aws/aws-cdk#979
The text was updated successfully, but these errors were encountered: