This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 680
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: drop node v14 and add node v20 (#4459)
- Loading branch information
1 parent
4df5260
commit 30de957
Showing
64 changed files
with
89,497 additions
and
18,931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v14.0.0 | ||
v16.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,14 @@ | |
|
||
## Getting set up | ||
|
||
- Use Node.js v14.0.0. | ||
- Why v14.0.0? Because this is the first LTS release of Node.js v14 and is the earliest version Ganache supports. | ||
- Use Node.js v16.0.0. | ||
- Why v16.0.0? Because this is the first LTS release of Node.js v16 and is the earliest version Ganache supports. | ||
- recommendation: use [nvm](https://github.com/nvm-sh/nvm) on Linux and macOS, and [nvm-windows](https://github.com/coreybutler/nvm-windows) on | ||
Windows, to configure your node version. | ||
- On Linux and macOS, if you have `nvm` installed, just run `nvm use` to switch to Node.js v14.0.0. | ||
- On Linux and macOS, if you have `nvm` installed, just run `nvm use` to switch to Node.js v16.0.0. | ||
- `git clone [email protected]:trufflesuite/ganache.git` | ||
- `cd ganache` | ||
- `npm install` (use npm v6) | ||
- `npm install` (use npm v7) | ||
|
||
## Solving node-gyp issues | ||
|
||
|
@@ -163,7 +163,7 @@ index 2a2aa9e..57cbf21 100644 | |
|
||
These are guidelines, not rules. :-) | ||
|
||
- Use Node.js v14.0.0 for most local development. | ||
- Use Node.js v16.0.0 for most local development. | ||
- Use `bigint` literals, e.g., `123n`; if the number is externally configurable and/or could exceed | ||
`Number.MAX_SAFE_INTEGER`. | ||
- Write tests. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.