This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch back to webpacking ganache-cli (#606)
Instead of publishing two packed files containing ganache-cli, one for the lib (i.e., `require("ganache-cli")`) and one for CLI usage, this will ship a single webpacked ganache-core file, which `require("ganache-cli")` and `> ganache-cli` will both use. This uses npm and yarn's `bundledDependencies` feature to include `bn.js`, `yargs`, and `source-map-support` in the published npm bundle so our `npm ganache-cli` will install the same exact thing every time (these bundled dependencies are included in the npm ganache-cli tarball -- they are not re-downloaded/installed from npm).
- Loading branch information
1 parent
debda3d
commit 06f2422
Showing
12 changed files
with
1,900 additions
and
2,798 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 |
---|---|---|
|
@@ -6,5 +6,4 @@ TODO | |
.DS_Store | ||
.tern-port | ||
.vscode | ||
docker/build | ||
npm-shrinkwrap.json.bak | ||
build |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
// make sourcemaps work! | ||
require('source-map-support/register') | ||
|
||
module.exports = require("ganache-core"); | ||
module.exports = require("ganache-core/public-exports.js"); | ||
module.exports.version = require("ganache-core/package.json").version; | ||
module.exports.to = require("ganache-core/lib/utils/to"); |
Oops, something went wrong.