cdklabs / cdklabs/jsii-srcmak

Dependencies are always built with exact version contraints

Open
#271 7 comments 0 reactions 1 assignee Claimed by @RomainMuller View on GitHub
backlog p2
Dominant language
TypeScript
Stars
22
Forks
10
Avg merge
1d 10h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.