Skip to content

Commit

Permalink
chore: bump typescript version (#2482)
Browse files Browse the repository at this point in the history
* chore: bump typescript version

* chore: format
  • Loading branch information
tmm authored Jun 2, 2023
1 parent 60f68cd commit 8764b54
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 13 deletions.
7 changes: 7 additions & 0 deletions .changeset/few-panthers-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"wagmi": minor
"@wagmi/core": minor
"@wagmi/cli": minor
---

Bumped minimum TypeScript version to v5.0.4.
2 changes: 1 addition & 1 deletion docs/pages/core/typescript.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Callout } from 'nextra-theme-docs'

wagmi is designed to be as type-safe as possible! Things to keep in mind:

- Types currently require using TypeScript v4.7.4 or greater.
- Types currently require using TypeScript v5.0.4 or greater.
- Changes to types in this repository are considered non-breaking and are usually released as patch semver changes (otherwise every type enhancement would be a major version!).
- It is highly recommended that you lock your `@wagmi/core` package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release.
- The non-type-related public API of wagmi still follows semver very strictly.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/react/typescript.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Callout } from 'nextra-theme-docs'

wagmi is designed to be as type-safe as possible! Things to keep in mind:

- Types currently require using TypeScript v4.7.4 or greater.
- Types currently require using TypeScript v5.0.4 or greater.
- Changes to types in this repository are considered non-breaking and are usually released as patch semver changes (otherwise every type enhancement would be a major version!).
- It is highly recommended that you lock your `wagmi` package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release.
- The non-type-related public API of wagmi still follows semver very strictly.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/react/typescript.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Callout } from 'nextra-theme-docs'

wagmi 被设计成尽可能的类型安全! 需要记住的事情:

- 目前需要使用 TypeScript v4.7.4 或更高版本。
- 目前需要使用 TypeScript v5.0.4 或更高版本。
- 在这个资源库中对类型的修改被认为是非破坏性的,通常作为补丁 semver 的修改发布(否则每一个类型的增强都将是一个主要版本!)。
- 强烈建议你将 `wagmi` 包的版本锁定在特定的补丁版本上,以便在任何版本上都可以修复或升级类型。
- wagmi 的非类型相关公共 API 仍然非常严格地遵循 semver 规范。
Expand Down
2 changes: 1 addition & 1 deletion examples/_dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"eslint-config-next": "^12.1.6",
"typescript": "^5.0.4"
}
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"peerDependencies": {
"@wagmi/core": ">=1.0.0",
"typescript": "^5.0.4",
"typescript": ">=5.0.4",
"wagmi": ">=1.0.0"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
],
"peerDependencies": {
"viem": "~0.3.35",
"typescript": "^5.0.4"
"typescript": ">=5.0.4"
},
"peerDependenciesMeta": {
"typescript": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
],
"peerDependencies": {
"react": ">=17.0.0",
"typescript": "^5.0.4",
"typescript": ">=5.0.4",
"viem": "~0.3.35"
},
"peerDependenciesMeta": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion references

1 comment on commit 8764b54

@vercel
Copy link

@vercel vercel bot commented on 8764b54 Jun 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.