renovate[bot]
24ce5755b4
chore(deps): update all non-major dependencies ( #673 )
...
* chore(deps): update all non-major dependencies
* cargo clippy --fix
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
3 years ago
Gal Schlezinger
c85ff97f14
remove .unwrap() and .expect() in shell code ( #663 )
...
* remove .unwrap() and .expect() in shell code
this should provide nicer error messages if users get to these situations
* Silent github comments
3 years ago
Gal Schlezinger
f83fc48251
Remove unwrap in fnm env, make error more readable ( #656 )
3 years ago
Gal Schlezinger
ad0ecd7fff
Use local cache directory instead of temp directory for symlinks ( #638 )
...
* Use local cache directory instead of temp directory for symlinks
still with no cleanup, probably need to have --cleanup-duration=... for fnm env
or another command for cleaning up old symlinks.
* Introduce directories, and support XDG_ directories for cache directories
* cargo clippy --fix
3 years ago
renovate[bot]
b6b0cfa0e6
fix(deps): update rust crate clap to v3 ( #617 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
3 years ago
Gal Schlezinger
b24ed660b0
Replace `snafu` with `thiserror` ( #630 )
3 years ago
Gal Schlezinger
9526057afa
Create the multishells directory if it is missing ( #626 )
3 years ago
Gal Schlezinger
207ef22f32
Allow recursive version lookups ( #607 )
3 years ago
Gal Schlezinger
fcc6cc0e6f
Migrate to Rust 2021 edition ( #606 )
3 years ago
Gal Schlezinger
3fc1184bcf
Revert the change to ureq ( #586 )
3 years ago
Gal Schlezinger
8d0d78ca24
Allow aliasing to the system version ( #556 )
3 years ago
Dominik Nakamura
74c9b37895
Fix clippy & use musl target on Rust compiler for static compilation ( #554 )
3 years ago
Dominik Nakamura
9c2e360520
Replace reqwest with ureq for less dependencies and smaller file size ( #547 )
3 years ago
Jonathan Fraimorice
fa72f0c44b
Replace error message with a more useful one ( #544 )
3 years ago
Alex Munoz
fd584746a6
Add unalias command ( #489 )
4 years ago
Alex Munoz
79ded8f6be
fix: --install-if-missing when using version alias ( #484 )
4 years ago
Patrick Kilgore
440c624263
feat: use arm for aarch64-darwin-node@16 platforms ( #436 )
4 years ago
Gal Schlezinger
5f2d3a269f
Create version symlinks in a nested directory ( #422 )
4 years ago
Gal Schlezinger
1327286abd
Adding FNM_ARCH as an exported env var from fnm env ( #421 )
...
Continuation of #417 so it will work with `--use-on-cd` as well
4 years ago
Patrick Kilgore
68ba8c6457
Support Apple M1 by installing Rosetta Node builds ( #417 )
4 years ago
Waldir Pimenta
6bd3ab9813
Improve "version not found" error message ( #413 )
4 years ago
Gal Schlezinger
2cfaa39b0b
More meaningful error message when a subprocess is killed ( #414 )
4 years ago
Gal Schlezinger
869fb12ada
Ignore LogLevel on `fnm ls` ( #404 )
...
There is no reason to call `fnm ls` if you want a quiet output.
So even on quiet output, `fnm ls` should print all the data. It's not
debugging information, but the actual output of the program.
4 years ago
Gal Schlezinger
dba2b9f8e0
Allow `fnm use` to use a file path ( #403 )
4 years ago
Gal Schlezinger
a2aeeb779d
Allow using filenames in --using= ( #401 )
4 years ago
Gal Schlezinger
ea42957a5f
`fnm exec`: Don't require double-dash ( #398 )
4 years ago
Leaf Rogers
eda3c0cdc5
Fix minor typos ( #397 )
4 years ago
Bjørn Arnholtz
05a15117c3
Bring back --using-file flag with a deprecation warning. ( #317 )
4 years ago
Gal Schlezinger
e65e767bd7
Better error handling in symlink replacement ( #310 )
...
* Better error handling in symlink replacement
* Wrong way
4 years ago
Gal Schlezinger
ed5a82fd84
Allow unsuccessful symlink deletion in `fnm use` ( #308 )
4 years ago
Gal Schlezinger
d93bb4219f
Throw an error instead of panicking when can't infer shell ( #306 )
4 years ago
Gal Schlezinger
538c907ad7
Make the first installed version the default one ( #304 )
4 years ago
Gal Schlezinger
51c1bb5695
Add a warning if MULTISHELL env var is not in PATH ( #295 )
...
Fixes #183
4 years ago
Gal Schlezinger
be3843710d
Add uninstall command ( #292 )
4 years ago
Gal Schlezinger
757a3c61b8
Add detailed error instead of panic regarding `fnm env` ( #293 )
4 years ago
Gal Schlezinger
9ba282a705
Rewrite fnm in Rust (merge fnm.rs into fnm) — adding Windows support! ( #246 )
4 years ago