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

fix(cli): install SDK separately #250

Merged
merged 2 commits into from
Oct 11, 2022
Merged

fix(cli): install SDK separately #250

merged 2 commits into from
Oct 11, 2022

Conversation

Chriscbr
Copy link
Contributor

Fixes #244

Getting Wing SDK bundled with the CLI while retaining all of its behavior and all of its transitive peer dependencies is less trivial than expected (see some of the comments in #244 and #248). This PR tries a different solution where we just assume @monadahq/wing and @monadahq/wingsdk are both published with identical versions, and we install the Wing SDK from the internet using the same version string. Since the package is cached in .wing, it won't get re-installed each time someone compiles.

@Chriscbr Chriscbr enabled auto-merge (squash) October 11, 2022 15:49
@Chriscbr Chriscbr merged commit 9d13590 into main Oct 11, 2022
@Chriscbr Chriscbr deleted the rybickic/fix-cli2 branch October 11, 2022 15:57
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.

Error: Cannot find module '@cdktf/provider-aws'
2 participants