Skip to content

Commit

Permalink
Fix typing, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
vanja-vechain committed Jun 27, 2023
1 parent f3d0f68 commit 6997327
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 34 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
"web3": "^1.0.0-beta.36",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@vechain/hardhat-vechain": "0.1.0",
"@vechain/hardhat-ethers": "0.1.0",
"@vechain/hardhat-web3": "0.1.0",
"@types/debug": "^4.1.8",
"@vechain/hardhat-vechain": "^0.1.1",
"@vechain/hardhat-ethers": "^0.1.1",
"@vechain/hardhat-web3": "^0.1.1",
"@types/jest": "^29.5.2",
"ts-jest": "^29.1.0",
"jest": "^29.5.0"
Expand Down
13 changes: 6 additions & 7 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/hardhat-ethers",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "Hardhat Vechain Ethers Plugin",
"repository": "github:vechainfoundation/hardhat-plugins",
Expand All @@ -14,11 +14,10 @@
"hardhat-plugin",
"ethers"
],
"main": "src/index.js",
"typings": "./src/index.d.ts",
"files": [
"src/**/*.js",
"src/**/*.d.ts"
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"prepack": "yarn build",
Expand All @@ -29,12 +28,12 @@
"ethers": "^5.0.0",
"hardhat": "^2.12.7",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@vechain/hardhat-vechain": "^0.1.0"
"@vechain/hardhat-vechain": "^0.1.1"
},
"peerDependencies": {
"ethers": "^5.0.0",
"hardhat": "^2.12.7",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@vechain/hardhat-vechain": "^0.1.0"
"@vechain/hardhat-vechain": "^0.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/ethers/src/type-extensions.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import "@vechain/hardhat-vechain/src/type-extensions";
import "@vechain/hardhat-vechain/dist/type-extensions";
import "@nomiclabs/hardhat-ethers/internal/type-extensions";
6 changes: 3 additions & 3 deletions packages/ethers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"rootDir": "."
"outDir": "./dist",
"rootDir": "./src"
},
"exclude": ["jest.config.ts", "test"]
"exclude": ["jest.config.ts", "test", "./dist"]
}
10 changes: 5 additions & 5 deletions packages/vechain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/hardhat-vechain",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "Hardhat plugin for a VeChain provider",
"homepage": "https://github.com/vechainfoundation/hardhat-plugins",
Expand All @@ -14,11 +14,11 @@
"hardhat",
"hardhat-plugin"
],
"main": "src/index.js",
"typings": "./src/index.d.ts",
"main": "dist/index.js",
"files": [
"src/**/*.js",
"src/**/*.d.ts"
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsc --build",
Expand Down
6 changes: 3 additions & 3 deletions packages/vechain/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"rootDir": "."
"outDir": "./dist",
"rootDir": "./src"
},
"exclude": ["jest.config.ts", "test"]
"exclude": ["jest.config.ts", "test", "./dist"]
}
13 changes: 6 additions & 7 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/hardhat-web3",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "Hardhat Vechain Web3 Plugin",
"repository": "github:vechainfoundation/hardhat-plugins",
Expand All @@ -14,11 +14,10 @@
"hardhat-plugin",
"web3"
],
"main": "src/index.js",
"typings": "./src/index.d.ts",
"files": [
"src/**/*.js",
"src/**/*.d.ts"
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"prepack": "yarn build",
Expand All @@ -29,12 +28,12 @@
"web3": "^1.0.0-beta.36",
"hardhat": "^2.12.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@vechain/hardhat-vechain": "^0.1.0"
"@vechain/hardhat-vechain": "^0.1.1"
},
"peerDependencies": {
"web3": "^1.0.0-beta.36",
"hardhat": "^2.12.7",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@vechain/hardhat-vechain": "^0.1.0"
"@vechain/hardhat-vechain": "^0.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/web3/src/type-extensions.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import "@vechain/hardhat-vechain/src/type-extensions";
import "@vechain/hardhat-vechain/dist/type-extensions";
import "@nomiclabs/hardhat-web3/src/type-extensions";
6 changes: 3 additions & 3 deletions packages/web3/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": ".",
"rootDir": "."
"outDir": "./dist",
"rootDir": "./src"
},
"exclude": ["jest.config.ts", "test"]
"exclude": ["jest.config.ts", "test", "./dist"]
}
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@
"@types/node" "*"
"@types/responselike" "^1.0.0"

"@types/debug@^4.1.7":
"@types/debug@^4.1.7", "@types/debug@^4.1.8":
version "4.1.8"
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.8.tgz#cef723a5d0a90990313faec2d1e22aee5eecb317"
integrity sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==
Expand Down

0 comments on commit 6997327

Please sign in to comment.