Skip to content

Commit

Permalink
Merge pull request #100 from 1inch/feature/hardhat-setup-module
Browse files Browse the repository at this point in the history
[SC-1002] Hardhat-Setup Module
  • Loading branch information
ZumZoom authored Nov 17, 2023
2 parents 702f453 + bc6ea88 commit 2b15ce7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions hardhat-setup/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// created from 'create-ts-index'

export * from './networks';
File renamed without changes.
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require('solidity-coverage'); // require because no TS typings available
import dotenv from 'dotenv';
import { HardhatUserConfig } from 'hardhat/config';
import { HardhatNetworkUserConfig } from 'hardhat/types';
import { Networks, getNetwork } from './src/networks';
import { Networks, getNetwork } from './hardhat-setup';

dotenv.config();

Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"name": "@1inch/solidity-utils",
"version": "3.4.0",
"version": "3.5.0",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": "./dist/src/index.js",
"./hardhat-setup": "./dist/hardhat-setup/index.js"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/1inch/solidity-utils.git"
},
"license": "MIT",
"scripts": {
"clean": "rimraf artifacts cache coverage contracts/hardhat-dependency-compiler dist typechain-types",
"build": "yarn typechain && cti src -b && tsc -p tsconfig.publish.json",
"build": "yarn typechain && cti src hardhat-setup -b && tsc -p tsconfig.publish.json",
"prepack": "yarn clean && yarn build",
"coverage": "hardhat coverage",
"format": "yarn format-ts && yarn format-sol",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// created from 'create-ts-index'

export * from './asserts';
export * from './networks';
export * from './permit';
export * from './prelude';
export * from './profileEVM';
Expand Down

0 comments on commit 2b15ce7

Please sign in to comment.