invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.16k stars 205 forks source link

request: Make override user `dependency_overrides` configurable in `command/bootstrap` #550

Open zhyky opened 1 year ago

zhyky commented 1 year ago

Is there an existing feature request for this?

Command

No response

Description

According to https://github.com/invertase/melos/pull/312, melos won't override user dependency_overrides, But there is a case like this:

project
  |- depends on git packageA 
    |- depends on git packageC ref1
  |- depends on git packageB
    |- depends on git packageC ref2

Note: packageA, packageB and packageC are all git packages

To resolve dependency conflict, the packageC is override in project's dependency_overrides

However, when we git clone packageC to local, we want melos to override packageC to local dependency, but now it does not

So please make override user dependency_overrides configurable in command/bootstrap

Reasoning

Make this configurable can meet more request.

Additional context and comments

No response