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

80 Commits

Author SHA1 Message Date
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
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
Aaron Madlon-Kay
a8f6cb26e2
Mention MacPorts in readme (#650)
* Mention MacPorts in readme

* Link the MacPorts n port
2021-01-27 22:19:52 +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
81ffd9ea7a "directly" caused confusion in past, reword 2020-09-08 19:39:06 +12:00
John Gee
a065181454 Remove chakra from README, no longer being updated 2020-09-08 19:37:07 +12:00
John Gee
6ee8fd95e3 Fix repeated word typo 2020-08-05 20:44:50 +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
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
e1e9f706cd Change filename. Prepare for release. 2020-04-11 17:46:36 +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
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
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
cc524e98a3 Add How It Works ro README and prepare for release 2019-11-23 17:54:41 +13:00
John Gee
e5b7cd3267 Add raw download instructions as another way of getting started 2019-11-16 10:09:01 +13:00
John Gee
c984499482 Update README and CHANGELOG with deletion, and bump version 2019-10-23 23:11:56 +13:00
John Gee
bff1bb01ce Fix some references to nvh 2019-08-12 08:23:28 +12:00
John Gee
eb3521d9a8 Remove extra --arch example for old Macs 2019-08-04 12:33:31 +12:00
John Gee
57da8ce4d8 Candidate of major revision, many changes 2019-08-03 19:54:26 +12:00
John Gee
e71823de10 Remove reference to now released prerelease 2019-07-20 13:44:14 +12:00
John Gee
52a2bc3c56 Preparing for release 2019-07-20 13:17:16 +12:00
John Gee
f9e51815d1 Merge branch 'master' into develop 2019-06-09 20:24:47 +12:00
John Gee
641d6d0bbe Add prerelease clues 2019-06-09 20:24:04 +12:00
John Gee
13562eeca9 Add a debugging tip for shells which do not update 2019-06-03 21:27:18 +12:00
John Gee
08e871fc79 Add environment variables section 2019-06-02 20:15:50 +12:00
John Gee
6481e6eb8f Tweak to README
- change from Usage to Help so clearer in ToC
- remove more uses of installed when referring to cached downloaded version
2019-05-21 21:14:03 +12:00
John Gee
fda99f5da2 Add another reason for running uninstall. Lint. 2019-05-10 20:20:34 +12:00
John Gee
6957c2d65f Merge branch 'kant-patch-1' into develop 2019-05-10 20:12:58 +12:00
Darío Hereñú
6ca0a686ae
Minor proposal on string #67 2019-05-09 21:52:48 -03:00
John Gee
18de5eead8 Add uninstall 2019-05-09 22:22:17 +12:00
John Gee
63d5ebd64b Lint 2019-05-09 21:30:28 +12:00
John Gee
c7cfc64bf1 Document the preferred env for custom source 2019-05-09 21:29:32 +12:00
John Gee
5370e2432e Replace stable with LTS 2019-05-05 10:17:11 +12:00
John Gee
7e55db4e3e Update terminology to be more careful with current/latest 2019-05-04 21:11:53 +12:00
John Gee
0664bc5b6f Remove license from README as in separate file and a badge 2019-04-21 12:49:39 +12:00
John Gee
78ec22478a Remove reference to stale branch 2019-04-21 12:48:02 +12:00
John Gee
66e714c68a Simplify link 2019-04-21 12:43:51 +12:00
John Gee
c0a8c0b0a1 Add editor configuration files and README lint and tweaks 2019-04-07 17:23:31 +12:00
John Gee
c858506a5e Add instructions for changing ownership to avoid need for sudo 2019-04-07 16:54:02 +12:00
John Gee
382113c1ab Remove another WIndows comment 2019-04-05 20:46:37 +13:00
John Gee
756dc20ed9 Add ToC to CHANGELOG, and reformat ToC 2019-03-31 22:31:00 +13:00
John Gee
7eaf2bb193 Merge branch 'PeterDaveHello-README.md-Table-of-Contents' into develop 2019-03-31 22:21:52 +13:00
John Gee
84413f3bbc Merge branch 'README.md-Table-of-Contents' of git://github.com/PeterDaveHello/n into PeterDaveHello-README.md-Table-of-Contents 2019-03-31 22:21:30 +13:00
John Gee
6efc962265 Add homebrew to CHANGELOG, add third part header in README, fix header levels 2019-03-31 22:00:09 +13:00
John Gee
c2256a194a Merge branch 'joelpurra-mention-brew-install-n' into develop 2019-03-31 21:38:04 +13:00
John Gee
ef0832a068 Merge branch 'mention-brew-install-n' of git://github.com/joelpurra/n into joelpurra-mention-brew-install-n 2019-03-31 21:37:10 +13:00
John Gee
c17dcd32ec Remove WIndows support joke, not funny anymore! 2019-03-29 21:25:17 +13:00