bepro-js
bepro-js copied to clipboard
Feature/preadd lint
Bounty
Describe the solution
Preview
ETH Wallet
Twitter Handle
Hey @nodexchange,
Thanks for the help here :)
A few questions :
- By adding the build in .gitignore how did you ensure the system automatically build when people use it under the npm package?
- In which command does the system automatically run the eslint:fix?
Hey,
Sorry for the late one.
- I would suggest moving build and publish action to github actions (I can help with it). Keeping the build folder in our source code will cause quite a few conflicts. Link for ref: https://docs.github.com/en/actions/guides/publishing-nodejs-packages.
- It is the .husky/pre-commit file, it triggers
npm run pre-commit
task which works with the lint-staged task (much faster than our previous implementation'. I've also added .husky/pre-push to runnpm test
meaning, nothing will be pushed without passing tests, even if it is to forks.
Happy to adjust @Ruiub3i (for tag) :-)
Great, yes please do 1) so that we keep the build outside of the repo itself and just autobuilds in github actions
Also please resolve the conflicts, once done let me know :)
merged in master, resolved conflicts and updated the eslint to include a few extra folders that can be ignored for now. All yours @Ruiub3i :-)
@nodexchange does this substitute the previous pre-commit solution of [lint:fix, build, jsdoc:build]?
@nodexchange does this substitute the previous pre-commit solution of [lint:fix, build, jsdoc:build]?
hey, yeah, it does. Instead of pre-commit, now we have a full flexibility on all different git hooks, like commit, prepush, post-push etc.
Great @nodexchange can you pls resolve the conflicts so that I can merge?
Thanks!
Great @nodexchange can you pls resolve the conflicts so that I can merge?
Thanks!
all done! Should be resolved and ready to merge!
Thanks @nodexchange, now only left is the build/ files, since now we ignore all build files - so just need to remove any build/ ** - the rest looks ok :)
Great job!
@nodexchange let me know once that is done so that I can merge, all the rest looks great!
@nodexchange let me know once that is done so that I can merge, all the rest looks great!
sorry, missed it. On it right now.
@Ruiub3i , all good to merge. I was tripped by node upgrade to 14!!! Well done team!!!