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 .npmignore to ignore examples and test folder #216

Closed
wants to merge 1 commit into from
Closed

add .npmignore to ignore examples and test folder #216

wants to merge 1 commit into from

Conversation

Sinewyk
Copy link
Contributor

@Sinewyk Sinewyk commented Apr 11, 2016

examples and tests are not useful in a npm package

ref https://docs.npmjs.com/files/package.json

To simplify the files array and make it more resilient to change, we could also move all source files into lib and use the main field of the package.json

Also, NEWS.md should probably be renamed CHANGELOG.md to even more strip down the files config.

@martinkuba
Copy link
Contributor

@Sinewyk thanks for the suggestions, agreed that we should at the very least exclude tests and examples. We might go with .npmignore instead for now - smaller change, and to avoid accidental breakage due to missing files.

@Sinewyk Sinewyk changed the title specify files to include add .npmignore to ignore examples and test folder Apr 13, 2016
@Sinewyk
Copy link
Contributor Author

Sinewyk commented Apr 13, 2016

PR updated to ignore instead.

@lykkin
Copy link
Contributor

lykkin commented Apr 21, 2016

This was merged out of band into v1.27.0. Thanks for the contribution!

@lykkin lykkin closed this Apr 21, 2016
@Sinewyk Sinewyk deleted the ignore_test_npm_package branch April 21, 2016 22:24
@Sinewyk
Copy link
Contributor Author

Sinewyk commented Apr 21, 2016

Nah, thank you =).

bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 19, 2024
…/axios-and-newrelic-1.6.0

chore(deps): bump axios and newrelic
bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 23, 2024
…/axios-and-newrelic-1.6.0

chore(deps): bump axios and newrelic
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.

None yet

3 participants