Gal Schlezinger
7f9ed6668d
Fix Clippy errors ( #885 )
...
* cargo clippy --fix
* cargo fmt
2 years ago
Amit Dahan
1327bb8d6b
Replace semver with node-semver ( #816 )
...
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
2 years ago
nzhl
ca71291020
feat: support `fnm install --latest` ( #859 )
...
* feat: support to install the latest version
* chore: test & fmt & clippy
* docs: update command docs
* docs: update command docs
* Create warm-rice-appear.md
* Update change set to be a minor release
As this is a new feature
* chore: update workflow to install pnpm
* Remove `feat:` from changeset
Because GitHub actions approval button is missing
* run pnpm like other tasks
* Revert "run pnpm like other tasks"
This reverts commit f5f2ca29f1
.
we can revert the yarn changes and do it in a different PR
* revert the changes in .github/workflows
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
2 years ago
Ezekiel Warren
405b987f34
Added json option to env command ( #800 )
...
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
2 years ago
Gal Schlezinger
bedb9555fa
migrate e2e tests to nodejs ( #849 )
...
resolves #848
2 years ago
Gal Schlezinger
e75a92d868
Fix clippy ( #802 )
3 years ago
Alexey Zapparov
d62e17d667
fix: Use correct PATH for npm install test ( #768 )
...
* fix: Use correct PATH for npm install test
Resolves: https://github.com/Schniz/fnm/issues/755
* Create soft-laws-doubt.md
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
3 years ago
renovate[bot]
bf122f4e5e
fix(deps): update rust crate reqwest to 0.11.11 ( #753 )
...
* fix(deps): update rust crate reqwest to 0.11.11
* try to fix build
* fix clippy issues
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
3 years ago
citreae535
f71d0642a3
Make fnm create global scoped environment variables in PowerShell ( #667 )
...
* Fix #664
* Remove unused import
3 years ago
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
8456c9fdc5
Fix `fnm completions` ( #652 )
...
I think there's a bug in clap.
Related:
* Fixes #651
3 years ago
Gal Schlezinger
0fba201739
Revert from using sysinfo, but only on Unix machines ( #625 )
...
* Add the `ps` code back
* some quality improvements
* cargo clippy --fix
* fix
* correct path
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
92a75922d5
Ignore arch in help output ( #627 )
3 years ago
Gal Schlezinger
9526057afa
Create the multishells directory if it is missing ( #626 )
3 years ago
Gal Schlezinger
b206248085
Don't warn on `~/.fnm` yet ( #613 )
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
Sam A. Horvath-Hunt
f313e98db3
Respect $XDG_DATA_HOME ( #416 )
3 years ago
Gal Schlezinger
8d30f74a73
Add a user-agent header ( #605 )
3 years ago
Gal Schlezinger
af18f4e2d1
fix clippy
3 years ago
Gal Schlezinger
3fc1184bcf
Revert the change to ureq ( #586 )
3 years ago
Gal Schlezinger
6816ff292c
Add warning to symlink creation ( #584 )
3 years ago
Gal Schlezinger
8bd33dc1b9
First fix for slowess in fnm env ( #576 )
3 years ago
Gal Schlezinger
31d7b291af
Infer shell with `sysinfo` crate ( #573 )
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
Gal Schlezinger
500c9f5711
Fix Windows CMD `cd` failure on paths with spaces (`use-on-cd`) ( #553 )
3 years ago
Dominik Nakamura
9c2e360520
Replace reqwest with ureq for less dependencies and smaller file size ( #547 )
3 years ago
Sanchith Hegde
5eb5823656
docs(cli): Fix typo ( #545 )
3 years ago
Jonathan Fraimorice
fa72f0c44b
Replace error message with a more useful one ( #544 )
3 years ago
Lucas Weng
f4e4d552d1
Show log level options in help and error message ( #537 )
3 years ago
David Aurelio
4a39428c10
Windows: Use junctions rather than symlinks ( #519 )
4 years ago
Waldir Pimenta
ed2be2c979
More informative log level error message ( #516 )
4 years ago
naoey
bd037bdca4
Invoke fnm use on startup for PowerShell ( #514 )
4 years ago
Alex Munoz
fd584746a6
Add unalias command ( #489 )
4 years ago
renovate[bot]
35d8295e33
fix(deps): update rust crate semver to v1 ( #457 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
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
f9ee0ecd50
Auto-generate command documentation markdown ( #432 )
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
753e899ae6
Call the fnm use-on-cd hook on fish initialization ( #411 )
4 years ago