Skip to content

Commit 6f408c0

Browse files
deciduouslynitsky
authored andcommitted
wip
can publish package with no dependencies helper context for tests, pre_publish passing add transitive package test add diamond test add diamond variation add failing test for local import add failing dependency cycle test dependency cycles passing found failing test case fixed consolidate push calls add failing single-file package test add test publishing by tag simple non-directory cases, but still problems add failing test Passing impl fix local dependency test local dependency changes - first pass refactor indoc alignment failing test passing dummy tags dont create unnecessary dummies use tag field in metadata add --tag override arg restore solve.rs fix compilation
1 parent c4b4b25 commit 6f408c0

File tree

5 files changed

+2253
-0
lines changed

5 files changed

+2253
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ libc = { workspace = true }
4949
miette = { workspace = true }
5050
num = { workspace = true }
5151
owo-colors = { workspace = true }
52+
petgraph = { workspace = true }
5253
ratatui = { workspace = true }
5354
serde = { workspace = true }
5455
serde_json = { workspace = true }

packages/cli/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ mod object;
4646
mod outdated;
4747
mod process;
4848
mod progress;
49+
mod publish;
4950
mod pull;
5051
mod push;
5152
mod put;
@@ -220,6 +221,8 @@ enum Command {
220221
#[command(alias = "ps")]
221222
Processes(self::process::list::Args),
222223

224+
Publish(self::publish::Args),
225+
223226
Pull(self::pull::Args),
224227

225228
Push(self::push::Args),
@@ -1185,6 +1188,7 @@ impl Cli {
11851188
Command::Output(args) => self.command_process_output(args).boxed(),
11861189
Command::Process(args) => self.command_process(args).boxed(),
11871190
Command::Processes(args) => self.command_process_list(args).boxed(),
1191+
Command::Publish(args) => self.command_publish(args).boxed(),
11881192
Command::Pull(args) => self.command_pull(args).boxed(),
11891193
Command::Push(args) => self.command_push(args).boxed(),
11901194
Command::Put(args) => self.command_put(args).boxed(),

0 commit comments

Comments
 (0)