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
Reporter #67
Reporter #67
Conversation
bb5ec8f
to
8b38798
Compare
I've now removed the extra Rollup file, with this being expected to be entirely ready for review. |
I don't think we should remove |
Sure, sounds good to me. Note that this would be a breaking change relative to recent commits as far as |
151506f
to
d6920a1
Compare
I've updated to be backward-compatible in supporting an explicit |
b0a0887
to
aa2288e
Compare
I've now gotten the tests working here as well; it was an issue with the fact that the machines in use on Github do not support Terminal colors. The tests are now checking for environment support before making assertions on color. |
Oh, and I switched from |
I will review this PR once queries in #66 are resolved. |
I can see about making changes to support the feature you wish to add in #66, but #66 is just documenting existing behavior, and this PR, while being a breaking change, is unrelated to that "before" size feature. Since this PR also adds testing and full coverage, I would very much appreciate your reviewing these PRs now. Any changes I then make to add the feature to check the old npm package size (and setting it as the default per your wishes) can ensure there are no regressions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job 🎉 Especially the tests.
Can you run prettier on the whole codebase once. We can add a pre-commit hook later to run prettier on the staged files directly.
@@ -4,6 +4,7 @@ module.exports = { | |||
es6: true, | |||
node: true, | |||
}, | |||
parser: "babel-eslint", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use https://github.com/babel/babel/tree/master/eslint/babel-eslint-parser instead? babel-eslint is now deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do you see notice about babel-eslint being deprecated? I am not seeing it as such with "check-is-deprecated" or on searches. But if it does the same job, I guess it probably is better to use something under the @babel
umbrella.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment below.
BREAKING CHANGE: Removes `render`. Also adds sourcemaps and bumps some devDeps and drops unneeded ones
…meta.url` until having Node 13 as a minimum and refactoring to avoid transpilation as `rollup.config.mjs`); the other, now only config, instead points to the bundled `dist` filesize for now.
…ter` (and mention it being replacement for `render`)
- Refactor: Use `colors/safe` API as not using prototype methods and could potentially clash
Re: prettier, sure, I've added a commit to apply. (Note that even with prettier 2.0 part of I added |
Builds on #66.
render
withreporter
arrayfile
in testsBREAKING CHANGE:
Removes
render
.Also adds sourcemaps and bumps some devDeps and drops unneeded ones
(Re: the extra Rollup file, I'd like to use that as I've mentioned this on rollup/rollup#3445 , but not clear that this is possible at this point.)Removed.