Commit Graph

2668 Commits

Author SHA1 Message Date
AlexHaxe 2766c78749
feat: add Haxe support (#4395)
* Add Haxe support

* avoid unwrap

* fix doc formatting

* removed extra newline

* fixed formatter and linter issues

* fixed config file

* better version of detecting contents of .haxerc

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* removed openfl related defaults from detect_files

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* fixed formatting

* reworked reading .haxerc with fallback to haxe --version

* fixed formatting

* added fallback to executable for dev paths in .haxerc

* fixed linter issue

* added support for Windows paths

* use or_else

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* use shorter version with `?`

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* simplified regex check

removed check for "null" string

* fixed format

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-12-04 18:28:49 +01:00
David Knaack ef83e7a092
fix(pwsh): fix error log display on older versions of pwsh (#4650) 2022-12-02 14:17:57 -06:00
renovate[bot] 9d4870775a build(deps): update pest crates to 2.5.1 2022-12-02 15:58:09 +00:00
nibon7 a7abc0f450
feat(nu): enable right prompt (#4490)
Closes #3982
2022-12-02 12:40:36 +01:00
Matan Kushner 497039be07
ci: add Ukranian docs to formatting exceptions 2022-12-02 16:27:07 +09:00
cgzones ea6249b524
feat(directory): add before_repo_root_style (#4595) 2022-12-01 23:09:11 +01:00
cgzones ddd54e9b20
feat(localip): use reserved remote address (#4648)
Instead of the remote address of 8.8.8.8 (Google DNS) in the crate
local_ipaddress use a reserved IPv4 address, that should never be
assigned.
Also forward the underlying error on failure.

Supersedes: #4614
2022-12-01 19:51:04 +01:00
renovate[bot] 9484e7eb01 build(deps): update rust crate gethostname to 0.4.1 2022-12-01 17:29:18 +00:00
Hanchin Hsieh e01a4cc8d8
docs: add Tokyo Night preset (#4668) 2022-11-30 17:36:03 +09:00
renovate[bot] 9553501627 build(deps): update rust crate nix to 0.26.1 2022-11-29 21:31:57 +00:00
renovate[bot] ed4deb59d0 build(deps): update rust crate clap to 4.0.29 2022-11-29 18:42:24 +00:00
renovate[bot] fcf7179425 build(deps): update rust crate terminal_size to 0.2.3 2022-11-29 09:20:55 +00:00
renovate[bot] 41710889ed build(deps): update rust crate clap to 4.0.28 2022-11-29 06:06:50 +00:00
renovate[bot] b10ec8697b build(deps): update rust crate serde to 1.0.148 2022-11-29 00:07:52 +00:00
David Knaack 7fa0c04555
chore: replace sha-1 with sha1 crate (#4662) 2022-11-28 20:34:21 +01:00
renovate[bot] 7998c4a14d build(deps): update rust crate git-features to 0.24.1 2022-11-28 19:13:33 +00:00
Gabriel Victor 0427863168
fix: don't attempt to display cmd_duration notification if in TTY (#4535)
Disables the display of notifications from cmd_duration on Linux if
none of DISPLAY, WAYLAND_DISPLAY, or MIR_SOCKET are set.
This prevents starship from attempting to create notifications in tty 
environments, which was previously causing hangs.
2022-11-28 07:23:03 -06:00
renovate[bot] c2c2eecf7e build(deps): update dependency dprint/dprint-plugin-markdown to v0.14.2 2022-11-28 06:01:38 +00:00
Chris Rose c8ac8777a5
fix(aws): enable when using .aws/credentials (#4604) 2022-11-27 15:06:05 +01:00
Ryan Sabatini 6e15c00238
feat(azure): add username to azure module config (#4323)
* add username to azure module config

* add username to azure module config

* formatting with cargo fmt

* Handle parse failure on azureProfile.json

allow program to procede if unable to parse azure profile due to missing
keys from the JSON structure.
remove unused keys from struct

Code cleanup with suggestions from PR maintainer

Cargo clippy fixes
2022-11-27 15:02:23 +01:00
geisterfurz007 5cfa397ef9
docs: Fix mention of Node.js in Bun docs (#4651)
* Fix mention of Node.js in Bun docs

* Fix whitespace blunder

* Fix whitespace blunder in the other direction
2022-11-25 18:44:22 +01:00
David Knaack 8bb9038431
feat(bug-report): ask for confirmation before opening issue (#4543)
* feat(bug-report): ask for confirmation before opening issue

* Apply suggestions from code review

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2022-11-25 17:44:25 +01:00
David Knaack df37e8d40c
feat(release): add chocolatey publishing (#4637)
* feat(release): add chocolatey publishing

* change variable forwarding
2022-11-25 17:19:03 +01:00
renovate[bot] c221c43caa build(deps): update rust crate shadow-rs to 0.18.0 2022-11-25 01:05:13 +00:00
renovate[bot] 1b63d20fb6 build(deps): update clap crates 2022-11-24 22:26:37 +00:00
renovate[bot] d113379322 build(deps): update pest crates to 2.5.0 2022-11-24 19:54:49 +00:00
Matan Kushner 47ae80b3de
docs: remove Fedora from install docs (#4636) 2022-11-22 13:15:26 -06:00
renovate[bot] af4871c759 build(deps): update rust crate serde_json to 1.0.89 2022-11-22 13:12:15 +00:00
David Knaack ac37792c19
feat(git_commit): support showing lightweight tags (#4632) 2022-11-22 10:15:31 +01:00
Marco Ieni e4dbff0fc7
fix(ci): cache after selecting the toolchain (#4619) 2022-11-21 10:54:59 -06:00
renovate[bot] 0e1dd6f707 build(deps): update rust crate open to 3.2.0 2022-11-21 13:42:24 +00:00
Scott Palmer a9eb65ef35
fix(java): Improved regex for Java version (starship#4610) (#4616)
* fix(java): Improved regex for Java version (starship#4610)

* fix(java): Fixed tests and tweaked regex to accomodate Eclipse OpenJ9 (starship#4610)
2022-11-20 18:28:39 +01:00
Brahm Lower 1b03ef21f3
fix(config): unrecognized config properties don't cause config error (#4547)
* Fix #4481, config does not error when unrecognized properties are present

* cleanup: use stuct update syntax to improve readability

from review feedback

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* cleanup: renamed ValueDeserializer func w/ better name

* cleanup: added test to cover unknown key retry condition

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2022-11-20 18:27:48 +01:00
renovate[bot] c2d3845dbb build(deps): update rust crate rayon to 1.6.0 2022-11-19 02:20:29 +00:00
renovate[bot] 8706b11f8a build(deps): update rust crate serde_json to 1.0.88 2022-11-18 12:56:49 +00:00
renovate[bot] 7a2f02ffd7 build(deps): update rust crate indexmap to 1.9.2 2022-11-18 01:32:59 +00:00
renovate[bot] c7a24633b2 build(deps): update rust crate git-repository to 0.28.0 2022-11-17 17:54:23 +00:00
renovate[bot] 655127371e build(deps): update rust crate clap to 4.0.26 2022-11-16 22:32:24 +00:00
renovate[bot] d250cd13d1 build(deps): update rust crate clap to 4.0.25 2022-11-15 21:50:20 +00:00
David Knaack b47a4fe514
fix(container): avoid detecting WSL as a systemd-container (#4593) 2022-11-15 11:14:52 +01:00
renovate[bot] 5f9804dd6a build(deps): update rust crate clap to 4.0.24 2022-11-14 23:12:17 +00:00
Matan Kushner b9942306f8
Add Dimension as Starship sponsor (#4607) 2022-11-15 01:29:20 +09:00
renovate[bot] fe2d8621e4
build(deps): update dependency dprint/dprint-plugin-typescript to v0.78.0 (#4601)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 23:38:23 -06:00
Kevin Menard cc2c8c4a54
feat(init): Use which-rs to resolve starship path
This patch uses the which crate to resolve the starship path, replacing the
current_exe() mechanism.

Co-authored-by: Kevin Song <chips@ksong.dev>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
2022-11-13 21:28:29 -06:00
David Knaack d86e1c1d1c
build(deps): update rust crate chrono to 0.4.23 (#4599)
* build(deps): update rust crate chrono to 0.4.23

* chore: remove chrono deprecations

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-13 21:23:30 -06:00
林博仁(Buo-ren, Lin) 7ce09621b9
build(snap): Fix snap package not buildable in v1.11.0 (#4578)
* fix(snap): Fix missing CMake build dependency

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>

* fix(snap): Use core20 for compatible versions of CMake

Fixes #4574.

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>

* build(snap): Drop unused build packages

Refer-to: David Knaack comment at Snap not buildable in v1.11.0 · Issue starship#4574 · starship/starship <starship#4574 (comment)>
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>

Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2022-11-13 18:30:25 +01:00
renovate[bot] f65861946d build(deps): update rust crate git-features to 0.23.1 2022-11-12 21:09:10 +00:00
renovate[bot] df5a04288c build(deps): update dependency cargo-wix to 0.3.4 2022-11-12 18:38:46 +00:00
renovate[bot] 4c5e055b70 build(deps): update clap crates 2022-11-12 16:51:03 +00:00
Sebastian Thiel a53f681e3c
build(deps): upgrade to git-repository v0.27 (#4588)
* upgrade to git-repository v0.27

* thanks clippy
2022-11-12 17:07:49 +01:00