3 unstable releases

new 0.1.1 Aug 8, 2020
0.1.0 Aug 1, 2020
0.0.0 Jul 31, 2020

#102 in Cargo plugins

Apache-2.0/MIT

17KB
368 lines

cargo-mono

Mono repository for cargo.

Installation

cargo install cargo-mono

Usage

cargo mono bump

cargo mono bump swc_common --breaking

This will bump version of swc_common and its dependants. --breaking is optional, and if omitted, only patch (according to semver) of specified crate is bumped.

cargo mono publish

cargo mono publish

The command defaults to publishing all publishable crates.

Publishing only some of crates

cargo mono publish swc_ecmascript

This command will publish dependencies of swc_ecmascript first and swc_ecmascript.

When only dependencies are changed

swc_ecmascript rexports swc_ecma_transforms and Cargo.toml of swc_ecmascript specifies

[dependencies]
swc_ecma_transforms = "0.1"

When you made a small change to swc_ecma_transforms and do not want to change version of swc_ecmascript, you can do

cargo mono publish --allow-only-deps swc_ecmascript

Dependencies

~9–12MB
~262K SLoC