Closed urish closed 6 years ago
Sounds interesting, in terms of the interface you might want to take a look at the istanbul js frontend nyc. They also perform instrumentation and get coverage information from running the test suite. Especially nice is their mocha integration: if your code is already instrumented you just run nyc mocha some-test.js
and it 'magically' gets the coverage information without any changes to the tests.
I think that longer term we'd want some sort of UI (especially in the Webpack Plugin's case), something similar to the mobx dev tools.
All in all, a more comfortable CLI experience is something I can get behind.
I prepared the ground for this by renaming the core library to typewiz-core
(as part of #56), so now we have typewiz
free for the CLI or whatever :)
After trying TypeWiz on several different projects, I find it useful to have a CLI tool that will be able to perform the following tasks:
I am thinking about renaming the core API of typewiz to
typewiz-core
, and then usingtypewiz
package to the CLI, so as a user you just installtypewiz
and can use it (most users shouldn't care about the API part too much).I'd love to hear user thoughts about this!