Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit faaed9e

Browse files
committed
chore: remove support for Node.js v12
1 parent 274d552 commit faaed9e

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node: [12.0.0, 12.x, 14.x, 16.x, 18.x]
13+
node: [14.0.0, 14.x, 16.x, 18.x]
1414
os: [windows-2019, ubuntu-18.04, ubuntu-20.04, macos-11]
1515
exclude:
1616
# Node v18 does not run on ubuntu-18.04: https://github.com/nodejs/node/issues/42351#issuecomment-1068424442

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node: [12.0.0, 12.x, 14.x, 16.x, 18.x]
13+
node: [14.0.0, 14.x, 16.x, 18.x]
1414
os: [ubuntu-20.04]
1515

1616
runs-on: ${{ matrix.os }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.0.0
1+
v14.0.0

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Getting set up
44

5-
- Use Node.js v12.0.0.
6-
- Why v12.0.0? Because this is the first LTS release of Node.js v12 and is the earliest version Ganache supports.
5+
- Use Node.js v14.0.0.
6+
- Why v14.0.0? Because this is the first LTS release of Node.js v14 and is the earliest version Ganache supports.
77
- recommendation: use [nvm](https://github.com/nvm-sh/nvm) on Linux and macOS, and [nvm-windows](https://github.com/coreybutler/nvm-windows) on
88
Windows, to configure your node version.
9-
- On Linux and macOS, if you have `nvm` installed, just run `nvm use` to switch to Node.js v12.0.0.
9+
- On Linux and macOS, if you have `nvm` installed, just run `nvm use` to switch to Node.js v14.0.0.
1010
- `git clone [email protected]:trufflesuite/ganache.git`
1111
- `cd ganache`
1212
- `npm install` (use npm v6)
@@ -153,7 +153,7 @@ index 2a2aa9e..57cbf21 100644
153153

154154
These are guidelines, not rules. :-)
155155

156-
- Use Node.js v12.0.0 for most local development.
156+
- Use Node.js v14.0.0 for most local development.
157157
- Use `bigint` literals, e.g., `123n`; if the number is externally configurable and/or could exceed
158158
`Number.MAX_SAFE_INTEGER`.
159159
- Write tests.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "David Murdoch <[email protected]> (https://davidmurdoch.com)",
44
"private": true,
55
"engines": {
6-
"node": ">=12.0.0",
6+
"node": ">=14.0.0",
77
"npm": ">=6.12.0"
88
},
99
"scripts": {

src/packages/ganache/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Ganache can be used from the [command line](#command-line-use), [programmaticall
4747

4848
### Command line use
4949

50-
You must first install [Node.js](https://nodejs.org/) >= v12.0.0 and npm >= 6.12.0.
50+
You must first install [Node.js](https://nodejs.org/) >= v14.0.0 and npm >= 6.12.0.
5151

5252
To install Ganache globally, run:
5353

0 commit comments

Comments
 (0)