Skip to content

Commit

Permalink
Merge pull request #324 from VenusProtocol/update-typescript-config-f…
Browse files Browse the repository at this point in the history
…or-hardhat-deploy

Update typescript config for hardhat deploy to resolve release errors
  • Loading branch information
coreyar authored Aug 24, 2023
2 parents e08179b + c2b1ee8 commit 377025c
Show file tree
Hide file tree
Showing 9 changed files with 16,097 additions and 11,307 deletions.
56 changes: 0 additions & 56 deletions .dockerignore

This file was deleted.

8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,11 @@ cache
# Build
dist
docgen-docs

# yarn
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
Binary file added .yarn/install-state.gz
Binary file not shown.
546 changes: 546 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

785 changes: 785 additions & 0 deletions .yarn/releases/yarn-3.2.0.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.0.cjs
1 change: 0 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import fs from "fs";
import "hardhat-deploy";
import { HardhatUserConfig, task } from "hardhat/config";
import "solidity-docgen";
import "solidity-docgen";

require("dotenv").config();

Check warning on line 15 in hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Lint

Require statement not part of import statement

Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{
"compilerOptions": {
"baseUrl": ".",
"target": "ES2020",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"outDir": "dist"
"outDir": "dist",
"paths": {
"@nomiclabs/hardhat-ethers": ["node_modules/hardhat-deploy-ethers"]
}
},
"include": ["./typechain", "./deploy"],
"files": ["./hardhat.config.ts"]
Expand Down
Loading

0 comments on commit 377025c

Please sign in to comment.