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 17c02925c5
Migrate to new config (#2962)
* wip: config migration

* fix: formatting

* refactor: projectRoot -> root

* refactor: pageUrlFormat -> format

* refactor: buildOptions.site -> site

* refactor: public -> publicDir

* refactor: dist -> outDir

* refactor: styleOptions -> style

* fix: some dist tests -> outDir

* refactor: remove legacyBuild (with TODOs)

* refactor: more legacyBuild cleanup

* refactor: server host and port

* fix: remove experimentalStaticBuild CLI flag

* refactor: src -> srcDir

* refactor: devOptions.trailing -> trailing

* refactor: remove sitemap + related flags

* refactor: experimentalSSR -> experimental.ssr

* fix: last devOptions

* refactor: drafts -> markdown.drafts

* fix: TS error on port as const

* refactor: remove pages

* refactor: more --project-root updates

* refactor: markdownOptions -> markdown

* fix: remaining type errors

* feat: update AstroUserConfig

* refactor: update CLI flag mapper + server mapper

* fix: loadFixture projectRoot

* fix: merge CLI flags before validating / transforming

* wip: attempt to fix bad createRouteManifest config

* refactor: combine config.base and config.site

* fix: skip route manifest test for now

* fix: site and base handling

* refactor: update failing config testes

* fix: build failure

* feat: update config types with migration help

* chore: update types

* fix(deno): update deno fixture

* chore: remove config migration logic

* chore: remove logLevel

* chore: clean-up config types

* chore: update config warning

* chore: add changeset

* Sitemap Integration (#2965)

* feat: add sitemap filter config option

* feat: add canonicalURL sitemap config option

* docs: update sitemap README

* fix: update for new config

* fix: filter not being applied

* chore: changeset

Co-authored-by: bholmesdev <hey@bholmes.dev>

* fred pass

* fix: Astro.resolve typo

* fix: public => publicDir

Co-authored-by: bholmesdev <hey@bholmes.dev>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-04-02 12:29:59 -06:00
.changeset Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
.github Deno adapter (#2934) 2022-03-30 08:42:19 -04:00
.gitpod logic for opening example projects (#2811) 2022-03-16 10:24:01 -05:00
.vscode [ci] format 2022-03-22 03:16:42 +00:00
assets Remove SVG animation on GitHub/NPM (#2512) 2022-01-31 17:36:25 -06:00
examples Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
packages Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
scripts Migrate to new config (#2962) 2022-04-02 12:29:59 -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 cleanup the repo, remove outdated files and folders (#2771) 2022-03-14 11:41:57 -07:00
.git-blame-ignore-revs Create .git-blame-ignore-revs (#2254) 2022-01-07 15:02:37 -08:00
.gitignore chore: vscode files (#2844) 2022-03-21 20:16:04 -07:00
.gitmodules Refactor smoke tests to use submodules (#2702) 2022-03-02 16:08:42 -06:00
.gitpod.Dockerfile Gitpod setup improvements (#2789) 2022-03-15 16:03:26 -05:00
.gitpod.yml logic for opening example projects (#2811) 2022-03-16 10:24:01 -05: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 chore: remove @astrojs/parser (#2845) 2022-03-21 12:30:23 -05:00
package.json Deno adapter (#2934) 2022-03-30 08:42:19 -04:00
pnpm-lock.yaml Implement new default script behavior, style is:global (#2961) 2022-04-02 12:34:25 -05: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 add build:ci command which skips tsc (#2869) 2022-03-23 19:46:16 -05: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