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

422 Commits

Author SHA1 Message Date
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
John Gee
5b8d920723
Fix failure to display error under some circumstances (#651) 2021-01-27 22:20:46 +13:00
John Gee
09d05f4228 Post-release 2020-12-20 17:23:06 +13:00
John Gee
f4712eaa05 Prepare for release 2020-12-20 16:56:24 +13:00
John Gee
228dc1c4d7
WIP: Scan package.json last (#644)
* Scan for package.json after other files (as engine)

* Add engine to help, remove chakra from code.

* Rework auto tests with best practice BATS patterm. Simpler and ignores trace logging.

* Same-line local masking possible command  error

* Oops, remove denugging
2020-12-20 16:17:18 +13:00
John Gee
61a11c2394 Protect tests fron GREP_OPTIONS too 2020-12-20 10:17:31 +13:00
John Gee
56f92d3963 Merge branch 'develop' of github.com:tj/n into develop 2020-12-20 10:11:04 +13:00
al3x-huang
c864482c26
Fix wrong version string match for colorized grep (#643)
* Add a wrapper function for grep to ensure consistency across different
  aliases and options by forcing it to use builtin grep without GREP_OPTIONS
2020-12-20 10:10:16 +13:00
John Gee
62a00c750f Post release 2020-12-12 19:36:49 +13:00
John Gee
851fd12f61 Use x64 for Apple M1 architecture for now 2020-12-12 19:33:49 +13:00
John Gee
41d22aa905 Fix lint warnings 2020-11-29 09:49:27 +13:00
John Gee
03d1d8b2b9 Suppress warning when downloading semvr with npx using npm 7 2020-11-29 09:47:11 +13:00
John Gee
db28c7f098 Post release 2020-11-25 22:13:08 +13:00
John Gee
db087af8b8 Prepare for release, better 2020-11-25 22:09:38 +13:00