Skip to content

Commit

Permalink
bump workspace to v0.0.2 (#257)
Browse files Browse the repository at this point in the history
* remove dev version

* bump all package version

* all packages inherit from workspace
  • Loading branch information
MrPicklePinosaur authored Nov 11, 2023
1 parent bf47c7c commit c2af0c5
Show file tree
Hide file tree
Showing 20 changed files with 199 additions and 138 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ members = [
"crates/*",
"plugins/*",
]
resolver = "2"

[workspace.package]
authors = ["MrPicklePinosaur", "nithinmuthukumar"]
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
edition = "2021"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
keywords = ["shrs", "shell", "posix", "unix"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MrPicklePinosaur/shrs"
10 changes: 5 additions & 5 deletions crates/shrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs"
version = "0.0.1"
version = "0.0.2"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
Expand Down Expand Up @@ -30,10 +30,10 @@ anyhow = "1"
lazy_static = "1.4"
log = "0.4"

shrs_core = { path = "../shrs_core", version = "0.0.1-dev" }
shrs_line = { path = "../shrs_line", version = "0.0.1-dev" }
shrs_lang = { path = "../shrs_lang", version = "0.0.1-dev" }
shrs_job = { path = "../shrs_job", version = "0.0.1-dev" }
shrs_core = { path = "../shrs_core", version = "0.0.2" }
shrs_line = { path = "../shrs_line", version = "0.0.2" }
shrs_lang = { path = "../shrs_lang", version = "0.0.2" }
shrs_job = { path = "../shrs_job", version = "0.0.2" }

serde = { version = "1", features = ["derive"], optional = true }

Expand Down
18 changes: 11 additions & 7 deletions crates/shrs_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "shrs_core"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "modular library to build your own shell in rust"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[features]
default = ["serde"]
Expand All @@ -22,8 +26,8 @@ dirs = "5"
anymap = "1.0.0-beta.2"
multimap = "0.9"

shrs_job = { path = "../shrs_job", version = "0.0.1-dev" }
shrs_utils = { path = "../shrs_utils", version = "0.0.1-dev" }
shrs_job = { path = "../shrs_job", version = "0.0.2" }
shrs_utils = { path = "../shrs_utils", version = "0.0.2" }

pino_deref = "0.1"

Expand Down
14 changes: 9 additions & 5 deletions crates/shrs_job/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "shrs_job"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "utilities for managing jobs and processes"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
Expand Down
18 changes: 11 additions & 7 deletions crates/shrs_lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
[package]
name = "shrs_lang"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "parser and lexer for shrs posix shell"
repository = "https://github.com/MrPicklePinosaur/shrs"
build = "build.rs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs_core = { path = "../shrs_core", version = "0.0.1-dev" }
shrs_job = { path = "../shrs_job", version = "0.0.1-dev" }
shrs_core = { path = "../shrs_core", version = "0.0.2" }
shrs_job = { path = "../shrs_job", version = "0.0.2" }
lalrpop-util = { version = "0.19.8", features = ["lexer"] }
regex = "1"
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
Expand Down
22 changes: 13 additions & 9 deletions crates/shrs_line/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "shrs_line"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "readline implementation"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
crossterm = {version = "0.26", features = ["bracketed-paste"]}
Expand All @@ -17,8 +21,8 @@ arboard = "3.2.0"

anyhow = "1"
thiserror = "1"
shrs_core = { path = "../shrs_core", version = "0.0.1-dev" }
shrs_vi = { path = "../shrs_vi", version = "0.0.1-dev" }
shrs_utils = { path = "../shrs_utils", version = "0.0.1-dev" }
shrs_lang = {path = "../shrs_lang", version = "0.0.1-dev" }
shrs_core = { path = "../shrs_core", version = "0.0.2" }
shrs_vi = { path = "../shrs_vi", version = "0.0.2" }
shrs_utils = { path = "../shrs_utils", version = "0.0.2" }
shrs_lang = {path = "../shrs_lang", version = "0.0.2" }
# shrs_core = { path = "../shrs_utils" }
16 changes: 10 additions & 6 deletions crates/shrs_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "shrs_utils"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
description = "common utilities for shrs"
repository = "https://github.com/MrPicklePinosaur/shrs"
version = "0.0.2"
description = "utilities for shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
crossterm = "0.26"
Expand Down
14 changes: 9 additions & 5 deletions crates/shrs_vi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[package]
name = "shrs_vi"
version = "0.0.1-dev"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "parser for vi like commands"
repository = "https://github.com/MrPicklePinosaur/shrs"
build = "build.rs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
lalrpop-util = { version = "0.19.8", features = ["lexer"] }
regex = "1"
Expand Down
8 changes: 8 additions & 0 deletions design/release_process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# Release Workflow

The version of all packages in the workspace should be bumped after a release.
The officially supported plugins in `plugins/` should also follow the entire
projects version. All packages, without exception have their version bumped,
regardless if the crate actually had any meaniful update between the last
release.
19 changes: 10 additions & 9 deletions plugins/shrs_autocd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "shrs_autocd"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "implement autocd feature present in many shells"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
keywords = ["shrs", "shell", "posix", "unix"]
readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }
19 changes: 10 additions & 9 deletions plugins/shrs_cd_stack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "shrs_cd_stack"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "maintain stack of past working directories"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
keywords = ["shrs", "shell", "posix", "unix"]
readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }
16 changes: 10 additions & 6 deletions plugins/shrs_cd_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
[package]
name = "shrs_cd_tools"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "Variety of utilities for running commands conditionally on directory change"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1-dev" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }

derive_builder = "0.12"
anymap = "0.12"
Expand Down
19 changes: 10 additions & 9 deletions plugins/shrs_command_timer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "shrs_command_timer"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "shrs plugin to time how long the previous command took to run"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
keywords = ["shrs", "shell", "posix", "unix"]
readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }
16 changes: 10 additions & 6 deletions plugins/shrs_derive_completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "shrs_derive_completion"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
version = "0.0.2"
description = "Specify shell completions from derive macro"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[lib]
proc-macro = true
Expand All @@ -15,7 +19,7 @@ name = "tests"
path = "tests/test.rs"

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }

derive_builder = "0.12"

Expand Down
21 changes: 11 additions & 10 deletions plugins/shrs_file_logger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[package]
name = "shrs_file_logger"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
description = "generate debug logs for shrs"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
keywords = ["shrs", "shell", "posix", "unix"]
version = "0.0.2"
description = ""
readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs = { path = "../../crates/shrs", version = "0.0.2" }

log4rs = { version = "1.2" }
log = { version = "0.4" }
23 changes: 12 additions & 11 deletions plugins/shrs_lang_options/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[package]
name = "shrs_lang_options"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["nithinmuthukumar"]
description = "nushell command language for shrs"
homepage = "https://mrpicklepinosaur.github.io/shrs/"
categories = ["command-line-interface", "command-line-utilities", "development-tools"]
keywords = ["shrs", "shell", "posix", "unix"]
version = "0.0.2"
description = ""
readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.1" }
shrs_mux = {path = "../shrs_mux/", version = "0.0.1"}
shrs = { path = "../../crates/shrs", version = "0.0.2" }
shrs_mux = {path = "../shrs_mux/", version = "0.0.2"}

Loading

0 comments on commit c2af0c5

Please sign in to comment.