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

feat: use next-build-id as module within Next 6 generateBuildId function #6

Merged
merged 3 commits into from
May 25, 2018

Conversation

nexdrew
Copy link
Owner

@nexdrew nexdrew commented May 24, 2018

Add support for using next-build-id to just lookup the current git commit hash (without overwriting any next build output files) via the generateBuildId config prop (added in Next.js 6) from next.config.js.

BREAKING CHANGE: The next-build-id CLI has not changed, but module usage will no longer manually overwrite a BUILD_ID file unless a `write: true` option is given, so that the module can be used within generateBuildId from next.config.js to just lookup the current git commit hash.
@nexdrew
Copy link
Owner Author

nexdrew commented May 24, 2018

Looks like Coveralls decided to stop working...

@nexdrew nexdrew merged commit 502bccc into master May 25, 2018
@nexdrew nexdrew deleted the support-next6 branch May 25, 2018 11:19
@nexdrew
Copy link
Owner Author

nexdrew commented May 25, 2018

Published as version 2.0.0.

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.

None yet

1 participant