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.06k stars 51 forks source link

feat: upgrade shiki to 0.10.1 #156

Closed crutchcorn closed 2 years ago

crutchcorn commented 2 years ago

This PR upgrades the upstream dependency of shiki to 0.10.1.

I was unable to find a changelog of what was changed in shiki@0.10.0 over 0.9.15 outside of this list of commits:

https://github.com/shikijs/shiki/compare/1d5379138d706239c6bf9c337f655d40ad0bd92e...v0.10.0

And looking through each of the commits, I couldn't see an obvious breaking API that would require major refactor work.

Closes #155

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 53d373032e53be6ebe933b3877f08fe6adb6a022

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 9 packages | Name | Type | | -------------------------------- | ----- | | eleventy-plugin-shiki-twoslash | Minor | | markdown-it-shiki-twoslash | Minor | | remark-shiki-twoslash | Minor | | shiki-twoslash | Minor | | docusaurus-preset-shiki-twoslash | Patch | | gatsby-remark-shiki-twoslash | Patch | | hexo-shiki-twoslash | Patch | | twoslash-cli | Patch | | vuepress-plugin-shiki-twoslash | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

crutchcorn commented 2 years ago

Happy to add a changeset - should this be marked as a major change or minor?

orta commented 2 years ago

I don't have write access to make the changeset - but I'd say this is probably a minor, I also don't think there should be any user-land changes from this

crutchcorn commented 2 years ago

Changeset has been added. Wasn't quite sure what more to write for the CHANGESET, let me know if there's a better way to communicate the new features/syntaxes supported by the new versions of Shiki

orta commented 2 years ago

This should be fine

crutchcorn commented 2 years ago

@orta this doesn't seem to've published according to NPM and the build logs:

gatsby-remark-shiki-twoslash: fetching versions... gatsby-remark-shiki-twoslash: got 52 published versions. gatsby-remark-shiki-twoslash: 3.0.34 is already published. skipping.

orta commented 2 years ago

I still like to have a human hand in deployment, that's gone through now