Skip to content

Commit

Permalink
Update src/awscdk-construct.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
  • Loading branch information
Miradorn and Elad Ben-Israel committed Mar 1, 2021
1 parent 0cfee3e commit 7409d5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/awscdk-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export interface AwsCdkConstructLibraryOptions extends ConstructLibraryOptions {
readonly cdkDependencies?: string[];


/** Should `cdkDependencies` be added to package.json `dependencies`.
/**
* If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`).
*
* This is to ensure that downstream consumers actually have your cdk Dependencies installed
* when using npm < 7 or yarn, since theese don't install peerDependencies by default.
Expand Down

0 comments on commit 7409d5b

Please sign in to comment.