thomsj
15b2fe154c
Add missing `exit 1`s to `partial_semver` tests ( #153 )
5 years ago
Gal Schlezinger
c5048fcf2e
Add a CI check for code formatting ( #151 )
...
This PR adds a GitHub action (🎉 ) that checks for the latest refmt syntax.
This is done thanks to @thomsj which brought up the problems with formatting in the repo! 👏 #105 (comment)
The current implementation is not ideal: it installs esy and then installs OCaml and @esy-ocaml/reason . A better way to do it is to distribute refmt as a standalone binary from the latest Reason release. This will be fast to install and therefore fast to integrate with CI.
An approach to do so is to add an artifact to the CircleCI runs, and then use something like circleci-artifacts.now.sh to fetch the artifact, extract it and profit 💰
In the meantime, it takes <4m to run it, which is much faster than the Azure Linux build, not to mention the Windows one.
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
74cb600888
Try to install new deps ( #143 )
...
* will it fail on ci?
* run on latest mac maybe
5 years ago
Gal Schlezinger
9eee11f7b8
Drop buildsInSource ( #142 )
...
This will help Reason Language Server work with fnm.
Thanks to @thomsj for letting me know about it!
5 years ago
Gal Schlezinger
0ec2da0d3d
v1.15.0
5 years ago
Gal Schlezinger
8fca9214d8
Do uninstallation in steps ( #138 )
...
Fixes #122 , and adds tests for it:
The problem, I believe, was that some files were deleted before their symlink was deleted. `Unix.stat` fails on symlinks that point to missing files. We don't really care about their stat, honestly, so we can just run `Unix.lstat` and remove them.
6 years ago
Trever Shick
a8156ebf77
Fix spelling of availability in install.sh ( #132 )
6 years ago
Gal Schlezinger
df89b77d95
v1.14.0
6 years ago
Gal Schlezinger
abb58328d0
Alias -v to --version, Fixes #126 ( #134 )
6 years ago
Gal Schlezinger
f5f0bcb3cd
Deprecates MacOS installation using the script in favor of Homeb… ( #131 )
...
* Deprecates MacOS installation using the script in favor of Homebrew
* Add the warning in the script
6 years ago
Gal Schlezinger
a41901a707
Fix Windows build once again! ( #133 )
6 years ago
Gal Schlezinger
237b2f1817
v1.13.0
6 years ago
Gal Schlezinger
afef9d6f15
esy pesy update
6 years ago
Gal Schlezinger
aa85cddc06
Fix issues related to help pages ( #130 )
...
Fixes #115 : List COMMON OPTIONS in all commands
Fixes #116 : List ENVIRONMENT in all commands
6 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
Gal Schlezinger
87430e1961
format versions in `uninstall` ( #125 )
...
Fixes #122
6 years ago
Paweł Kowalski
50dbd47323
Fix typo ( #123 )
6 years ago
Paweł Kowalski
751d903989
Update README.md: upgrading fnm ( #118 )
6 years ago
Paweł Kowalski
d03ede0176
Remove "Homebrew" from future plans as it is done ( #119 )
...
Remove homebrew future plan as it is done
6 years ago
Gal Schlezinger
671c833518
installation script: use $INSTALL_DIR instead of hard-coded $HOME/.fnm ( #114 )
6 years ago
Gal Schlezinger
3c2f908ffa
CHANGELOG.md errors
6 years ago
Gal Schlezinger
8f07d06958
v1.12.0
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
Ulrik Strid
c94ebc2bc4
Successfully build on Windows ( #88 )
6 years ago
Gal Schlezinger
0a922a2056
v1.11.0
6 years ago
Gal Schlezinger
ae336a7a3d
Fix aliases ( #103 )
6 years ago
Corentin Leruth
d15139839e
Add `uninstall` command ( #98 )
...
Adds an `uninstall` command to uninstall node versions 👏
6 years ago
Gal Schlezinger
e1d7cf78bc
esy fmt
6 years ago
Ulrik Strid
cc2f3bd915
Move from base to core ( #101 )
...
Vendored the Path library from reason-native for cross-platform realpath
6 years ago
Gal Schlezinger
c2f0d58b90
Implement `realpath` instead of binding to C library ( #102 )
...
drop Filename.realpath usage, for crossplatform support
6 years ago
Gal Schlezinger
50cc1e9bac
Add Semver to library, an simple non-spec implementation of semver ( #100 )
...
* Add Semver to library, an simple non-spec implementation of semver
* add a None test case
6 years ago
Corentin Leruth
67ef7b5201
fix Unix.EACCES error ( #99 )
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
Gal Schlezinger
61ec7f4cb2
Update README.md
6 years ago
Gal Schlezinger
4b2a6c914a
v1.10.0
6 years ago
Tomer Ohana
6b82b9ce23
Add support for log level ( closes #33 ) ( #93 )
6 years ago
Dario Vladović
0a0d2f3053
Shorten installation script url ( #95 )
6 years ago
Gal Schlezinger
2d892bd3c8
v1.9.1
6 years ago
Harald Wartig
4f7eeb12d6
Fix `fnm env` for fish shell. ( #91 )
...
I added `-gx` to the `set` commands for fish so that the variables can be picked up by later runs of fnm. There are cases where the setup current code already works however it doesn't when the `FNM_...` variables haven't been exported globally before.
6 years ago
Gal Schlezinger
5af496d019
Installation script doesn't use GitHub API, but a link to the latest directly ( #90 )
...
Fixes #89 .
[GitHub can redirect to the latest version itself](https://help.github.com/en/articles/linking-to-releases )
6 years ago
Gal Schlezinger
af3f31ab4c
v1.9.0
6 years ago
Gal Schlezinger
2ce8517b96
Add support for interactive installation for use ( #86 )
6 years ago
Gal Schlezinger
413b748eb6
Add "instant startup" and "native" to "README.md" ( #85 )
...
Add some slight changes suggested by @yawaramin , on "instant startup" and "native"
6 years ago
Gal Schlezinger
7bfa9b990f
v1.8.0
6 years ago
Gal Schlezinger
3717c9730f
Strip binaries to make them smaller ( #84 )
...
Thanks @ulrikstrid for the tip!
6 years ago
Thomas Alcala Schneider
8ed082ed11
Remove unmatched quote written in the fish config file ( #83 )
...
There's an unmatched double quote written in the fish config file by the installer that breaks sourcing that said config file.
6 years ago
Gal Schlezinger
45fdba00d7
Update README.md
6 years ago