-
-
Notifications
You must be signed in to change notification settings - Fork 838
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to tsc, TypeScript 5 & NodeNext (#331)
* chore: switch to tsc * chore: apply rome formatting & linting changes * chore: bump to typescript v5 * chore: remove tsup config * chore: improve build step * chore: add comment to version.ts * chore: fix imports * chore: add changeset * chore: revert uts46 import changes * chore: fix type imports * chore: ignore tsbuildinfo * fix: type issues * chore: Contains -> Or * chore: format * chore: switch to nodenext module resolution (#309) * fix: make `GetValue` return `{ value?: never }` for contract functions that are not payable (#310) fix: GetValue type * Version Packages (#311) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor: use `@adraffy/ens-normalize` for ENS normalization (#313) * refactor: use @adraffy/ens-normalize for ENS normalization * docs: update * Version Packages (#315) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: `transports` property type on `FallbackTransport` (#317) * Version Packages (#318) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: migrate to nodenext module resolution * chore: fix type imports * chore: use `bundler` module resolution for playgrounds so that path aliases are simpler * fix: ethers adapter signTransaction properties (#322) * fix: ethers adapter * test: boost coverage * Version Packages (#324) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: skip invalid logs (#326) * fix: skip invalid logs * chore: format * chore: changeset * Version Packages (#327) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: tweaked error inheritence for `UserRejectedRequestError` & `SwitchChainError` (#328) * feat: tweaked error inheritence for `UserRejectedRequestError` & `SwitchChainError` * chore: format * chore: switch to tsc * chore: apply rome formatting & linting changes * chore: bump to typescript v5 * chore: remove tsup config * chore: improve build step * chore: add comment to version.ts * chore: fix imports * chore: add changeset * chore: fix type imports * chore: ignore tsbuildinfo * fix: type issues * chore: Contains -> Or * chore: format * chore: format --------- Co-authored-by: jxom <jakemoxey@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: awkweb <tom@meagher.co> * Delete eleven-donkeys-lay.md * Delete jsconfig.json * Update cuddly-candles-begin.md --------- Co-authored-by: Sebastian Lorenz <fubhy@fubhy.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: awkweb <tom@meagher.co>
- Loading branch information
1 parent
1211133
commit cd7b642
Showing
588 changed files
with
3,053 additions
and
2,908 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Migrated to TypeScript 5. | ||
Migrated build process from `tsup` to `tsc`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.4", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.3", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"viem": "latest" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.9.4", | ||
"typescript": "^5.0.3", | ||
"vite": "^4.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
cd7b642
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viem – ./site
viem.vercel.app
viem-wagmi-dev.vercel.app
viem-site.vercel.app
viem-git-main-wagmi-dev.vercel.app
www.viem.sh
viem.sh
cd7b642
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viem-playground – ./playgrounds/browser
viem-playground.vercel.app
viem-playground-wagmi-dev.vercel.app
viem-playground-git-main-wagmi-dev.vercel.app