Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 4.38 KB

astro-and-volar.mdx

File metadata and controls

55 lines (39 loc) · 4.38 KB
title description publishDate authors coverImage socialImage lang
Astro + Volar = 💖
Astro relies on the hard work and dedication of several open-source projects, and we are extremely thankful to the maintainers of each and every one. In this article, we'd like to highlight one specific project that made a significant impact to the Astro experience: Volar.
March 11, 2024
erika
/src/content/blog/_images/astro-ecosystem-love/post-header.webp
/src/content/blog/_images/astro-ecosystem-love/social-og.webp
en

import volarPRImage from "./_images/astro-ecosystem-love/volar-pr.webp" import volarLogo from "./_images/astro-ecosystem-love/volar.svg" import Blockquote from "/src/components/Blockquote.astro" import BlogContentImage from "/src/components/BlogContentImage.astro" import { Image } from "astro:assets"; import ImageFigure from "/src/components/ImageFigure.astro" import xkcdComic from "./_images/astro-ecosystem-love/dependency_2x.webp"

At Astro, we want you to be able to build websites using the tools that you prefer. Supporting such a wide variety of developer choices requires an enormous amount of work, and it is an understatement to say that we wouldn't be able to do it all without a little help from our friends.

From the small utilities like kleur (to provide cute colors in the terminal) and tsconfck (to load your tsconfig.json), to the larger, more well-known dependencies like sharp (to process and optimize images) and shiki (to provide syntax highlighting), Astro is built on the shoulders of giants, and we are extremely thankful for the work that the maintainers of these projects have done.

In this article, we'd like to highlight one specific project that we have been able to benefit from: Volar.

Volar's logo

Last year, the Vue team announced that they would transform their language server into a framework-agnostic set of tools called Volar. Similar to Vite, the goal of Volar is to provide a reliable base for frameworks to build upon.

We quickly started to work on migrating Astro's language server to Volar, knowing it would improve the developer experience for Astro users.

After only a few weeks, we merged the pull request and received more benefits than just a revamped language server: we also removed a huge amount of code, closed a lot of issues, and have now significantly reduced our maintenance cost.

Today, we announced that we are giving a 10,000$ grant to the Volar team as a thank you for the work they have done, and to help them continue to provide a great experience for their users, Astro users, and the wider ecosystem.

Since Volar is also already used by Vue and MDX, with more frameworks considering it, we believe that this grant will benefit the entire ecosystem. It's a win-win for everyone involved!

A big thank you to everyone

Open-source is very often a thankless job. Most projects are maintained by a very small group of people (if not a single person!), often in their spare time. From staying on top of GitHub comments, to merging pull requests, writing documentation, and maybe even actually writing some code, it's a ... well, it's a lot.

A vaguely stable tower of blocks representing dependencies, a small block keeping the entire thing together is highlighted with the text 'A project some random person in Nebraska has been thanklessly maintaining since 2003'

We at Astro are extremely thankful for the tireless efforts of the maintainers of all the projects we depend on and will continue to do our best to support them in any way we can.