Skip to content

Commit

Permalink
feat: login command (#31)
Browse files Browse the repository at this point in the history
* feat(auth): load auth on init

* feat: login command
  • Loading branch information
hougesen authored Sep 26, 2024
1 parent b44cc00 commit f01b355
Show file tree
Hide file tree
Showing 16 changed files with 402 additions and 57 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### Unreleased

- build(deps): bump clap_complete from 4.5.26 to 4.5.29 [`#30`](https://github.com/i18nhero/cli/pull/30)
- build(deps): bump serde from 1.0.209 to 1.0.210 [`#26`](https://github.com/i18nhero/cli/pull/26)
- build(deps): bump clap from 4.5.17 to 4.5.18 [`#27`](https://github.com/i18nhero/cli/pull/27)
- refactor: move config to cli package [`#29`](https://github.com/i18nhero/cli/pull/29)
- feat: select project on init [`#28`](https://github.com/i18nhero/cli/pull/28)
- refactor: rename project [`#24`](https://github.com/i18nhero/cli/pull/24)
- feat: add flag for saving missing translations [`#23`](https://github.com/i18nhero/cli/pull/23)
Expand All @@ -23,5 +27,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore: validation workflow [`#2`](https://github.com/i18nhero/cli/pull/2)
- build: setup publishing [`#1`](https://github.com/i18nhero/cli/pull/1)
- feat(cli): json5 output (#19) [`#15`](https://github.com/i18nhero/cli/issues/15)
- feat(auth): load auth on init [`32c2455`](https://github.com/i18nhero/cli/commit/32c2455e24b2fd6aa1a5d2cd2fa2710391b5defb)
- chore: setup workspace [`11b6f6c`](https://github.com/i18nhero/cli/commit/11b6f6c749b6ff69b7cf84a9131c05be73bde525)
- Initial commit [`d96cebc`](https://github.com/i18nhero/cli/commit/d96cebc79c1f5243aa1ed05b2e68aaf5e380c61a)
165 changes: 152 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ categories = ["command-line-utilities", "development-tools"]
clap = { version = "4.5.18", features = ["derive"] }
clap_complete = "4.5.29"
console = { version = "0.15.8" }
dirs = { version = "5.0.1" }
dialoguer = { version = "0.11.0" }
json5 = "0.4.1"
reqwest = { version = "0.12.7", default-features = false, features = [
Expand All @@ -37,8 +38,11 @@ schemars = "0.8.21"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
serde_yml = "0.0.12"
supports-hyperlinks = "3.0.0"
tempfile = "3.12.0"
terminal-link = "0.1.0"
tokio = { version = "1.40.0", features = ["full"] }
uuid = { version = "1.10.0", features = ["v4"] }

# Config for 'cargo dist'
[workspace.metadata.dist]
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lint:

lint-aggressive:
cargo clean
cargo clippy --all-targets --all-features -- -Dclippy::style -Dclippy::double_neg -Dclippy::perf -Dclippy::pedantic -Dclippy::all -Dclippy::cargo -Dclippy::complexity -Dclippy::nursery -Dclippy::suspicious -Aclippy::module_name_repetitions -Aclippy::missing_errors_doc -Aclippy::must_use_candidate -Aclippy::multiple_crate_versions
cargo clippy --all-targets --all-features -- -Dclippy::unused_async -Dclippy::style -Dclippy::double_neg -Dclippy::perf -Dclippy::pedantic -Dclippy::all -Dclippy::cargo -Dclippy::complexity -Dclippy::nursery -Dclippy::suspicious -Aclippy::module_name_repetitions -Aclippy::missing_errors_doc -Aclippy::must_use_candidate -Aclippy::multiple_crate_versions
cargo clean

test:
Expand Down
4 changes: 4 additions & 0 deletions packages/i18nhero/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ clap = { workspace = true }
clap_complete = { workspace = true }
console = { workspace = true }
dialoguer = { workspace = true }
dirs = { workspace = true }
json5 = { workspace = true }
reqwest = { workspace = true }
schemars = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yml = { workspace = true }
supports-hyperlinks = { workspace = true }
terminal-link = { workspace = true }
tokio = { workspace = true }
uuid = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
Loading

0 comments on commit f01b355

Please sign in to comment.