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 files to each public package with a test folder #1039

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Feb 14, 2020

This teaches the node/no-unpublished-import ESLint rule that files within the test folder are not published and that it is okay to import dev dependencies from within those files.

I initially tried to use a wildcard in the main .npmignore file, but that didn't work properly, so unfortunately I had to use a dedicated .npmignore file per package.

This teaches the `node/no-unpublished-import` ESLint rule that files within the `test` folder are not published and that it is okay to import dev dependencies from within those files.
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Probably also could have added files each of the package.json’s.

@rwjblue rwjblue merged commit c882dd7 into glimmerjs:master Feb 14, 2020
@Turbo87 Turbo87 deleted the npmignore branch February 14, 2020 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants