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

401 Commits

Author SHA1 Message Date
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
John Gee
6b82f30793
Detect download failure (#635)
* Detect download failure

* Add rsync to containers for --preserve tests
2020-11-25 21:12:07 +13:00
John Gee
8b0951d649 Post release 2020-07-25 22:06:13 +12:00
John Gee
25cf9f9672
Extend auto support to include .node-version, .nvmrc, and engines field of package.json (#628)
* Extend auto to include .node-version, .nvmrc, and engines

* Prepare for release
2020-07-25 21:59:32 +12:00
Daniel Ruf
d550a9f60e
Use https instead of http (#627) 2020-07-15 20:39:09 +12:00
John Gee
c27d85148a Post-release 2020-07-04 15:30:44 +12:00
John Gee
2678bda60c Prepare for release 2020-07-04 15:24:14 +12:00
John Gee
449948926e
Add node support aliases (#619)
* Basic implementation of node support aliases

* Add documentation for node support aliases, drop all from first implementation

* Make wording more accurate

* Rename testing hook

* Modify markdown for keys

* Add node support alias for supported, add tests
2020-06-24 21:01:53 +12:00
John Gee
4358e91442 Lint: quote echoed variables 2020-06-24 20:46:35 +12:00
DeeDeeG
c9475fd328
bin/n: Update can_use_xz() for macOS 11 (#624)
macOS 11 has been announced, and is expected to continue to support xz
2020-06-24 20:44:29 +12:00
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