0
0
mirror of https://github.com/tj/n.git synced 2024-11-25 07:39:21 +01:00
Commit Graph

435 Commits

Author SHA1 Message Date
John Gee
35f0f922b7 Add log before copying during install 2022-04-18 15:12:02 +12:00
John Gee
da51287cc4 Post-release 2022-03-18 18:19:38 +13:00
John Gee
6188fd7245 Prepeare for release 2022-03-18 18:16:25 +13:00
Gordon Bleux
e1b57955d6
Make cache directory configurable (#717)
Read the cache directory from the environment, falling back to a location under `N_PREFIX`
2022-03-18 17:59:09 +13:00
John Gee
0be24a8be2 Post-release 2022-01-09 10:07:58 +13:00
John Gee
c63f4e9056 Add quoting (per ShellCheck) 2022-01-09 09:59:29 +13:00
John Gee
f5fd0033cf Prepare for release 2022-01-09 09:45:34 +13:00
Alfonso Gómez-Arzola
eff4dd42c1
GH-706 Update location change message (#707)
* GH-706 Update location change message

* Remove (seemingly) unnecessary shellcheck exception

* Add missing trailing newline
2022-01-09 09:23:21 +13:00
John Gee
a19c6c2c82 Post-release 2021-12-04 13:50:54 +13:00
John Gee
8b18b33926 Prepeare for release 2021-12-04 13:39:25 +13:00
John Gee
a60b0121fe
Add check for tar error (e.g. decompression problem) (#701) 2021-12-04 13:33:46 +13:00
John Gee
40e2557a2d
Explicitly tell tar to read from stdin (#697) 2021-12-04 13:30:09 +13:00
Kerollos Magdy
414322206e
Fix a typo in a comment (#695) 2021-11-13 08:11:39 +13:00
John Gee
0dfa1c17fc Post-release 2021-10-23 10:20:45 +13:00
John Gee
2aea06a9d7 Prepare for release 2021-10-23 10:09:45 +13:00
John Gee
d272114e94
Fail for blank target from auto (or engine) version file (#693)
* Fail unspecified auto rather than fall back to current

* Simplify wording
2021-10-16 15:13:48 +13:00
John Gee
cc4d331ea7 Post release 2021-09-26 16:11:49 +13:00
John Gee
d681eab40c Prepare for release 2021-09-26 16:07:32 +13:00
John Gee
d41ef23a16
Add support for corepack (#686)
* Add support for corepack

* Use -R with cp to get symlinks copied correctly

* Test for same directory as copying

* Add comments
2021-09-26 16:03:00 +13:00
John Gee
99e5ffa1be Post release 2021-09-11 09:54:08 +12:00
John Gee
2cdb657420 run commands from correct directory after --download causes a download 2021-09-11 09:45:36 +12:00
John Gee
af415b7dd2 Post-release 2021-09-10 21:50:21 +12:00
John Gee
c9107cc037 Prepare 7.4.0 2021-09-10 21:39:26 +12:00
John Gee
c32652f4a6
Add support for opt-in download to exec and run (#685)
* Rework argument parsing to allow options after exec and run

* Add option for run and exec to download missing version

* Reword download to cover wider functionality

* Be consistent with inner spacing of arrays

* Add download test for run and exec
2021-09-10 21:19:07 +12:00
즈눅
2dd900275e
Remove duplicated explanation of n run (#682) 2021-08-10 22:26:18 +12:00
John Gee
06414f82a6 Post-release 2021-07-25 09:57:14 +12:00
John Gee
9d13202b0c Prepare for release 2021-07-25 09:54:21 +12:00
John Gee
183eea4855 Post release 2021-06-06 20:00:05 +12:00
John Gee
bb930ea7b4 Prepare for release 2021-06-06 19:56:41 +12:00
John Gee
b9d924d898
engine and auto improvements (#675)
* engine and auto improvements

- move resolution code so ls-remote works
- write progress to stderr
- rework tests, as made up full semver no longer resolve

* Make engine and auto logging suppressable

* Extend --quiet help

* Improve --quiet help
2021-06-06 11:39:26 +12:00
John Gee
022b3b8320 Rename CTRL variables 2021-05-03 20:34:34 +12:00
Aidin Gharibnavaz
09f7482414
Add Emacs up and down keys (ctrl-p & ctrl-n) (#669) 2021-05-03 20:24:28 +12:00
John Gee
49347fcb96 Post-release 2021-04-25 13:14:46 +12:00
John Gee
cacab9636e Prepare for release 2021-04-25 11:47:17 +12:00
John Gee
a58da13c66
Add support for arrows keys when term in application mode (#668) 2021-04-25 10:02:14 +12:00
John Gee
2123176c88 Post-release 2021-04-19 20:30:51 +12:00
John Gee
ff57944eb0 Bump version correctly prior to release 2021-04-19 20:27:18 +12:00
John Gee
edc9d040ac
Add support for new Node.js builds for Apple silicon (#664)
* On Darwin, default to x64 for node versions below 16

* Prepare for release

* Add caveat about hole opened by searching for two architectures at once.

* Add Apple silicon details to README
2021-04-19 20:21:53 +12:00
John Gee
acc10cda7b Fix spelling 2021-04-15 19:54:20 +12:00
John Gee
f95aa129c9 Post-release 2021-03-12 20:13:16 +13:00
John Gee
7c353eec32 Set release version 2021-03-12 20:09:45 +13:00
John Gee
eb92841e79 Prepare for release 2021-03-12 20:05:12 +13:00
John Gee
f1d0dd5a22
Rework activate to support more configurations (#657)
* Rework activate to be (much) more explicit. Add archlinux image. Remove need for rsync.

* Reword use case without npm
2021-03-12 19:41:44 +13:00
John Gee
e7920e7872
Refer to product as Node.js, executable as node (#658)
* Refer to product as Node.js, binary as node

* Update references in command-line help

* Typo
2021-03-12 19:13:26 +13:00
John Gee
8572bd4245
Add install to command-line help. Sort aliases. (#659) 2021-03-12 19:04:38 +13:00
John Gee
c5e439ebac Post release 2021-02-27 12:44:38 +13:00
John Gee
8843b26fdc Prepare for release 2021-02-27 12:39:51 +13:00
John Gee
c7aaa3d1cf
Use STDOUT for logs from engine and auto searches (#654)
* Refactor routines that log (like auto and engine) to return global rather than use STDOUT

* Reduce output from N_TEST_DISPLAY_LATEST_RESOLVED_VERSION and reduce churn in tests, revert changes

* Tweek comment
2021-02-27 11:48:50 +13:00
John Gee
6777a34af0 Post-release 2021-01-30 16:56:03 +13:00
John Gee
0ac569ed07 Prerelease 2021-01-30 16:53:44 +13:00