Modernization
Opened this issue · 4 comments
jcorbin commented
- updated eslint; #28
- switch to nyc; #30
- make things pass minimal tsserver-active $EDITOR-ing
- switch to github actions; #33
- comply to eslint:recommended; #46
- add integration test coverage over the
kni.js
command module; part of #49 - add minimal tsconfig and tsc test/lint pass to CI; #54
- ratchet up tsconfig strictness
- gradually @ts-check everything
- audit dependencies, updating critical ones, dropping, or subsuming so that they all type check
- xorshift -- probably subsume ; e.g. the copy from https://github.com/borkshop/js/blob/main/cdom/prng.js
- system -- switch to rollup and/or snowpack ; need investigation
- shon -- probably update upstream ?
- tee -- update, find a replacement, or subsume
- table -- check for update
- pop-equals -- TBD it's a test dependency, so could be shifted to devDeps?
- emit ts definitions and figure out the (pre-)publish story
- switch to promises
- use async / await
- switch to ESM
jcorbin commented
Update: istanbul's use of esprima blocks #21 similarly to eslint's parser issues; will update to nyc next, and sort out it's parsing deal
kriskowal commented
pop-equals
could probably be inline or simplified. It’s one of my own dead-ends.
tee
could probably be inlined and simplified. Just need an object that forwards to two.
shon
is also an ill-advised kris special but one I like if you’re up for lifting it upstream.
jcorbin commented