Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-eth committed Nov 7, 2024
1 parent 514dd8f commit c8304a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Or using custom commit hashes
[forge] soldeer install
```

The command will install all the dependencies from the `soldeer.toml`/`foundry.toml` file.
The command will install all the dependencies from the `soldeer.toml`/`foundry.toml` file, and will use the version inside of the `soldeer.lock` file if present.

### How to push a new dependency to the repository

Expand Down Expand Up @@ -166,6 +166,8 @@ For more commands use `[forge] soldeer --help`.

The "add to remappings" feature only appends to the remappings.txt file and does not delete old dependencies. If you want to remove a dependency from remappings, you must do it manually.

If you use other dependency managers, such as git submodules or npm, ensure you don't duplicate dependencies between soldeer and the other manager. Optionally, you can set the `regenerate_remappings = true` in the config so that the remappings are generated from scratch.

### Dependencies maintenance

The goal of Soldeer is to be integrated into the pipelines of every open-source project, such as OpenZeppelin, Solady, Uniswap, etc. The maintainers of these projects can push their own dependencies to the repository, and the community can use them. Until that happens, the Soldeer maintenance team (currently m4rio.eth) will push the most used dependencies to the repository by relying on the npmjs versions or GitHub. We are using [this](https://github.com/mario-eth/soldeer-crawler) software to crawl and push the dependencies under the `soldeer` organization.
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ name = "soldeer"
path = "src/main.rs"

[dependencies]
soldeer-commands = { path = "../commands", version = "0.5.0" }
soldeer-commands = { path = "../commands", version = "0.5" }
tokio.workspace = true
yansi = { version = "1.0.1", features = ["detect-tty", "detect-env"] }
2 changes: 1 addition & 1 deletion crates/commands/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cliclack.workspace = true
derive_more.workspace = true
email-address-parser = "2.0.0"
rayon.workspace = true
soldeer-core = { path = "../core", version = "0.5.0", features = ["cli"] }
soldeer-core = { path = "../core", version = "0.5", features = ["cli"] }

[dev-dependencies]
mockito.workspace = true
Expand Down

0 comments on commit c8304a5

Please sign in to comment.