shikijs / twoslash

You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples
https://shikijs.github.io/twoslash/
MIT License
1.08k stars 53 forks source link

Should move deasync to dependency in markdown-it-shiki-twoslash #53

Closed DanielRosenwasser closed 3 years ago

DanielRosenwasser commented 3 years ago

Right now trying to run this package will fail at runtime because deasync won't be installed.

frencojobs commented 3 years ago

Makes sense, it could be problematic for certain cases such as on prod CI with npm i --only=prod which will avoid installing devDependencies. PR-ed a fix.