Skip to content

feat: use @metamask/messenger/generate-action-types CLI#575

Draft
cryptodev-2s wants to merge 5 commits intomainfrom
feat/use-messenger-generate-action-types
Draft

feat: use @metamask/messenger/generate-action-types CLI#575
cryptodev-2s wants to merge 5 commits intomainfrom
feat/use-messenger-generate-action-types

Conversation

@cryptodev-2s
Copy link
Copy Markdown
Contributor

Explanation

Replace the local copy-pasted scripts/generate-method-action-types.ts (759 lines) with the CLI from @metamask/messenger/generate-action-types.

Currently uses a preview build (@metamask-previews/messenger@0.3.0-preview-f11c28cc2) via npm alias. Once MetaMask/core#8264 is merged and released, the dependency should be updated to the released version.

References

Replace local copy-pasted script with the CLI from
@metamask/messenger. Uses preview build until release.
@cryptodev-2s cryptodev-2s force-pushed the feat/use-messenger-generate-action-types branch from 3166d8d to 9626783 Compare March 23, 2026 19:55
Use resolutions to override @metamask/messenger and @metamask/base-controller
with preview builds. This ensures consistent types across all transitive
dependencies and fixes the build.
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 23, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​metamask/​base-controller@​9.0.0-preview-a462582100100100100100
Added@​metamask/​messenger@​0.3.0-preview-a462582100100100100100

View full report

@cryptodev-2s cryptodev-2s force-pushed the feat/use-messenger-generate-action-types branch from 5555741 to 7e4a4c9 Compare March 23, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant