GitShow/withastro/compiler
withastro

compiler

The Astro compiler. Written in Go. Distributed as WASM.

by withastro
Star on GitHubFork

Go

656 stars96 forks51 contributorsQuiet · 2mo agoSince 2021@astrojs/compiler@4.0.0

Meet the team

See all 51 on GitHub →
natemoo-re
natemoo-re240 contributions
github-actions[bot]Bot
github-actions[bot]217 contributions
matthewp
matthewp115 contributions
drwpow
drwpow42 contributions
MoustaphaDev
MoustaphaDev33 contributions
Princesseuh
Princesseuh31 contributions
bluwy
bluwy14 contributions
ematipico
ematipico10 contributions

Languages

View on GitHub →
Go84%
TypeScript15.9%
Dockerfile0.1%
Makefile0%

Commit activity

Last 12 weeks · 5 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
87
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent fixes

View closed PRs →
molszanski
Missing <body> tag if astro finds an unrecognized head tagClosedIssue

Astro Info If this issue only occurs in one browser, which browser is a problem? Chrome Describe the Bug Input: Output Notice the missing `` elements. Minimal Repro: https://stackblitz.com/edit/github-zkwgaq-g5un8g?file=src%2Fpages%2Findex.astro&file=src%2Flayouts%2FLayout.astro&on=stackblitz What's the expected result? valid html. Astro should omit tags it doesn't recogdnize / understand Link to Minimal Reproducible Example https://stackblitz.com/edit/github-zkwgaq-g5un8g?file=src%2Fpages%2Findex.astro&file=src%2Flayouts%2FLayout.astro&on=stackblitz Participation [ ] I am willing to submit a pull request for this issue.

molszanski · 2d ago
sarathfrancis90
Fix crash on Props generic containing a shift or comparison operatorMergedPR

While converting a component to TSX, panics with a slice-bounds error on valid TypeScript like: The scanner walks the generic parameter list tracking angle-bracket depth, but it treated any token containing `>=source[start:end]>>>>>Foo>TestGetPropsTypemain>>go test ./internal/...go vetgofmt` are clean, and the wasm build succeeds. Fixes withastro/astro#16232

sarathfrancis90 · 1w ago
olets
In page frontmatter, an env var condition followed by an import leaves an unterminated stringClosedIssue

Astro Info My real local example: Minimal reproduction: If this issue only occurs in one browser, which browser is a problem? _No response_ Describe the Bug In page frontmatter, an env var condition followed by an import leaves an unterminated string, which breaks the rest of the page. Checking the participation box because I'm _willing_, but it doesn't feel like my wheelhouse. What's the expected result? Env var use in frontmatter is not more restricted than the use of other values. Link to Minimal Reproducible Example https://stackblitz.com/edit/withastro-astro-nfmb4n?file=src%2Fpages%2Findex.astro Participation [X] I am willing to submit a pull request for this issue.

olets · 1w ago
Structured data for AI agents

Repository: withastro/compiler. Description: The Astro compiler. Written in Go. Distributed as WASM. Stars: 656, Forks: 96. Primary language: Go. Languages: Go (84%), TypeScript (15.9%), Dockerfile (0.1%), Makefile (0%). Latest release: @astrojs/compiler@4.0.0 (2mo ago). Open PRs: 1, open issues: 0. Last activity: 2mo ago. Community health: 87%. Top contributors: natemoo-re, github-actions[bot], matthewp, drwpow, MoustaphaDev, Princesseuh, bluwy, ematipico, jasikpark, delucis and others.

·@ofershap

Replace github.com with gitshow.dev