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

add more files and folders to .npmignore #280

Open
marrws opened this issue Dec 18, 2024 · 0 comments
Open

add more files and folders to .npmignore #280

marrws opened this issue Dec 18, 2024 · 0 comments

Comments

@marrws
Copy link

marrws commented Dec 18, 2024

Reproduction steps

Download tarball from this url:

$ npm view graphql-subscriptions dist.tarball

List content of the file

$ tar -tf graphql-subscriptions-3.0.0.tgz 
package/AUTHORS
package/CHANGELOG.md
package/.circleci/config.yml
package/CODEOWNERS
package/CONTRIBUTING.md
package/.designs/authorization.md
package/dist/index.d.ts
package/dist/index.js
package/dist/index.js.map
package/dist/pubsub-async-iterable-iterator.d.ts
package/dist/pubsub-async-iterable-iterator.js
package/dist/pubsub-async-iterable-iterator.js.map
package/dist/pubsub.d.ts
package/dist/pubsub-engine.d.ts
package/dist/pubsub-engine.js
package/dist/pubsub-engine.js.map
package/dist/pubsub.js
package/dist/pubsub.js.map
package/dist/with-filter.d.ts
package/dist/with-filter.js
package/dist/with-filter.js.map
package/.github/ISSUE_TEMPLATE.md
package/.github/PULL_REQUEST_TEMPLATE.md
package/LICENSE
package/package.json
package/README.md
package/.travis.yml

Expected result

  • Folders and files not needed for the package to work should be ignored when publishing the package.

Actual result

  • Unneeded files are included in the tarball like .github/, .circleci/, .designs/, .travis.yml and more
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

No branches or pull requests

1 participant