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

Commit

Permalink
feat: add --flavor feature (ganache chain plugins) (#4362)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Smale <6363749+jeffsmale90@users.noreply.github.com>
Co-authored-by: satyajeetkolhapure <satyajeet.kolhapure@consensys.net>
  • Loading branch information
3 people committed Aug 4, 2023
1 parent cb66fef commit 7d30d5b
Show file tree
Hide file tree
Showing 150 changed files with 12,219 additions and 7,151 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ Where `<module>` is the npm-module you want to add and `<package>` is where you
Example:

```bash
npx lerna add @ganache/options -E --scope=@ganache/filecoin
npx lerna add @ganache/options -E --scope=@ganache/ethereum
```

will add our local `@ganache/options` package to the `@ganache/filecoin` package.
will add our local `@ganache/options` package to the `@ganache/ethereum` package.

## To remove a module from another package:

Expand Down
12 changes: 9 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@types/fs-extra": "9.0.13",
"@types/marked": "4.0.8",
"@types/mocha": "9.0.0",
"@types/node": "17.0.0",
"@types/prettier": "2.4.2",
Expand All @@ -39,7 +40,7 @@
"husky": "5.2.0",
"into-stream": "6.0.0",
"lerna": "4.0.0",
"marked": "2.1.3",
"marked": "4.3.0",
"mocha": "9.1.3",
"monaco-editor": "0.22.3",
"nyc": "15.1.0",
Expand Down
6 changes: 3 additions & 3 deletions scripts/build-docs/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { join } from "path";
import { readFileSync, writeFileSync } from "fs";
const { execSync } = require("child_process");
const marked = require("marked");
const hljs = require("highlight.js");
import { execSync } from "child_process";
import { marked } from "marked";
import hljs from "highlight.js";

const highlight = () => {
const raw = {} as any;
Expand Down
145 changes: 4 additions & 141 deletions src/chains/ethereum/console.log/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/chains/ethereum/console.log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"typescript": "4.7.4"
},
"dependencies": {
"@ethereumjs/util": "8.0.5",
"@ganache/utils": "0.3.0"
"@ganache/utils": "0.9.0"
}
}
1 change: 1 addition & 0 deletions src/chains/ethereum/console.log/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe("@ganache/console.log", () => {
let from: string;

before("set up a ganache provider", function () {
this.timeout(10000);
provider = Ganache.provider({
wallet: { deterministic: true, totalAccounts: 1 },
miner: { blockGasLimit: "0xfffffffff" },
Expand Down
Loading

0 comments on commit 7d30d5b

Please sign in to comment.