Skip to content

Conversation

@rekmarks
Copy link
Member

@rekmarks rekmarks commented May 1, 2025

To publish our packages to npm, we need to scope them under the @metamask/* organization. Packages that are to remain private (for now or in perpetuity) can remain scoped under @ocap/*. Packages that need to be published includes everything that we'll want to use in production. Consequently, we rename and reconfigure the following:

  • @ocap/kernel -> @metamask/ocap-kernel
  • @ocap/store -> @metamask/kernel-store
  • @ocap/utils -> @metamask/kernel-utils
  • @ocap/shims -> @metamask/kernel-shims
  • @ocap/rpc-methods -> @metamask/kernel-rpc-methods
  • @ocap/errors -> @metamask/kernel-errors
  • @ocap/logger -> @metamask/logger
  • @ocap/streams -> @metamask/streams

Since we're only likely to use the CLI for internal purposes for the time being, we keep it private for now. The extension and Node.js runtimes are not likely to ever be published as libraries, and can also remain private.

rekmarks added 2 commits May 1, 2025 15:58
Rename and reconfigure:
- @ocap/kernel -> @MetaMask/ocap-kernel
- @ocap/store -> @metamask/kernel-store
- @ocap/utils -> @metamask/kernel-utils
@socket-security
Copy link

socket-security bot commented May 1, 2025

@rekmarks rekmarks marked this pull request as ready for review May 2, 2025 20:34
@rekmarks rekmarks requested a review from a team as a code owner May 2, 2025 20:34
Copy link
Contributor

@sirtimid sirtimid left a comment

Choose a reason for hiding this comment

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

👌

@rekmarks rekmarks merged commit d5a703d into main May 2, 2025
21 checks passed
@rekmarks rekmarks deleted the rekm/the-great-renaming branch May 2, 2025 21:22
@rekmarks rekmarks mentioned this pull request May 6, 2025
4 tasks
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.

3 participants