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

fix: use npmignore #208

Merged
merged 1 commit into from
May 14, 2021
Merged

fix: use npmignore #208

merged 1 commit into from
May 14, 2021

Conversation

arekkubaczkowski
Copy link
Collaborator

@arekkubaczkowski arekkubaczkowski commented May 13, 2021

resolves #204
as yarn doesn't support negations in package.json we need to use .npmignore for excluding certain files

Copy link
Contributor

@thorsten-stripe thorsten-stripe left a comment

Choose a reason for hiding this comment

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

@arekkubaczkowski should we add the appium files also?

And do we need to add everything from the .gitignore file also, or will that be added automatically?

.npmignore Show resolved Hide resolved
Copy link
Contributor

@thorsten-stripe thorsten-stripe left a comment

Choose a reason for hiding this comment

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

Okay, I now understand that it didn't work because we had negations in the allow list. By moving the negations to the disallow list (.npmignore) the allow list now works as expected 👍

@thorsten-stripe thorsten-stripe merged commit 2ebac59 into master May 14, 2021
@thorsten-stripe thorsten-stripe deleted the fix/matching-files-pattern branch May 14, 2021 06:48
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.

Remove example from published package
3 participants