Skip to content

Commit

Permalink
chore: version bump and devcontainer (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 authored Dec 8, 2023
1 parent 8d54def commit 96465ee
Show file tree
Hide file tree
Showing 16 changed files with 5,564 additions and 367 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Node",
"image": "mcr.microsoft.com/devcontainers/base:0",

"features": {
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"installOhMyZshConfig": true,
"upgradePackages": true,
"username": "automatic",
"userUid": "automatic",
"userGid": "automatic"
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ This package is written as an ES6 module and `typechain` to generate ethers bind
Steps:

1. If contract ABI is modified, remove all previously generated bindings in `src/types/contracts`.
2. Generate the bindings using: `npm run typechain --target ethers-v5 --out-dir src/types/contracts "./contracts/**/*.json"`
2. Generate the bindings using: `npx typechain --target ethers-v5 --out-dir src/types/contracts "./contracts/**/*.json"`
3. Manually edit the generated bindings to ensure that all import paths include the `.js` suffix, or when importing a directory, they import the `index.js` within that directory.

## Acknowledgements
Expand Down
Loading

0 comments on commit 96465ee

Please sign in to comment.