gleam-lang/gleam

Requirement overriding

Open

#2,899 opened on Apr 5, 2024

View on GitHub
 (15 comments) (0 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
discussionhelp wanted

Description

I think it would be a useful addition to the language to have a mechanism by which requirements which conflict can be ignored.

I'm not sure the best way to go about this. Node has the concept of overrides (https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides) which strikes me as a possible solution.

I think in my case I just wanted the build to override a single include - gleescript required filepath >=0.1-<1.0 but filepath 1.0 was needed for simplifile >=1.6.

Contributor guide