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 683
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1552 from trufflesuite/develop
Release v7.0.0-alpha.2
- Loading branch information
Showing
131 changed files
with
37,511 additions
and
35,611 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
# We start at Node 10.18.0 because it is the first version filecoin's | ||
# CBOR package will let us install. Once filecoin is moved out of the | ||
# monorepo we want to use 10.7.0 (earliest version the Ethereum side | ||
# supports) or 10.13.0 (first node 10 LTS version). | ||
node: [10.18.0, 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x] | ||
node: [12.0.0, 12.x, 13.x, 14.x, 15.x, 16.x, 17.x] | ||
os: [windows-2019, ubuntu-18.04, ubuntu-20.04, macos-11.0] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
@@ -29,38 +25,15 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Add msbuild to PATH | ||
# we need msbuild tools for the `bigint-buffer` module | ||
# we need msbuild tools for the `bcrypto` module | ||
if: startsWith(matrix.os, 'windows-') | ||
uses: microsoft/[email protected] | ||
|
||
- name: install node tools | ||
# we don't need to install the windows-build-tools package, as we | ||
# already have almost everything we need. We only need to install | ||
# python 2.7. Also windows-build-tools@4 fails to install because some | ||
# resources it downloads no longer exist, and windows-build-tools@5 | ||
# fails to install Python (it will wait on the python installer forever) | ||
if: startsWith(matrix.os, 'windows-') | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: "2.7" | ||
|
||
- name: install node-gyp | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm install --global [email protected] | ||
|
||
- name: Set node config to use python2.7 | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm config set python python2.7 | ||
|
||
- name: Set node config to set msvs_version to 2019 | ||
if: startsWith(matrix.os, 'windows-') | ||
run: npm config set msvs_version 2019 --global | ||
|
||
- run: npm ci | ||
- run: npm run tsc | ||
- run: npm test | ||
|
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 @@ | ||
v10.13.0 | ||
v12.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,11 +2,11 @@ | |
|
||
## Getting set up | ||
|
||
- Use Node.js v10.13.0. | ||
- Why v10.13.0? Because this is the first version prettier supports. | ||
- Use Node.js v12.0.0. | ||
- Why v12.0.0? Because this is the first LTS release of Node.js v12 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 v10.13.0. | ||
- On Linux and macOS, if you have `nvm` installed, just run `nvm use` to switch to Node.js v12.0.0. | ||
- `git clone [email protected]:trufflesuite/ganache.git` | ||
- `cd ganache` | ||
- `npm install` (use npm v6) | ||
|
@@ -153,7 +153,7 @@ index 2a2aa9e..57cbf21 100644 | |
|
||
These are guidelines, not rules. :-) | ||
|
||
- Use Node.js v10.13.0 for most local development. | ||
- Use Node.js v12.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. | ||
|
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.