-
-
Notifications
You must be signed in to change notification settings - Fork 7
Replace superstruct with ESM-compatible fork @metamask/superstruct #72
Copy link
Copy link
Closed
Labels
Description
Explanation
As part of the Wallet Framework Team's OKR (Q2 2024 O3KR4) for upgrading TypeScript to v5.0+ in the core monorepo, we are updating dependencies of the core repo so that they generate builds and type declarations for both CJS and ESM.
This requirement applies to nested dependencies as well, so we are also replacing superstruct with the ESM-compatible fork @metamask/superstruct in all core dependency packages.
Description
- Replace
superstructdependency with@metamask/superstructv3.0.0. - Replace all
superstructimport statements with@metamask/superstruct - Bump
@metamask/utilsto v8.4.0. - If feasible without too much additional work, set
moduleandmoduleResolutiontsconfig options toNodeNextand TypeScript to v5. - Create new release applying these changes.
References
Reactions are currently unavailable