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(chore): add project tools and utilities #270

Merged
merged 6 commits into from
Feb 20, 2018
Merged

Conversation

evenstensberg
Copy link
Member

What kind of change does this PR introduce?

Feature
Did you add tests for your changes?
n/a
If relevant, did you update the documentation?
n/a
Summary
Adds project utilities like commitlint, changelog

Does this PR introduce a breaking change?

Other information

@evenstensberg
Copy link
Member Author

@paulirish is it okay with you guys if we use your linting + changelog implementation? Credited you guys at every place we use code from lighthouse

@webpack webpack deleted a comment from webpack-bot Feb 19, 2018
@evenstensberg evenstensberg changed the title Feat/maintainance feat(chore): add project tools and utilities Feb 19, 2018
@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

Copy link
Member

@EugeneHlushko EugeneHlushko left a comment

Choose a reason for hiding this comment

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

LGTM! Well done 👍

@@ -29,11 +29,15 @@
"appveyor:lint": "yarn lint",
"appveyor:test": "nyc jest && yarn reportCoverage",
"travis:integration": "yarn prepare && nyc jest && yarn reportCoverage",
"travis:lint": "yarn lint"
"travis:lint": "yarn lint && yarn bundlesize",
"bundlesize": "bundlesize",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed? Shouldn't yarn bundlesize already call the bin file?

Copy link
Contributor

Choose a reason for hiding this comment

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

another question: are we adding bundlesize so users can use it?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's for CI's for now, we could add it to as a feature to webpack, but that needs some work

package.json Outdated
"travis:lint": "yarn lint && yarn bundlesize",
"bundlesize": "bundlesize",
"commitmsg": "commitlint -e $GIT_PARAMS",
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file"
Copy link
Contributor

Choose a reason for hiding this comment

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

changelog.md => CHANGELOG.md

@webpack-bot
Copy link

@ev1stensberg Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ematipico Please review the new changes.

@evenstensberg evenstensberg merged commit 7ab69a3 into master Feb 20, 2018
@ematipico ematipico deleted the feat/maintainance branch April 8, 2018 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants