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

Exclude tests and test code from published package #45

Merged
merged 1 commit into from
Mar 3, 2016

Conversation

roblg
Copy link
Member

@roblg roblg commented Mar 3, 2016

Fixing up our package.json and .npmignore so that we're not publishing tests + test helpers anymore.

I published a gist with the diff between the old and new packages.

I also noticed while doing this that we were still accidentally publishing a bunch of test files. I filed #44 to address cleaning before publishing.

@roblg roblg force-pushed the fix-npmignore-exclude-tests branch from 3ed63fb to 2de4108 Compare March 3, 2016 21:37
@gigabo
Copy link
Contributor

gigabo commented Mar 3, 2016

Nice! Leaner and meaner! 👍

@roblg
Copy link
Member Author

roblg commented Mar 3, 2016

I probably should have mentioned that this brings the package.tgz file size down from 1.2MB to 350K. 😹

@roblg
Copy link
Member Author

roblg commented Mar 3, 2016

I also also should have mentioned that I published a pre-release version of 0.0.24 w/ only this change, and wired up our internal app and all of its dependencies to use it. It was a PITA to plumb that change through everywhere, but once I did, everything started, so I don't think I'm missing anything important.

@doug-wade
Copy link
Collaborator

👍

roblg added a commit that referenced this pull request Mar 3, 2016
Exclude tests and test code from published package
@roblg roblg merged commit c50db5f into redfin:master Mar 3, 2016
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.

3 participants