forked from trufflesuite/ganache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: point community link at our discord channel (trufflesuite#874) * chore(deps): bump y18n from 4.0.0 to 4.0.1 (trufflesuite#884) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: rearchitect server status and move async functions from constructors to initialize functions (trufflesuite#877) * feat: add filecoin flavor (trufflesuite#888) Co-authored-by: David Murdoch <davidmurdoch@users.noreply.github.com> Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com> Co-authored-by: Tim Coulter <tim@timothyjcoulter.com> * fix: support a uws fallback if uws native binaries don't exist (win+electron) (trufflesuite#893) Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Seese <seesemichaelj@gmail.com> Co-authored-by: David Murdoch <davidmurdoch@users.noreply.github.com> Co-authored-by: Tim Coulter <tim@timothyjcoulter.com>
- Loading branch information
1 parent
71242be
commit 70b8cd3
Showing
243 changed files
with
31,449 additions
and
9,447 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
engine-strict=true | ||
engine-strict=false | ||
save-exact=true | ||
sign-git-commit=true | ||
sign-git-tag=true | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// To use this script, run `ts-node path/to/skip-if-less-than-node-12.ts || <command>` | ||
// This script will "succeed" if less than node@12, causing <command> to not execute | ||
// but also make look like the overall command was successful | ||
|
||
const majorVersionStringMatch = /^v([0-9]+)\./.exec(process.version); | ||
|
||
if (!majorVersionStringMatch || majorVersionStringMatch.length < 2) { | ||
console.error( | ||
"ERROR: Could not parse process.version for some reason. This shouldn't happen." | ||
); | ||
process.exit(0); // we exit with code 0 to prevent further scripts from running | ||
} | ||
|
||
const majorVersion = parseInt(majorVersionStringMatch[1], 10); | ||
|
||
if (majorVersion < 12) { | ||
console.log( | ||
`Skipping following command as the NodeJS version is ${majorVersion}, and it needs to be at least 12 to continue.` | ||
); | ||
process.exit(0); | ||
} else { | ||
process.exit(1); | ||
} |
Oops, something went wrong.