Skip to content

Conversation

@Unik0rnMaggie
Copy link

@Unik0rnMaggie Unik0rnMaggie commented Jan 8, 2026

Make @metamask/vault-decryptor site publishable


Note

Makes the package publishable on npm.

  • Removes private to allow publishing
  • Adds files to include index.html and bundle.js
  • Adds publishConfig with public access and npm registry

Written by Cursor Bugbot for commit 6a063e6. This will update automatically on new commits. Configure here.

@Unik0rnMaggie Unik0rnMaggie marked this pull request as ready for review January 12, 2026 13:53
"files": [
"index.html",
"bundle.js"
],
Copy link

Choose a reason for hiding this comment

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

Main entry point file excluded from published package

Medium Severity

The files array specifies only index.html and bundle.js to be included in the published package, but the main field still references index.js, which won't be published. When consumers try to require('@metamask/vault-decryptor'), npm will attempt to load index.js and fail because that file doesn't exist in the published package. The main field should either be removed, updated to point to an included file, or index.js (and its dependencies in lib/ and app/) should be added to files.

Fix in Cursor Fix in Web

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.

2 participants