The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ️ Star to support our work!
Find a file
Nate Moore 72c2c86e9d
merge next into main (#2705)
* Unflag the static build (#2652)

* Unflag the static build

* Only set legacyBuild to false if experimentalSSR is true

* Use legacy build when we have to

* Put a few more tests into legacy mode

* Last two

* Make astro-basic use the legacy build

* Adds a changeset

* Mark the lit test as legacy

* Update yarn lock

* Update based on feedback

* Add --legacy-build flag

* Move astro-basic test to use static build (#2682)

* Move some tests over to the static build (#2677)

* Move some tests over to the static build

* Fix assets tests

* Fix the assets tests

* Fix for the client:only components

* Moves asset tests to the static build

* Move postcss test over to static build

* Bring back legacy build for astro-basic test

* Move astro-basic test to use static build

* Migrate more tests to the static build (#2693)

* fix: disable HMR during build (#2684)

* Migrate more tests to the static build

* Only prepend links in non-legacy mode

* Add the 0-css tests

* Convert all CSS tests to the static build

* Migrate Astro global tests

* Remove .only

* Fix static build tests

* Migrate a few more

* More tests

* Move the lit test back to legacy

* Increase the test timeout

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Improve `head` injection behavior (#2436)

* feat: add renderHead util to server

* feat: remove `layouts` from config, Vite plugin

* fix: improve head injection during rendering

* chore: update compiler

* fix: do not escape links

* chore: enter `pre` mode

* Replace `send` with `sirv` (#2713)

* remove send

* Create thick-ravens-chew.md

* I feel like I'm going to screw something up

* working finally!

* rewrite req.url

* Add tiny bit of doc

* Update .gitignore

Co-authored-by: Evan Boehs <evan@boehs.org>

* Move remaining tests to the static build (#2712)

* Move lit test to the static build

* Migrate astro-env plugin to work in the static build

* Do not remove vite:define

* Adds a changeset

* Add a warning when passing the --experimental-static-build flag (#2718)

* Add a warning when passing the --experimental-static-build flag

* Disable the lint warning

* [ci] release (next) (#2721)

* [ci] release (next)

* chore: update changeset

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>

* 404 page (#2719)

* Fix: build to 404.html in the static build

* Adds a changeset

* fix pnpm install missing peer deps

* fix svelte version in workspace

* fix lockfile

* fix(webapi): add dev script

* improve preview reliability (#2739)

* improve preview reliability - fix broken tests

* shamefully hoist to unblock

* remove lit from test running

* chore: update lockfile

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Evan Boehs <evan@boehs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-09 15:44:26 -06:00
.changeset merge next into main (#2705) 2022-03-09 15:44:26 -06:00
.github chore: update actions (#2738) 2022-03-09 13:12:12 -03:00
.vscode Fix GoToDefinition for component imports (and component usage) (#1045) 2021-08-09 12:03:32 -04:00
assets Remove SVG animation on GitHub/NPM (#2512) 2022-01-31 17:36:25 -06:00
docs Remove docs from monorepo (#2517) 2022-02-07 13:39:53 -05:00
examples merge next into main (#2705) 2022-03-09 15:44:26 -06:00
packages merge next into main (#2705) 2022-03-09 15:44:26 -06:00
scripts merge next into main (#2705) 2022-03-09 15:44:26 -06:00
smoke Refactor smoke tests to use submodules (#2702) 2022-03-02 16:08:42 -06:00
tools/vscode/syntaxes Remove VSCode and Langauge Server from this monorepo (#1230) 2021-08-26 13:14:47 -04:00
www chore: remove www (#2361) 2022-01-11 12:59:06 -06:00
.editorconfig Use accessible indentation (#2253) 2021-12-22 16:11:05 -05:00
.eslintignore Improve GitHub Actions (#2041) 2021-11-29 15:11:15 -06:00
.eslintrc.cjs Fix subpath support regressions (#2330) 2022-01-06 16:32:24 -05:00
.git-blame-ignore-revs Create .git-blame-ignore-revs (#2254) 2022-01-07 15:02:37 -08:00
.gitignore Adds memory leak test in CI (#2616) 2022-02-18 14:23:47 -06:00
.gitmodules Refactor smoke tests to use submodules (#2702) 2022-03-02 16:08:42 -06:00
.gitpod.yml Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
.npmrc merge next into main (#2705) 2022-03-09 15:44:26 -06:00
.nvmrc Add Migration Guide to docs (#1751) 2021-11-12 07:40:49 -05:00
.prettierignore chore: npmrc update (#2742) 2022-03-09 12:36:56 -06:00
.prettierrc.json fix failing format command in CI (#2696) 2022-03-01 11:59:06 -08:00
CODE_OF_CONDUCT.md [ci] yarn format 2021-06-24 00:27:22 +00:00
CONTRIBUTING.md Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
FUNDING.md format 2022-02-09 12:34:06 -08:00
FUNDING.yml Create FUNDING.md (#1137) 2021-08-17 22:39:20 -07:00
GOVERNANCE.md [ci] yarn format 2022-02-16 23:08:33 +00:00
LICENSE refactor dev to use vite server (#2494) 2022-01-31 14:44:40 -05:00
netlify.toml Remove docs from monorepo (#2517) 2022-02-07 13:39:53 -05:00
package.json merge next into main (#2705) 2022-03-09 15:44:26 -06:00
pnpm-lock.yaml merge next into main (#2705) 2022-03-09 15:44:26 -06:00
pnpm-workspace.yaml fix format (#2736) 2022-03-08 15:20:04 -08:00
README.md Add README to packages/astro (#313) 2021-06-07 17:38:22 -05:00
STYLE_GUIDE.md Move from yarn to pnpm (#2455) 2022-03-08 15:46:11 -06:00
tsconfig.base.json Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
turbo.json fix format (#2736) 2022-03-08 15:20:04 -08:00

Astro is a new kind of static site builder for the modern web—powerful developer experience meets lightweight output.

🚀 Read the launch post →

📚 Learn Astro →

Project Status

⚠️ Astro is still beta software—missing features and bugs are to be expected! We are quickly working our way towards a stable, production-ready v1.0 release, but we are still finalizing some of Astro's APIs.

That being said, there are quite a few Astro sites in production already. We're incredibly grateful to everyone who has made an early bet on Astro!

Quick Start

👾 Online 📦 Local

Try Astro in your browser!

Launch astro.new →

Get started with Astro using our interactive CLI!

npm init astro my-astro-project

Sponsors

You can sponsor Astro's development on Open Collective. Astro is generously supported by the following companies and individuals:

Platinum Sponsors

NetlifyNetlify VercelVercel

Gold Sponsors

‹div›RIOTS ‹div›RIOTS StackUp Digital StackUp Digital

Sponsors

SentryQoddi App Platform