Skip to content

Conversation

@priley86
Copy link
Member

@priley86 priley86 commented May 14, 2018

remove files field. this pattern prevents other dist files from releasing.

affects: @patternfly/react-console

What:
the files glob should not needed anymore. we can simply use npmignore/gitignore from the root like other monorepo packages.

I've confirmed this fix resolves the issue noted in #337 in my fork. All dist files should publish.

Link to Storybook:

Additional issues:
Closes #337

…les from releasing.

affects: @patternfly/react-console
@coveralls
Copy link

coveralls commented May 14, 2018

Pull Request Test Coverage Report for Build 1349

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.05%) to 74.086%

Files with Coverage Reduction New Missed Lines %
packages/core/src/components/Notification/Wrappers/NotificationDrawerPanelWrapper.js 1 65.79%
packages/core/src/components/Notification/Wrappers/NotificationDrawerWrapper.js 1 81.82%
Totals Coverage Status
Change from base Build 1330: 0.05%
Covered Lines: 1704
Relevant Lines: 2103

💛 - Coveralls

Copy link
Member

@cdcabrera cdcabrera left a comment

Choose a reason for hiding this comment

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

@priley86 you interchange/make synonymous npmignore/gitignore in your comment.

Gitignore appears to have the dist ref, are we concerned about npmignore?

@priley86
Copy link
Member Author

both npmignore and gitignore are considered... but this is a good point...we may need to change to /src now in the root... testing this in fork..

@priley86
Copy link
Member Author

priley86 commented May 14, 2018

ok - after further review... it looks like the convention being followed in most monorepos now is to use .npmignore in each subpackage, but still use a global .gitignore and then subscope each package's .gitignore if needed:
lerna/lerna#296 (comment)
0xProject/0x-monorepo#389

I'm OK with this convention if others are. I've updated the PR to reflect that and tested it in my fork's build. Seems to be OK 👍

@jeff-phillips-18 jeff-phillips-18 merged commit d55644c into patternfly:master May 14, 2018
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.

Incorrectly published patternfly/react-console

4 participants