-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
move back to EC #382
move back to EC #382
Conversation
|
Thank you for submitting your Pull Request, the following links will become available for preview shortly:
|
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-11-25 01:38:37 CET |
This commit refactors the dropdown, modal, and theme-helper components. It includes updates to the compiler options to include the 'dom' library. Additionally, it fixes some issues and adds new functionality to the components. The changes are made to improve the overall code structure and maintainability.
This pull request includes a major refactor of the codebase, focusing on removing the usage of Shiki for syntax highlighting and replacing it with Expressive Code, as well as updating dependencies and cleaning up unused code. The most important changes are detailed below:
Dependency Updates:
pnpm-workspace.yaml
, including@astrojs/react
,@astrojs/starlight
, andastro
.Configuration Changes:
www/docs/astro.config.mts
and added new configuration for Expressive Code inwww/docs/ec.config.mjs
[1] [2] [3] [4] [5].Component Refactor:
Code.astro
andPackageManagers.astro
components, and replaced their usage with components fromstarlight-package-managers
[1] [2] [3] [4] [5] [6].TursoCLI.astro
to use the newCode
component from@astrojs/starlight/components
.Documentation Updates:
markdoc.mdx
andweb-vitals.mdx
[1] [2] [3] [4] [5] [6].Package Management:
pkg.ts
and updated the relevant imports and usage throughout the codebase.These changes collectively improve the maintainability and performance of the codebase by adopting a more modern syntax highlighting solution and removing outdated dependencies.