Skip to content

Commit 5090c53

Browse files
committed
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
1 parent 58527c5 commit 5090c53

File tree

6 files changed

+2252
-1
lines changed

6 files changed

+2252
-1
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
@@ -48,6 +48,7 @@ libc = { workspace = true }
4848
miette = { workspace = true }
4949
num = { workspace = true }
5050
owo-colors = { workspace = true }
51+
petgraph = { workspace = true }
5152
ratatui = { workspace = true }
5253
serde = { workspace = true }
5354
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;
@@ -213,6 +214,8 @@ enum Command {
213214
#[command(alias = "ps")]
214215
Processes(self::process::list::Args),
215216

217+
Publish(self::publish::Args),
218+
216219
Pull(self::pull::Args),
217220

218221
Push(self::push::Args),
@@ -1155,6 +1158,7 @@ impl Cli {
11551158
Command::Output(args) => self.command_process_output(args).boxed(),
11561159
Command::Process(args) => self.command_process(args).boxed(),
11571160
Command::Processes(args) => self.command_process_list(args).boxed(),
1161+
Command::Publish(args) => self.command_publish(args).boxed(),
11581162
Command::Pull(args) => self.command_pull(args).boxed(),
11591163
Command::Push(args) => self.command_push(args).boxed(),
11601164
Command::Put(args) => self.command_put(args).boxed(),

0 commit comments

Comments
 (0)