astro/packages/astro
Ben Holmes 7c439868a3
[Markdoc] New config format with runtime variable support! (#6653)
* deps: esbuild

* feat: support direct component imports for render!

* deps: add devalue back

* refactor: remove unused components prop

* refactor: load experimental assets config separately

* fix: upate Content type def to support props

* refactor: replace astro stub with inline data

* feat: pass through viteId to getRenderMod

* fix: add back $entry var with defaults convention

* chore: remove unneeded validateRenderProps

* chore: remove uneeded validateComponents

* fix: remove userMarkdocConfig prop

* chore: add helpful error for legacy config

* deps: kleur

* fix: add back `isCapitalized`

* fix: log instead of throw to avoid scary stacktrace

* chore: delete more old logic (nice)

* chore: delete MORE unused utils

* chore: comment on separate assets config

* chore: remove console.log

* chore: general code cleanup

* test: new render config

* docs: new README

* fix: add expect-error on astro:assets

* feat: add defineMarkdocConfig helper

* docs: update example README

* test: add runtime variable

* chore: lint

* chore: changeset

* chore: add component import deletion

* docs: add notes on Vite fork

* fix: astro check

* chore: add `.mts` to markdoc config formats
2023-03-27 18:04:37 -04:00
..
components Implement RFC "A core story for images" (#6344) 2023-03-07 16:12:21 +01:00
e2e [ci] format 2023-02-15 14:30:50 +00:00
performance Set performance package markdoc version 2023-03-07 14:42:00 -05:00
scripts [ci] format 2022-11-16 13:59:51 +00:00
src [Markdoc] New config format with runtime variable support! (#6653) 2023-03-27 18:04:37 -04:00
test [ci] format 2023-03-27 19:37:29 +00:00
tsconfigs fix(tsconfig): Update tsconfig templates to ignore 5.0 deprecations (#6605) 2023-03-20 16:12:59 -03:00
astro-jsx.d.ts fix: updating HTML attribute types for the <link> element (#6639) 2023-03-24 15:36:11 -05:00
astro.js Fix CLI node version check (#5905) 2023-01-20 15:37:42 +08:00
CHANGELOG.md [ci] release (#6646) 2023-03-24 13:17:01 -04:00
client-base.d.ts fix(assets): Fix types to be more accurate (#6530) 2023-03-13 13:54:56 +01:00
client-image.d.ts fix(assets): Fix types to be more accurate (#6530) 2023-03-13 13:54:56 +01:00
client.d.ts Fixes type definitions @astrojs/image and adds more documentation to the README (#4045) 2022-07-27 15:39:05 +00:00
config.d.ts Fix types not working properly when using moduleResolution: 'node16' (#5108) 2022-10-17 11:29:39 -03:00
config.mjs [ci] format 2022-10-07 14:31:41 +00:00
env.d.ts Fix broken link in comments (#5798) 2023-01-09 15:23:43 +08:00
import-meta.d.ts Vendor Vite's importMeta.d.ts inside our repo to workaround issue with tsc on Linux (#4499) 2022-08-26 12:47:39 -03:00
package.json [ci] release (#6646) 2023-03-24 13:17:01 -04:00
playwright.config.js E2E stability (#5002) 2022-10-06 16:32:37 -04:00
README.md chore: update branding assets (#6436) 2023-03-06 14:03:33 -06:00
tsconfig.json Update compilation target for Node 16 (#6213) 2023-03-06 13:57:16 -05:00
types.d.ts fix(astro): add class:list to HTMLAttributes (#5284) 2022-11-03 08:05:22 -04:00
zod.d.ts Content Collections (#5291) 2022-12-16 14:19:53 -05:00
zod.mjs Content Collections (#5291) 2022-12-16 14:19:53 -05:00


Build the web you want

Astro is the all-in-one web framework designed for speed.
Pull your content from anywhere and deploy everywhere, all powered by your favorite UI components and libraries.

Install

# Recommended!
npm create astro@latest

# Manual:
npm install --save-dev astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our official documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other maintainers. We'll help you get your first contribution in no time!

Sponsors

Astro is generously supported by Netlify, Vercel, and several other amazing organizations listed here.

❤️ Sponsor Astro! ❤️