Rejuvenate code base
make-github-pseudonymous-again opened this issue · 15 comments
make-github-pseudonymous-again commented
- Use latest version of
ava. - Configure
xo - Use
renovate - Ignore and remove generated
libdirectory - Migrate from
@babel/polyfill(replace withregenerator-runtime/runtimewhere possible)
make-github-pseudonymous-again commented
(See what has been done for @aureooms/js-tape, @aureooms/texshake, and @aureooms/js-fingertree)
make-github-pseudonymous-again commented
-
Define our own extension of the conventional commit convention (see https://gitmoji.carloscuesta.me for ideas):
-
i18n
-
ui
-
ux
-
remove
-
trash
-
lint
-
hotfix
-
deployment
-
initial
-
security
-
release
-
progress
-
upgrade
-
downgrade
-
pin
-
deprecate
-
config
-
typo
-
revert
-
merge
-
license
-
ignore
-
experiment
make-github-pseudonymous-again commented
- Use
lgtmand theirshields.iobadges:
Alerts: /lgtm/alerts/:host/:user/:repo.svg
Code Quality: /lgtm/grade/:language/:host/:user/:repo.svg
make-github-pseudonymous-again commented
- Use newest code-climate test reporter in
.travis.yml:
language: node_js
node_js:
- node
install:
- npm install
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- npm run cover
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- bash <(curl -s https://codecov.io/bash) || true
- coveralls < coverage/lcov.info || true
make-github-pseudonymous-again commented
- Use
npfor releases.
make-github-pseudonymous-again commented
- Use
gitmoji-clifor commits?
make-github-pseudonymous-again commented
- Use
assertorpower-assertorconsole.asserttogether with ababelplugin forunassertor equivalent. - Get correct line numbering in
avaoutput?
make-github-pseudonymous-again commented
- Use
cronometrofor benchmarks.
make-github-pseudonymous-again commented
- Use
transform-remove-consoleto removeconsole.debugcalls.
make-github-pseudonymous-again commented
- Use @pika/pack for bundling. In particular, find a way to produce a node-friendly distribution, a bundler-friendly distribution (see the webpack docs on tree shaking), and a CDN friendly distribution.
The preact distribution is a good example. It uses microbundle which, unlike @pika/pack, looks configurable and alive.
make-github-pseudonymous-again commented
- Use the sideEffects key in
package.json.
make-github-pseudonymous-again commented
make-github-pseudonymous-again commented
- Do NOT transform generator and async syntax with Babel. Those are supported by modern browsers and node 14.
See
make-github-pseudonymous-again commented