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

Dependencies are always built with exact version contraints #271

Open
jsteinich opened this issue Jan 2, 2021 · 7 comments
Open

Dependencies are always built with exact version contraints #271

jsteinich opened this issue Jan 2, 2021 · 7 comments
Assignees
Labels

Comments

@jsteinich
Copy link
Contributor

Any dependencies are passed to jsii by reading the version out of the module's package.json file. This results in an exact version being required. This makes it more difficult to use the generated code with other libraries which may use a different version of the dependency.

Changing Options.dep to { [module: string]: string } would allow specifying a SemVar version for each module dependency. Could instead add a new option or union type to maintain compatibility.

@RomainMuller
Copy link
Contributor

Do you have an example reproduction for this? And which language are you experiencing this with?

The version ranges specified in the original library should be retained...

@jsteinich
Copy link
Contributor Author

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2021

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.

@github-actions github-actions bot added the stale label Jul 4, 2021
@github-actions
Copy link
Contributor

Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.

@ansgarm
Copy link
Contributor

ansgarm commented Jan 5, 2022

@RomainMuller can we reopen this and remove the stale label?
We're now experiencing this with the constructs package which seems to update daily now 😅
Issue tracking this on our end: hashicorp/terraform-cdk#1410

@eladb eladb removed the stale label Jan 5, 2022
@eladb eladb reopened this Jan 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2022

This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

@github-actions github-actions bot added the stale label Mar 7, 2022
@github-actions
Copy link
Contributor

Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.

@Chriscbr Chriscbr reopened this Mar 14, 2022
@Chriscbr Chriscbr added backlog and removed stale labels Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants