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

101 Commits

Author SHA1 Message Date
Helber Belmiro
76d6b9870c
Fixed broken link (#803) 2024-05-30 08:50:34 +12:00
John Gee
a07ed85c6a Docs for switching node directory (#802) 2024-05-11 16:18:53 +12:00
John Gee
8bb34aaa44
Condense make instructions (#792) 2024-01-20 09:57:39 +13:00
John Gee
127506d021
Expand permissions issues coverage (#790) 2024-01-20 09:56:52 +13:00
John Gee
ea87a51027 Add --offline to README 2023-11-27 20:52:40 +13:00
Mark Dorison
5d0002e9cc
Update path to Homebrew formula. (#777) 2023-08-16 18:14:44 +12:00
John Gee
0bb17688f0
Rework bootstrap steps to avoid temporary file (#754) 2022-12-30 11:19:13 +13:00
John Gee
ab5f981460 Merge branch 'master' of github.com:tj/n 2022-07-16 16:14:51 +12:00
John Gee
e20a854ee8
Add N_PRESERVE_COREPACK (#736) 2022-07-16 15:00:35 +12:00
Sukka
c22ac94432
Chore: replace git.io in installation guide (#724)
d6f6db0b8e
2022-04-27 14:51:31 +12: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
华晨
392f9ab7d8
Update China Mirror URL to the New Version (#708)
npm.taobao.org is now redirect to npmmirror.com, use the new URL instead.
2022-01-15 09:44:20 +13:00
John Gee
7fa34d3f0c Rework install location description 2021-09-25 21:35:03 +12:00
Paul Verest
b37b10e4a1
README - clearer show what directories are created under N_PREFIX 2021-09-23 15:04:00 +08:00
John Gee
5b55dcca13 Improve README, and resolve #684 2021-09-05 17:03:29 +12:00
Luca Ban
73465b1ff0
fix: #679 (#680) 2021-07-25 09:32:12 +12:00
John Gee
7962b9d026
Add platforms section and include WSL (#676) 2021-06-06 19:49:50 +12:00
John Gee
ea02c5ad80 Replace ambiguous use of current in README 2021-06-05 15:36:49 +12:00
John Gee
ba8a03d362 Document new menu selection keys 2021-05-03 20:35:04 +12:00
John Gee
fdff491f88 Tighter and consistent wording 2021-04-25 11:26:46 +12:00
Björn Böing
8ae84d6634
Add url encoded N_NODE_MIRROR to the README (#666)
* Add url encoded N_NODE_MIRROR to the README

* Clearify example sentence
2021-04-25 10:09:17 +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
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