0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 11:37:26 +01:00
Commit Graph

363 Commits

Author SHA1 Message Date
John Gee
9e87f62c7e Post release 2020-04-11 17:49:23 +12:00
John Gee
e1e9f706cd Change filename. Prepare for release. 2020-04-11 17:46:36 +12:00
John Gee
2bde133649 Post release 2020-04-11 14:19:39 +12:00
John Gee
59adcab8b4
Add auto label to read version from .node-version (#616)
* Add support for auto, reading version from .node-version

* Make version unique in tests

* Add support for auto doing a lookup for unresolved version

* Make auto description more consistent in style with other labels.
2020-04-11 14:10:29 +12:00
John Gee
3a1e96a4c0 Post release 2020-03-10 21:03:46 +13:00
John Gee
aa288f87e5 Set execute permission 2020-03-10 20:54:30 +13:00
John Gee
1ed870c3b0 Prepare for release 2020-03-10 20:53:58 +13:00
John Gee
9de2ee159c Add release script 2020-03-10 20:52:51 +13:00
_lchemist
a67fbc9c9b
fix arch match rule for armv8l (#614) 2020-03-10 20:22:14 +13:00
John Gee
4b87f8b760 Post-release 2020-02-25 21:31:03 +13:00
John Gee
a0cfc80791 Prepare for release 2020-02-25 21:18:38 +13:00
John Gee
67cd962c10 Remove old node before copy 2020-02-25 21:00:33 +13:00
John Gee
1dfbe3d869 Post-release 2020-02-24 21:54:38 +13:00
John Gee
8c30f120d1
Preserve npm (#611)
* First cut at --preserve (npm)

* Add documentation for --preserve

* Add --preserve test

* Extend help section to include --no-preserve

* Bump version

* Prepare CHANGELOG for release
2020-02-24 21:50:23 +13:00
John Gee
494f8ba307 Post release 2020-01-29 22:13:49 +13:00
John Gee
89f55fd2f6 Bump version 2020-01-29 22:07:50 +13:00
John Gee
39700eb84f Preparing for release 2020-01-29 22:06:19 +13:00
John Gee
aef717d3ab Fix typo and improve comment
Co-authored-by:  DeeDeeG <DeeDeeG@users.noreply.github.com>
2020-01-29 21:47:54 +13:00
DeeDeeG
6d642bc6e8
Auto xz (#607)
* bin/n: Port auto-xz feature from nvh

Includes platform/feature detection to guess if the user has
the ability to decompress xz tarballs using `tar`.

Doesn't attempt to fetch/decompress xz tarballs
for Node versions less than 4. (KISS).

The feature is set up to use xz instead of gz by default,
but the default behavior is easily configurable.

Co-authored-by: John Gee <john@ruru.gen.nz>

* documentation: Add documentation for auto-xz

* CHANGELOG.md: Copy xz entry from the nvh changelog

  Copied and pasted from here:
  https://github.com/shadowspawn/nvh/blob/master/CHANGELOG.md

* README.md: Copy xz info from docs at nvh repo

  Copied and pasted from here:
  https://github.com/shadowspawn/nvh/blob/master/docs/environment-variables.md

  ("NVH" changed to "N" as appropriate.)

Co-authored-by: John Gee <john@ruru.gen.nz>

Co-authored-by: John Gee <john@ruru.gen.nz>
2020-01-29 21:42:31 +13:00
John Gee
98005fb691 Post-release 2019-11-23 18:00:50 +13:00
John Gee
cc524e98a3 Add How It Works ro README and prepare for release 2019-11-23 17:54:41 +13:00
John Gee
d84a584403 Simplify doctor output, no markdown 2019-11-16 17:27:53 +13:00
John Gee
a564e2662e Post-release, and suppress lint warning 2019-11-16 16:42:56 +13:00
John Gee
0a3316a43b Prepare for release 2019-11-16 16:26:10 +13:00
John Gee
3104e958f1 List the old and new locations when change location, one-off situation, give lots of detail 2019-11-16 16:24:44 +13:00
John Gee
4c76c422c3 Add advice to reset command hash when appropriate 2019-11-16 14:26:47 +13:00
John Gee
f6aa66a367 Post-release 2019-11-10 11:37:52 +13:00
John Gee
23788b640a Prepare for 6.1.1 release 2019-11-10 11:34:13 +13:00
scottkof
a5b5ae5a97 Update tar command to use --no-same-owner (#593) 2019-11-10 11:26:25 +13:00
John Gee
b301bceb15 Post release 2019-10-25 20:49:58 +13:00
John Gee
c984499482 Update README and CHANGELOG with deletion, and bump version 2019-10-23 23:11:56 +13:00
John Gee
455079eca2 Refactor deletion code
- remove legacy side-effect modifying `selected`
- inline deletion logic
- do nothing if no selection
2019-10-23 23:11:42 +13:00
Thomas Ruiz
4e6ee60a74 Press "d" to remove version in menu (#590)
* Press "d" to remove version in menu

* changed "remove" to "delete"

* allow to delete active version and improved UX

* fixed menu message

* added comment to function
2019-10-23 20:29:08 +13:00
John Gee
0cbbefc645 Post-release 2019-08-20 20:54:11 +12:00
John Gee
9476384600 Allow options to come after commands 2019-08-20 20:50:16 +12:00
John Gee
488354dc9c Post-release 2019-08-16 21:19:11 +12:00
John Gee
db6ef10901 Prerelease 2019-08-16 21:02:36 +12:00
John Gee
f96e609314 Call exit to avoid processing extra parameters 2019-08-12 21:32:51 +12:00
John Gee
f8ab857aa8 Bump version post-release 2019-08-04 17:03:27 +12:00
John Gee
18908a8de0 Add back support for old stable (now alias for lts) 2019-08-04 12:49:24 +12:00
John Gee
57da8ce4d8 Candidate of major revision, many changes 2019-08-03 19:54:26 +12:00
John Gee
491ee93a5a Added lsr, much broken 2019-08-03 15:00:56 +12:00
John Gee
7643fb5855 Post-release 2019-08-02 21:38:07 +12:00
John Gee
b73a6ab83d Add prompt to menu selection 2019-08-02 21:28:20 +12:00
John Gee
d89a969f25 Post-release 2019-07-20 13:47:13 +12:00
John Gee
e71823de10 Remove reference to now released prerelease 2019-07-20 13:44:14 +12:00
John Gee
61cfe1b005 Post release 2019-07-20 13:25:24 +12:00
John Gee
52a2bc3c56 Preparing for release 2019-07-20 13:17:16 +12:00
John Gee
fe5f808185
Merge pull request #571 from DeeDeeG/xz-compression-option
Feature: xz compression option
2019-07-20 12:42:39 +12:00
DeeDeeG
6dc516ebe7 bugfix: Improve install logic (regex fixes) (#572)
* bin/n: Fix "dots" regex

Copy-pasted from @shadowspawn's comment:
https://github.com/tj/n/issues/570#issuecomment-503970238

* bin/n: Add trailing dot to version in "install()"

Prevents expanding single-digit numbers to multi-digit ones.
2019-07-20 12:21:35 +12:00