Skip to content

Commit

Permalink
Add typeVersions field (#17)
Browse files Browse the repository at this point in the history
* Add typeVersions field

* Add changeset
  • Loading branch information
ryangoree authored Feb 13, 2024
1 parent c509300 commit 76b1bc8
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/bright-kiwis-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@delvtech/evm-client": patch
"@delvtech/evm-client-ethers": patch
"@delvtech/evm-client-viem": patch
---

Fix type resolutions by adding a `typeVersions` field to the `package.json`s
7 changes: 7 additions & 0 deletions packages/evm-client-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"stubs": [
"./dist/stubs.d.ts"
]
}
},
"scripts": {
"build": "tsup",
"lint": "eslint .",
Expand Down
7 changes: 7 additions & 0 deletions packages/evm-client-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"stubs": [
"./dist/stubs.d.ts"
]
}
},
"scripts": {
"build": "tsup",
"lint": "eslint .",
Expand Down
19 changes: 19 additions & 0 deletions packages/evm-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"cache": [
"./dist/cache.d.ts"
],
"contract": [
"./dist/contract.d.ts"
],
"errors": [
"./dist/errors.d.ts"
],
"network": [
"./dist/network.d.ts"
],
"stubs": [
"./dist/stubs.d.ts"
]
}
},
"scripts": {
"build": "tsup",
"lint": "eslint .",
Expand Down

0 comments on commit 76b1bc8

Please sign in to comment.