Skip to content

Commit fbe129b

Browse files
committed
Squashed commit of the following:
commit fbab73c Author: matthewp <[email protected]> Date: Tue Mar 7 16:38:11 2023 +0000 [ci] format commit a206106 Author: Matthew Phillips <[email protected]> Date: Tue Mar 7 11:35:54 2023 -0500 Expose the ssr manifest (#6435) * Expose the ssr manifest * Add changeset * Add types for virtual mod commit 2751584 Author: Princesseuh <[email protected]> Date: Tue Mar 7 15:14:15 2023 +0000 [ci] format commit 694918a Author: Erika <[email protected]> Date: Tue Mar 7 16:12:21 2023 +0100 Implement RFC "A core story for images" (#6344) * feat(assets): Add Vite plugin * feat(images): Set up Image component * fix(types): Attempt to fix type generation * Revert "fix(types): Attempt to fix type generation" This reverts commit 063aa27. * fix(image): Fix image types causing build to fail * feat(image): Implement client side part * feat(services): Allow arbitrary transforms parameters * fix(image): Fix paths and types * config(types): Update config types to provide completions for available services * feat(image): Add serving in dev * feat(image): Improve type error messages * refactor(image): Move sharp's parseParams to baseService * refactor(image): Skip work in dev for remote servies * feat(image): Add support for remote images * feat(image): Add squoosh service * chore: update export map * refactor(image): Abstract attributes handling by services * config(vercel): Remove test image service * feat(image): Support for relative images in Markdown (WIP) * feat(images): Add support for relative images in Markdown * feat(image): Update with RFC feedback * fix(image): Fix alt error on getImage * feat(image): Add support for assets validation through content collections * feat(image): Remove validateTransform * feat(image): Move to assets folder * fix(image): Fix package exports * feat(image): Add static imports references to virtual moduel * fix(image): Fix images from content collections not working when embedded * chore: lockfile * fix(markdown): Fix type * fix(images): Flag enhanced images behing an experimental flag * config(example): Update images example conifg * fix(image): Fix types * fix(image): Fix asset type for strict, allow arbritary input and output formats * chore: fix example check * feat(image): Emit assets for ESM imported images * Add initial core image tests (#6381) * feat(images): Make frontmatter extraction more generic than images for future * feat(image): Add support for building * fix(image): Fix types * fix(images): Fix compatibility with image integration * feat(images): Cuter generation stats * fix(images): Globals are unsafe, it turns out * fix(images): Only generate images if flag is enabled * fix(images): Only create `addStaticImage` in build * feat(images): Add SSR endpoint * fix(images): Only inject route in SSR * Add tests for SSR * Remove console.log * Updated lockfile * rename to satisfy the link gods * skip build tests for now * fix(images): Fix WASM files not being copied in dev * feat(images): Add quality presets * fix build tests running * Remove console.log * Add tests for getImage * Test local services * Test the content collections API * Add tests for quality * Skipping content collections test * feat(image): Add support for `~/assets` alias * test(image): Add tests for aliases in dev * Fix windows + content collections * test(image): Add tests for aliased images and images in Markdown * Fix markdown images being built * Should be posix join * Use the optimized image * fix test * Fixes windows smoke * fix(image): Nits * feat(images): Add automatic update for `env.d.ts` when experimental images are enabled * fix(images): Revert env.d.ts change if the user opted-out of the experimental image support * chore: remove bad image example project * feat(image): Rename `experimental.images` to `experimental.assets` * fix(images): Remove unused code in MDX integration * chore: Remove unrelated change * fix(images): Remove export from astro/components * Fix, esm import on Win * test(images): Add test for format * fix(images): Add `client-image.d.ts` to export map * chore: changeset * fix(images): Adjust with feedback, no more automatic refine, asset() -> image() * fix(images): Fix types * fix(images): Remove unnecessary spread * fix(images): Better types for parseUrl and transform * fix(images): Fix types * fix(images): Adjust from feedback * fix(images): Pass width and height through getHTMLAttributes even if they're not added by the uesr * fix(images): Recusirsively extract frontmatter assets * fix(images): Use a reduce instead * feat(images): Add support for data: URIs * chore: changeset * docs(images): Misc docs fixes * Update .changeset/gold-rocks-cry.md Co-authored-by: Chris Swithinbank <[email protected]> * Update .changeset/gold-rocks-cry.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <[email protected]> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <[email protected]> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <[email protected]> * Update packages/astro/src/assets/services/service.ts Co-authored-by: Chris Swithinbank <[email protected]> * Update packages/astro/src/assets/types.ts Co-authored-by: Chris Swithinbank <[email protected]> * Update packages/astro/src/assets/types.ts Co-authored-by: Chris Swithinbank <[email protected]> --------- Co-authored-by: Matthew Phillips <[email protected]> Co-authored-by: Matthew Phillips <[email protected]> Co-authored-by: Chris Swithinbank <[email protected]> Co-authored-by: Sarah Rainsberger <[email protected]> commit 377530a Author: ematipico <[email protected]> Date: Tue Mar 7 13:43:21 2023 +0000 [ci] format commit fe88f89 Author: Emanuele Stoppa <[email protected]> Date: Tue Mar 7 13:41:24 2023 +0000 chore: use directive `@ts-expect-error` instead of `@ts-ignore` (#6429) commit e1858e6 Author: ematipico <[email protected]> Date: Tue Mar 7 06:57:52 2023 +0000 [ci] format commit 75921b3 Author: Emanuele Stoppa <[email protected]> Date: Tue Mar 7 06:55:41 2023 +0000 feat(cli): add `--watch` to `astro check` command (#6356) * feat(cli): add `--watch` to `astro check` command * chore: refactor in a leaner way, logic not changed * chore: lint * chore: revert changes in sync command * chore: tweak server settings * test: add one test case * chore: increase timeout * test: predictable testing * chore: add changeset * chore: code suggestions * code suggestions * chore: use directly `chokidar` * chore: tweak code * fix: open documents first * chore: disable test * chore: code suggestions * chore: code suggestions * Apply suggestions from code review Co-authored-by: Erika <[email protected]> * code suggestions * chore: rebase --------- Co-authored-by: Erika <[email protected]> commit 1291afc Author: Bjorn Lu <[email protected]> Date: Tue Mar 7 14:50:34 2023 +0800 Fix changeset run (#6442) commit 00a0af7 Author: Bjorn Lu <[email protected]> Date: Tue Mar 7 10:52:47 2023 +0800 Move benchmark package and update changeset config (#6433) commit af05a4f Author: Nate Moore <[email protected]> Date: Mon Mar 6 14:06:33 2023 -0600 Update README.md (#6437) * Update README.md * Update README.md commit 8ebf4b7 Author: Nate Moore <[email protected]> Date: Mon Mar 6 14:03:33 2023 -0600 chore: update branding assets (#6436) commit afbbc4d Author: Erika <[email protected]> Date: Mon Mar 6 19:57:16 2023 +0100 Update compilation target for Node 16 (#6213) * config(esbuild): Update esbuild target to node16 * config(package): Update root package.json node engine * config(tsconfig): Update all the tsconfigs module and targets * chore: changeset * chore: remove unneeded file commit 18acae3 Author: Sarah Rainsberger <[email protected]> Date: Mon Mar 6 14:36:40 2023 -0400 [error docs] update link for client-side scripts (#6423) commit 8b49d17 Author: ematipico <[email protected]> Date: Mon Mar 6 17:03:18 2023 +0000 [ci] format commit a4a74ab Author: Emanuele Stoppa <[email protected]> Date: Mon Mar 6 16:58:56 2023 +0000 feat(cli): add help flags to various commands (#6394) Co-authored-by: Happydev <[email protected]> commit b087b83 Author: Dennis Morello <[email protected]> Date: Mon Mar 6 17:38:42 2023 +0100 Add getStaticPaths type helpers to infer params and props (#6150) * feat(astro): add InferGetStaticParamsType and InferGetStaticPropsType type helpers * chore(astro): added changeset commit 19fe4cb Author: Houston (Bot) <[email protected]> Date: Mon Mar 6 08:30:38 2023 -0800 [ci] release (#6414) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent eac40e3 commit fbe129b

File tree

249 files changed

+15969
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+15969
-593
lines changed

.changeset/cool-bags-mix.md

-5
This file was deleted.

.changeset/flat-candles-glow.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': minor
3+
---
4+
5+
Add getStaticPaths type helpers to infer params and props

.changeset/gold-rocks-cry.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'astro': minor
3+
'@astrojs/mdx': minor
4+
'@astrojs/markdown-remark': minor
5+
---
6+
7+
Add a new experimental flag (`experimental.assets`) to enable our new core Assets story.
8+
9+
This unlocks a few features:
10+
- A new built-in image component and JavaScript API to transform and optimize images.
11+
- Relative images with automatic optimization in Markdown.
12+
- Support for validating assets using content collections.
13+
- and more!
14+
15+
See [Assets (Experimental)](https://docs.astro.build/en/guides/assets/) on our docs site for more information on how to use this feature!

.changeset/heavy-kids-heal.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': minor
3+
---
4+
5+
Expose the manifest to plugins via the astro:ssr-manifest virtual module

.changeset/lovely-elephants-peel.md

-5
This file was deleted.

.changeset/old-rivers-remember.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': minor
3+
---
4+
5+
Add `--help` to various commands: `check`, `sync`, `dev`, `preview`, and `build`

.changeset/six-moons-taste.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': minor
3+
---
4+
5+
Added a new `--watch` flag to the command `astro check`

.changeset/wicked-pumpkins-punch.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
'astro': minor
3+
'@astrojs/prism': minor
4+
'@astrojs/rss': minor
5+
'create-astro': minor
6+
'@astrojs/alpinejs': minor
7+
'@astrojs/cloudflare': minor
8+
'@astrojs/deno': minor
9+
'@astrojs/image': minor
10+
'@astrojs/lit': minor
11+
'@astrojs/mdx': minor
12+
'@astrojs/netlify': minor
13+
'@astrojs/node': minor
14+
'@astrojs/partytown': minor
15+
'@astrojs/preact': minor
16+
'@astrojs/prefetch': minor
17+
'@astrojs/react': minor
18+
'@astrojs/sitemap': minor
19+
'@astrojs/solid-js': minor
20+
'@astrojs/svelte': minor
21+
'@astrojs/tailwind': minor
22+
'@astrojs/turbolinks': minor
23+
'@astrojs/vercel': minor
24+
'@astrojs/vue': minor
25+
'@astrojs/markdown-remark': minor
26+
'@astrojs/telemetry': minor
27+
'@astrojs/webapi': minor
28+
---
29+
30+
Updated compilation settings to disable downlevelling for Node 14

.changeset/witty-taxis-accept.md

-5
This file was deleted.

.github/assets/banner.png

2.49 MB
Loading

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![The Astro logo.](assets/social/banner-minimal.png 'The Astro logo.')
1+
![Build the web you want](.github/assets/banner.png 'Build the web you want')
22

33
<p align="center">
44
<br/>

assets/brand/file-icon.svg

-3
This file was deleted.

assets/brand/icon-32.svg

-15
This file was deleted.

assets/brand/logo-square-black.png

-205 KB
Binary file not shown.

assets/brand/logo-square-white.png

-181 KB
Binary file not shown.

assets/brand/logo-white.svg

-22
This file was deleted.

assets/brand/logo.svg

-22
This file was deleted.

assets/social/avatar.png

-1.12 MB
Binary file not shown.

assets/social/banner-minimal.png

-41.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)