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
Robin Métral 397d8f3d84
Upgrade unified deps and improve unified plugins types (#1200)
* Upgrade @astrojs/markdown-support deps and update types

* Add changeset

* Update changeset

* Switch astro-markdown-plugins example to use rehype-autolink-headings

Usage of remark-autolink-headings is discouraged in favor of the rehype counterpart: https://github.com/remarkjs/remark-autolink-headings\#remark-autolink-headings

* Add stricter types for unified plugins

This includes a few suggestions from a code review:
- use vfile.toString instead of vfile.value.toString
- refactor plugins to follow unified best practices instead of returning functions that return a plugin
- use any instead of any[] for plugin options types

* Narrow down types to more specific hast or mdast typings
2021-08-25 08:17:45 -04:00
.changeset Upgrade unified deps and improve unified plugins types (#1200) 2021-08-25 08:17:45 -04:00
.github Fix linter errors and warnings (#1218) 2021-08-24 15:50:24 -04:00
.vscode Fix GoToDefinition for component imports (and component usage) (#1045) 2021-08-09 12:03:32 -04:00
assets fix: brand color 2021-05-16 10:06:12 -05:00
docs [ci] yarn format 2021-08-24 05:32:44 +00:00
examples Upgrade unified deps and improve unified plugins types (#1200) 2021-08-25 08:17:45 -04:00
packages Upgrade unified deps and improve unified plugins types (#1200) 2021-08-25 08:17:45 -04:00
scripts fix bad build script (#781) 2021-07-20 14:52:44 -07:00
tools Version Packages (#1217) 2021-08-24 16:11:51 -04:00
www Version Packages (#1217) 2021-08-24 16:11:51 -04:00
.editorconfig Adds .editorconfig file (#162) 2021-05-03 12:41:39 -05:00
.eslintignore Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
.eslintrc.cjs remove ignored lint rule 2021-08-23 22:18:27 -07:00
.gitignore Docs/fix sitesidebar template (#778) 2021-07-20 15:56:45 -05:00
.nvmrc set node version in nvmrc & engines to lts (#87) 2021-04-13 13:03:26 -04:00
.prettierignore Skip running format in .github/.changeset folder (#860) 2021-07-26 12:04:12 -04:00
.prettierrc.json Annoying Lint PR™ (#3) 2021-03-16 12:37:45 -06:00
CODE_OF_CONDUCT.md [ci] yarn format 2021-06-24 00:27:22 +00:00
CONTRIBUTING.md Update Governance + Contributor Model (#1120) 2021-08-18 17:07:50 -07:00
FUNDING.md [ci] yarn format 2021-08-18 05:40:42 +00:00
FUNDING.yml Create FUNDING.md (#1137) 2021-08-17 22:39:20 -07:00
GOVERNANCE.md [ci] yarn format 2021-08-19 00:09:06 +00:00
lerna.json Format (#167) 2021-05-03 12:26:10 -06:00
LICENSE redesign create-astro (#301) 2021-06-08 11:10:56 -04:00
package.json fix: language server 2021-08-11 15:35:32 -05:00
README.md Add README to packages/astro (#313) 2021-06-07 17:38:22 -05:00
tsconfig.base.json Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
yarn.lock Upgrade unified deps and improve unified plugins types (#1200) 2021-08-25 08:17:45 -04:00

Astro is a fresh but familiar approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. Use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default.

Announcement Post →

Full Documentation Site →

Project Status

⚠️ Astro is still an early beta, missing features and bugs are to be expected! If you can stomach it, then Astro-built sites are production ready and several production websites built with Astro already exist in the wild. We will update this note once we get closer to a stable, v1.0 release.

Quick Start

# get started with astro in 3 easy steps:
mkdir new-project-directory
cd new-project-directory
npm init astro

Full Documentation Site →