0
0
mirror of https://github.com/tj/n.git synced 2024-11-29 13:52:34 +01:00
Commit Graph

271 Commits

Author SHA1 Message Date
John Gee
1e9842175b Fix menu selection when installed version not present, and so can allow rm of active 2018-12-04 21:19:31 +13:00
Troy Connor
3366d06226
Merge pull request #467 from JohnRGee/issue/335-stable
Effectively make stable an alias for lts. (Solves issue #335)
2018-11-05 15:40:05 -05:00
Troy Connor
501e01bead
Merge pull request #531 from JohnRGee/issue/529-shift
Remove bogus shift from prune function (issue #529)
2018-11-05 15:37:43 -05:00
John Gee
956899a38a Change which to command -v 2018-10-16 21:17:48 +13:00
John Gee
6077768c88 Remove bogus shift from prune function (issue #529) 2018-10-16 20:40:37 +13:00
John Gee
4491931be6 Effectively make stable an alias for lts. (Solves issue #335) 2018-09-05 21:30:23 +12:00
Troy Connor
8ad6cd3bc7
[package]Update package.json to 2.1.12 2018-06-11 14:07:43 -04:00
Troy Connor
36f6238c85
Merge pull request #470 from JohnRGee/feature/clean
Remove existing npm folder before copying activated version
2018-06-11 14:05:26 -04:00
Troy Connor
f5c8d642b9
[version]Changed to version 2.1.11 2018-05-18 11:38:27 -04:00
John Gee
a551a9a065 Go back to plain numeric sorting for older versions of sort 2018-05-13 21:05:24 +12:00
Troy Connor
c1fff02fcb
[package]Updated package.json 2018-05-07 20:12:07 -04:00
Troy Connor
15a6bb7531
[hotfix]Added 2V to sort for versions 2018-05-07 20:11:29 -04:00
Troy Connor
3b3acb3a99
[version]Bumped version to 2.1.9 2018-05-07 15:51:56 -04:00
Cedric Nicoloso
678dadba02 Fix order with node/10.0.0 tj/n#497 2018-05-01 16:41:07 +10:00
John Gee
fbd966b9d8 Remove existing npm folder before copying activated version 2017-11-03 17:12:34 +13:00
Maxim Pogozhiy
22a3ff69e1 Forward signals to child in Bash 2017-08-21 12:31:29 +03:00
Troy Connor
4d67e79fc0
[version]Version bump to 2.1.8 2017-07-12 13:43:41 -04:00
zachfedor
f84263b7a4 Adds vim-like keybindings to version selection
- modifies switch statement to differentiate escape sequences from
  single key presses
- watches `j` and up arrow to move selection up
- watches `k` and down arrow to move selection down
- watches `q` to quit selection
- watches for enter to make selection
- disregards other keys
2017-06-29 14:24:07 -04:00
Matt Walther
ccc1d6ffb3 Updates n version to 2.1.7 2017-03-30 16:59:54 -07:00
Matt Walther
f6bbeb50df Kills the process group, rather than simply exiting withthe parent status 2017-03-30 16:45:33 -07:00
Troy Connor
661e5ef77e
[package]Changed version to 2.1.6 2017-03-25 21:05:41 -04:00
ponyspy
5415bb2661 prune and bin fix 2017-03-20 22:28:11 +03:00
Troy Connor
cf8b323b48
[version]Version bump to 2.1.5 2017-03-08 12:36:20 -05:00
Anton Kindblad
ad2c3eb874 using DIM instead of Dark gray when listing and logging, improves readability on dark color-themes 2017-02-09 18:26:25 +01:00
Daniel Bayerlein
85c72c548f Bump version to 2.1.4 2016-12-17 09:58:20 +01:00
Travis Webb
55a021b661 Merge pull request #349 from not-an-aardvark/sort-semver
Sort double-digit semver numbers correctly
2016-10-06 15:18:39 -04:00
Kristjan Broder Lund
2fda71a121 Resolve versions with no dots 2016-09-08 15:10:32 +00:00
Angelo Paolo Obispo
3e31edd580 updated versions in bash script and package.json to 2.1.3 2016-07-12 23:15:36 +08:00
Nimit Kalra
399d9134f2 Revert "Handling SIGINT correctly." 2016-07-06 09:18:25 -05:00
Nimit Kalra
cdd5ae03f4 Merge pull request #348 from JeffDownie/master
Handling SIGINT correctly.
2016-07-06 09:16:05 -05:00
Nimit Kalra
85ee3d6899 Merge pull request #318 from AntSworD/for-PR
Allow more options for custom source mirrors.
2016-06-15 17:42:57 -05:00
not-an-aardvark
12fbebef7e Sort double-digit semver numbers correctly 2016-04-05 03:37:03 -04:00
Jeff Downie
8f73a018ab Handling SIGINT correctly. 2016-03-23 11:57:37 +00:00
Nimit Kalra
7f790c4cdd Allow using stable in n use. 2015-12-20 16:11:47 -06:00
Nimit Kalra
20258b2169 Allow using latest in n use. 2015-12-20 16:11:43 -06:00
JunJian Zheng
781e78774f Add is_oss_ok
add is_oss_ok, keep is_ok not changed
2015-12-07 15:34:59 +08:00
Stefan Maric
0f590a4ef2 Add support for "lts" alias, closes #313
--lts will display latest LTS version
lts will install latest LTS version

Node LTS releases use "a naming convention based on the Periodic
Table of Elements [...] in alphabetical order", as announced here:
https://nodejs.org/en/blog/release/v4.2.0/

LTS versions have their own folder in nodejs' dist folder, e.g.:
https://nodejs.org/dist/latest-argon/

To retrieve latest LTS' latest version, we search for and fetch
that folder. We get the semver number from the first file that
holds it. Then we can fetch the trallbar.
2015-11-04 22:20:36 -04:30
JunJian Zheng
61cd568f81 3xx and 2xx 2015-10-19 09:29:43 +08:00
JunJian Zheng
8582e0e7e2 Update n 2015-10-16 21:30:55 +08:00
Ilya Mochalov
cefebb20aa Added the disabling PaX's mprotect() during an activation 2015-09-17 01:02:54 +05:00
Ilya Mochalov
2704e872b3 fixed a changing position of select version menu after pressing up/down arrows 2015-08-30 16:42:04 +05:00
Ilya Mochalov
0ffaaa5894 fix the PT_PAX_FLAGS of the node binary, for systems with grsecurity and PaX 2015-08-30 12:04:09 +05:00
Max Rittmüller
456fe65eef Merge branch 'fix-cp-target-is-link' of git://github.com/chrootsu/n into chrootsu-fix-cp-target-is-link 2015-08-29 17:51:18 +02:00
Max Rittmüller
505fd9413b Merge branch 'display_help_on_no_installed_versions' of git://github.com/jbnicolai/n into jbnicolai-display_help_on_no_installed_versions 2015-08-29 17:31:15 +02:00
Max Rittmüller
07b2c90c4b Updated to fit into current version of n 2015-08-29 17:20:26 +02:00
wblankenship
c7fdd994f6 Allow for 3rd party projects 2015-08-28 17:18:25 -04:00
Max Rittmüller
08652c8cc8 Show additional feedback for removal problem 2015-07-22 21:45:34 +02:00
Max Rittmüller
484be00f41 Fixed support for using version numbers with 'v' in front 2015-07-22 18:10:28 +02:00
Max Rittmüller
79760f3b7d Fixed support for deletion of several versions 2015-07-22 11:28:19 +02:00
Max Rittmüller
53d157c89d Prevent removing the currently active version of Node.js/io.js 2015-07-21 14:23:08 +02:00