Skip to content
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: omit test files from published package #149

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

legobeat
Copy link
Contributor

From this:

npm notice package: @metamask/[email protected]
npm notice === Tarball Contents ===
npm notice 739B  LICENSE
npm notice 2.1kB dist/cjs/index.js
npm notice 2.5kB dist/cjs/index.test.js
npm notice 1.7kB package.json
npm notice 1.9kB dist/cjs/index.js.map
npm notice 1.9kB dist/esm/index.mjs.map
npm notice 3.0kB dist/cjs/index.test.js.map
npm notice 3.0kB dist/esm/index.test.mjs.map
npm notice 1.1kB CHANGELOG.md
npm notice 1.3kB README.md
npm notice 2.0kB dist/esm/index.mjs
npm notice 2.5kB dist/esm/index.test.mjs
npm notice 182B  dist/cjs/index.d.ts
npm notice 182B  dist/esm/index.d.ts
npm notice 11B   dist/cjs/index.test.d.ts
npm notice 11B   dist/esm/index.test.d.ts
npm notice === Tarball Details ===
npm notice name:          @metamask/safe-event-emitter
npm notice version:       3.1.1
npm notice package size:  5.1 kB
npm notice unpacked size: 24.1 kB
npm notice shasum:        e89b840a7af8097a8ed4953d8dc8470d1302d3ef
npm notice integrity:     sha512-ihb3B0T/wJm1e[...]PqygCpgeniKMw==
npm notice total files:   16

to this:

npm notice package: @metamask/[email protected]
npm notice === Tarball Contents ===
npm notice 739B  LICENSE
npm notice 2.1kB dist/cjs/index.js
npm notice 1.7kB package.json
npm notice 1.9kB dist/cjs/index.js.map
npm notice 1.9kB dist/esm/index.mjs.map
npm notice 1.1kB CHANGELOG.md
npm notice 1.3kB README.md
npm notice 2.0kB dist/esm/index.mjs
npm notice 182B  dist/cjs/index.d.ts
npm notice 182B  dist/esm/index.d.ts
npm notice === Tarball Details ===
npm notice name:          @metamask/safe-event-emitter
npm notice version:       3.1.1
npm notice package size:  4.0 kB
npm notice unpacked size: 13.1 kB
npm notice shasum:        11dcb6bd7e68f19c86b2d6984f90af413a8b0cb5
npm notice integrity:     sha512-onQvYMdzbPf9z[...]Fl0OQGjQ7jfTw==
npm notice total files:   10

@legobeat legobeat requested a review from Mrtenz March 12, 2024 11:20
@legobeat legobeat marked this pull request as ready for review March 12, 2024 11:20
@legobeat legobeat requested a review from a team as a code owner March 12, 2024 11:20
Copy link
Member

@Mrtenz Mrtenz left a comment

Choose a reason for hiding this comment

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

Cool. I didn't know you could exclude files like this.

@legobeat legobeat merged commit e057000 into MetaMask:main Mar 12, 2024
10 checks passed
@legobeat legobeat deleted the no-publish-test branch March 12, 2024 11:23
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