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

prepublish: stop caching built products #417

Closed
3 tasks
benmosher opened this issue Jul 5, 2016 · 1 comment
Closed
3 tasks

prepublish: stop caching built products #417

benmosher opened this issue Jul 5, 2016 · 1 comment
Milestone

Comments

@benmosher
Copy link
Member

benmosher commented Jul 5, 2016

Pending #403, which will necessarily run tests against pre-transpiled code, stop caching the built output (which was a test-time optimization to begin with).

Instead, prepublish should

  • wipe all gitignore'd output with a git clean -X
  • rebuild everything from scratch
  • stretch goal: run (some) tests directly against built output?

This should hopefully prevent future occurrences of the 1.10.1 publish debaucle. (#415)

@benmosher benmosher added this to the 2.0.0 milestone Jul 5, 2016
@benmosher
Copy link
Member Author

super-relevant: https://github.com/sindresorhus/np

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant