Gal Schlezinger
3e40ca4bc1
Support spaces in directory name in Bash ( #169 )
...
Bash script was using `cd $@` so "__fnm_cd hello\ world" was actually calling "cd hello world" instead of "cd 'hello world'"
5 years ago
Gal Schlezinger
0068eb2a98
Run all feature tests ( #154 )
5 years ago
thomsj
15b2fe154c
Add missing `exit 1`s to `partial_semver` tests ( #153 )
5 years ago
Gal Schlezinger
65c6d569af
Add support for `lts/*` ( #146 )
...
* support lts/*
* Remove redundant line
* Add test
* Slight refactor
5 years ago
thomsj
ada519bfb4
Update to v6.17.1 in `partial_semver` feature test ( #149 )
...
Update node 6 version to final/end-of-life version.
5 years ago
Gal Schlezinger
e85f488026
Alias latest versions on installation ( #129 )
...
* Fix build with fixed versions
* Use carets
* support `lts/dubnium` format
* trim string in test
* fix typo
* Add resolution to windows.json too
* Use specific opam file
6 years ago
Dennis Dang
430541a16a
Add `default`, as a shortcut for `alias default` ( #106 )
...
A higher-level way to set the default Node version, instead of managing that using pure aliases.
6 years ago
Gal Schlezinger
cd0cb1aaa2
Add a 'debug' log level ( #104 )
...
* Add a 'debug' log level
* update snapshot
* Fix tests
6 years ago
Gal Schlezinger
fa65276474
Add the ability to use system version of Node ( #97 )
...
* added @deriving package
* Add `system` node
* show system is active on fnm ls
6 years ago
Tomer Ohana
6b82b9ce23
Add support for log level ( closes #33 ) ( #93 )
6 years ago
Gal Schlezinger
3ccca1596c
Add a test to `use-on-cd` when `.node-version` is found ( #78 )
...
Add test that verifies #77
6 years ago
Gal Schlezinger
dc9c9ea761
Infer shells automatically, and `use` versions based on the current working directory (optional) ( #68 )
...
* `use` on every `cd`, infer shell type
* Add the ability to `use` on every pwd change (bash, zsh)
* infers shell type automatically. Fixes #20
6 years ago
Gal Schlezinger
5dc9358765
Fix alias paths ( #72 )
6 years ago
Gal Schlezinger
041971d0dc
Fix version inference by throwing on http 404 again ( #69 )
...
Also, make all tests fail on errors
6 years ago
Gal Schlezinger
c5b5b3187e
Infer complete semver out of partial input. ( #54 )
6 years ago
Gal Schlezinger
bd89cc4a3c
Make tests faster by using cnpmjs as Node.js mirror in tests ( #55 )
6 years ago
Dean Merchant
fd86d8ca6a
Add support for .node-version files ( #42 )
...
adding support for `.node-version` files, along with `.nvmrc` files
Resolves #8
6 years ago
Gal Schlezinger
ab1dd7b7ad
Support Node.js mirrors ( #36 )
...
Fixes #32
6 years ago
Gal Schlezinger
05e27c6ea3
Aliases and multishell support ( #30 )
...
* Use variants instead of a boolean
* Add infrastructure for multishell and aliases: Aliases are required because I want to have a default node version on startup
* create alias command
* fmt
* Added aliases (Fixes #29 ) and opt-in multishell support (Fixes #19 )
* Better docs
* update snapshot
* Some/Fail => Some/None
* add lint-staged
* use refmt and all of prettier are grouped
* System.readdir => Fs.readdir (now uses Lwt)
* use lstat for file_exists: check if symlink exists instead of actual linked file. also, initialize the Random seed on Env
* Remove fish set options that were added in trial and error
* Bootstrap script
* add bootstrap documentation
6 years ago
Gal Schlezinger
45a24051a7
Add test and don't throw errors ( #37 )
6 years ago
Gal Schlezinger
1beef6a720
Add feature test for Fish shell ( #21 )
6 years ago
Gal Schlezinger
8cc0e36b37
Fixes #11 : Don't throw in nonexistent directory on `fnm ls` + run `esy fmt` on codebase ( #15 )
6 years ago
Gal Schlezinger
159282532e
Rename to fnm ( #2 )
6 years ago
Gal Schlezinger
f9de4c152e
Nsw
6 years ago