91f75afbc6
* add remote image dimension probing, and param for getImage options, and new astro error * add inferSize parameter to getImage, which probes remote image size, and respective types to picture and image component * add fixture and tests * add changeset * attempt to fix pnpm-lock.yaml * fix pnpm-lock.yaml again * pnpm-lock spacing * fix pnpm-lock AGAIN * better description of error for docgen * improve failed to probe error message and correct required dimensions error * increase timeout for mdx tests * increasing mdx timeout to 2min to see if it passes, will reduce if it does * setting mdx timeout to 70 seconds * Update packages/astro/src/assets/services/service.ts Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> * refactor to move logic to getImage instead of validateOptions and to not add a third type to image and picture * fix broken link created by docs PR * remove the probe-image-size library due to its use of node APIs * undo all changes to service.ts that were left after moving inferSize logic to getImage * update error message * remove probe-image-size library all together, update error message, add vendored version of complete image-size library instead of refactored version * Update .changeset/tame-cameras-change.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update .changeset/tame-cameras-change.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * reword the error message based on Sarah's previous review * remove probe-image-size from pnpmlock * fix lockfile? * update error message name * move image-size into vendor folder * add eslint ignore to a line in image-size * test if change to mdx test timeout was needed * Update .changeset/tame-cameras-change.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * update changset syntax * patch parse heif to account for filetype block being out of order --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> |
||
---|---|---|
.changeset | ||
.devcontainer | ||
.github | ||
.gitpod | ||
.vscode | ||
benchmark | ||
examples | ||
packages | ||
scripts | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.cjs | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitpod.yml | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
prettier.config.js | ||
README.md | ||
SECURITY.md | ||
SECURITY_CONTACTS | ||
STYLE_GUIDE.md | ||
tsconfig.base.json | ||
tsconfig.eslint.json | ||
tsconfig.json | ||
turbo.json |
Astro is a website build tool for the modern web —
powerful developer experience meets lightweight output.
Install
The recommended way to install the latest version of Astro is by running the command below:
npm create astro@latest
You can also install Astro manually by running this command instead:
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!
Directory
Several official projects are maintained outside of this repo:
Project | Repository |
---|---|
@astrojs/compiler | withastro/compiler |
Astro Language Tools | withastro/language-tools |
Links
Sponsors
Astro is free, open source software made possible by these wonderful sponsors.