Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(awscdk-construct): cdkDependenciesAsDeps #581

Merged
merged 3 commits into from Mar 1, 2021
Merged

Conversation

Miradorn
Copy link
Contributor

@Miradorn Miradorn commented Mar 1, 2021

Allows disabling the default behavior in which CDK dependencies are also added as normal dependencies (and not just peer dependencies).

Resolves #577


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Miradorn Miradorn force-pushed the main branch 2 times, most recently from afa5141 to 0cfee3e Compare March 1, 2021 09:26
@eladb eladb changed the title feat(AwsCdkConstruct): make cdkDependencies behavior configurable feat(awscdk-construct): make cdkDependencies behavior configurable Mar 1, 2021
src/awscdk-construct.ts Outdated Show resolved Hide resolved
src/awscdk-construct.ts Outdated Show resolved Hide resolved
API.md Outdated Show resolved Hide resolved
src/awscdk-construct.ts Outdated Show resolved Hide resolved
src/awscdk-construct.ts Show resolved Hide resolved
Co-authored-by: Elad Ben-Israel <benisrae@amazon.com>
@Miradorn Miradorn requested a review from eladb March 1, 2021 12:34
src/awscdk-construct.ts Outdated Show resolved Hide resolved
src/awscdk-construct.ts Outdated Show resolved Hide resolved
@eladb
Copy link
Contributor

eladb commented Mar 1, 2021

@projen rebuild

@eladb eladb marked this pull request as ready for review March 1, 2021 13:46
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2021

projen: Rebuild started

@eladb eladb self-requested a review March 1, 2021 13:47
@eladb eladb changed the title feat(awscdk-construct): make cdkDependencies behavior configurable feat(awscdk-construct): cdkDependenciesAsDeps Mar 1, 2021
@mergify mergify bot merged commit cdb2c5b into projen:main Mar 1, 2021
@hoegertn
Copy link
Contributor

@Miradorn if using the new flag and installing CDK as devDeps and peerDeps, shouldn't the devDeps be pinned to guarantee a minimal version and the peerDeps are ^

Currently both are unpinned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maybe rethink cdkDependencies in awscdk-construct
3 participants