Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shiki lang path property support #9196

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Nov 27, 2023

Changes

#8996 added compat code to support Shiki languages with the path property, which will load files relative to node_modules/shiki/ by default, which isn't predictable and portable for us.

This PR reverts that PR. I've also thought about removing the rest of the shiki compat code, but I don't think there's a big reason to break those at the moment. I think it's best to have docs refer some areas as "shiki" still.

Testing

Existing tests should pass.

Docs

Should be added to migration guide.

Copy link

changeset-bot bot commented Nov 27, 2023

🦋 Changeset detected

Latest commit: e84cfef

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

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

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Nov 27, 2023
@bluwy bluwy merged commit 37697a2 into next Nov 27, 2023
13 checks passed
@bluwy bluwy deleted the remove-shiki-path-support branch November 27, 2023 16:46
@astrobot-houston astrobot-houston mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants