Conversation
Johann-S
commented
Mar 2, 2018
| "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap", | ||
| "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", | ||
| "js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps", | ||
| "js-compile-plugins-coverage": "cross-env PLUGINS=true NODE_ENV=test babel js/src/ --out-dir js/dist/coverage/ --source-maps", |
Member
Author
There was a problem hiding this comment.
maybe I should change the output dir to : js/coverage/dist which is not distributed through npm 🤔
efd4c23 to
b5f5719
Compare
Member
Author
Member
|
Shouldn't we have a service like Travis so that we can check quickly things? I'm pretty sure there are various services we could integrate. |
Member
Author
|
Travis execute it for us see : https://travis-ci.org/twbs/bootstrap/jobs/348736259#L704 |
Member
|
OK, I'm just used to coverage as a repo hook. But this works too. |
Member
Author
|
I thinks it's a good first step and it's pretty convenient to be able to run the coverage locally , but I'm not against a hook in an other PR |
b5f5719 to
20f0d91
Compare
Member
Author
|
Would you like that PR @XhmikosR ? Or do you have any concerns ? If not maybe can you approve my PR 😄 |
XhmikosR
approved these changes
Mar 5, 2018
Member
|
@Johann-S; just make sure you resolve the conflicts properly :) |
fb8d7a8 to
9add2bc
Compare
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

We this PR we will be sure our JS is covered at 80% but we are free to grow this percentage 😉
BTW it should throw an error if we move under 80% of covered code
Fixes : #25748
/CC @XhmikosR, @bardiharborow