-
Notifications
You must be signed in to change notification settings - Fork 2
chore: bump deps #499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump deps #499
Conversation
🦋 Changeset detectedLatest commit: 82c84b9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Pull request overview
This PR updates dependencies across the monorepo to their latest versions, with a focus on major framework updates (Next.js v16, wagmi v3, Vite v7.2.6) and minor version bumps for development tools. It also refactors the skNormalizeChainId utility to remove the wagmi dependency and enhances the Vite build configuration with additional polyfills and module replacements.
- Updates major dependencies including Next.js (to v16), wagmi (v2→v3), and Vite (to v7.2.6)
- Refactors
skNormalizeChainIdto use direct number conversion instead of wagmi'snormalizeChainId - Adds build configuration enhancements with new polyfill aliases and Rollup plugin for module replacement
Reviewed changes
Copilot reviewed 9 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/widget/vite/vite.config.base.ts | Adds new polyfill aliases (ws, @emotion/is-prop-valid, @react-native-async-storage), Rollup replace plugin, and commonjs options for improved build compatibility |
| packages/widget/src/types/utils.ts | Reformats GetEitherAsyncRight type definition for better readability |
| packages/widget/src/domain/index.ts | Removes wagmi dependency and simplifies skNormalizeChainId to use direct Number() conversion |
| packages/widget/package.json | Updates multiple dependencies including wagmi 3.0.2, vite 7.2.6, and various other packages to latest versions |
| packages/examples/with-vite/package.json | Updates @types/react to 19.2.7 and vite to 7.2.6 |
| packages/examples/with-vite-bundled/package.json | Updates vite to 7.2.6 |
| packages/examples/with-nextjs/* | Adds new Next.js v16 example with proper SSR configuration, dynamic imports, and TypeScript setup |
| packages/examples/with-nextjs/package.json | Renames package to @stakekit/with-nextjs and updates Next.js to v16.0.6 |
| package.json | Updates build tools including @biomejs/biome (2.3.8), @changesets/cli (2.29.8), knip (5.70.2), and pnpm package manager (10.24.0) |
| .changeset/legal-terms-lead.md | Documents the dependency update as a patch change |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request primarily updates dependencies across multiple packages to their latest versions, improves compatibility with recent versions of frameworks and tools, and simplifies some internal utility code. The most significant changes are grouped below by theme.
Dependency Updates and Compatibility Improvements:
Updated major dependencies in
package.jsonand various example/package files, includingnext(to v16),vite(to v7.2.6),react,@types/react, and many others, to ensure compatibility with the latest ecosystem releases. This also includes bumping the package manager version (pnpm) and updating development tools such as@biomejs/biome,@changesets/cli, andknip. [1] [2] [3] [4] [5] [6] [7] [8]Renamed the example package
@stakekit/with-nextjs-15to@stakekit/with-nextjs, reflecting the update to Next.js v16 and aligning naming conventions with current framework versions.Build System and Polyfill Enhancements:
vite.config.base.tsto include additional modules (ws,@emotion/is-prop-valid,@react-native-async-storage/async-storage) mapped to an empty polyfill, and introduced a Rollup plugin to handle specific module replacements for improved build stability. [1] [2] [3]Code Simplification and Refactoring:
Simplified the
skNormalizeChainIdutility function indomain/index.tsby removing the dependency onwagmiand using a direct conversion to number, reducing unnecessary imports and complexity. [1] [2]Minor formatting and style improvements in type utility definitions, such as
GetEitherAsyncRight, for better readability and maintainability.Documentation and Changelog:
@stakekit/widget.