0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/packages/astro
Bjorn Lu 302e0ef8f5
Default preview host to localhost (#5753)
* Initial refactor

* Extract as vite plugin

* Cleanup vite plugin

* Reduce option passing

* Use localhost as preview default host

* Simplify base handling

* Fix host handling

* Add changeset

* Remove unused imports

* Remove unused sirv dep

* Try pin playwright to 1.28.1

* Update playwright

* Try this

* Speed up CI

* Try fix page off

* Refactor networkidle

* Ensure open connections are destroyed when the preview server is closed

* Revert debug code

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-01-09 12:14:07 -05:00
..
components Fix spelling mistakes found by codespell and mwic (#5627) 2022-12-19 12:00:00 +01:00
e2e Remove legacy.astroFlavoredMarkdown (#5771) 2023-01-05 16:20:40 -05:00
scripts [ci] format 2022-11-16 13:59:51 +00:00
src Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
test Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
tsconfigs Add template tsconfigs for users to extend from (#4439) 2022-08-25 15:15:27 -04:00
astro-jsx.d.ts Add missing fetchpriority attribute to ImgHTMLAttributes (#5433) 2022-11-17 14:20:09 -04:00
astro.js
CHANGELOG.md [ci] release (beta) (#5742) 2023-01-06 13:00:12 -05:00
client-base.d.ts feat: add support for other markdown file extensions (#5164) 2022-10-26 10:18:49 -04:00
client.d.ts
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 Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
playwright.config.js E2E stability (#5002) 2022-10-06 16:32:37 -04:00
README.md Fix spelling mistakes found by codespell and mwic (#5627) 2022-12-19 12:00:00 +01:00
tsconfig.json Move module declarations for Markdown and MDX so they're available everywhere (#4928) 2022-09-30 12:06:14 -03: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


Astro logo

Astro is a website build tool for the modern web —
powerful developer experience meets lightweight output.

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! ❤️