0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-31 23:31:30 -05:00
Commit graph

8810 commits

Author SHA1 Message Date
Alan
a3b9b91caf
Make Biome formatting work out-of-the-box in VS Code () 2024-08-23 16:29:50 +08:00
Houston (Bot)
cf65476b27
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-22 16:56:59 -04:00
Ben Holmes
3f7630afd6
Actions: fix bad action result for actions with empty return value ()
* fix: correctly handle empty action response

* fix(test): add logout button test

* chore: changeset
2024-08-22 07:02:48 -04:00
Ben Holmes
4db5c74dd1 [ci] format 2024-08-22 09:52:18 +00:00
Ben Holmes
62e97a20f7
Actions: Allow effect chaining on form input validators ()
* feat: support effects on form validators

* feat: support object passthrough on form input

* feat: support infinitely nested effects with simplified types

* feat(test): ensure arbitrary schemas work with form data

* chore: changeset

* fix: support zod pipe()
2024-08-22 05:51:24 -04:00
Ben Holmes
260c4be050
Actions: expose ActionAPIContext ()
* feat: expose ActionAPIContext

* feat: expose ActionAPIContext
2024-08-22 05:51:06 -04:00
Houston (Bot)
22ceb48302
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 17:08:38 -04:00
Emanuele Stoppa
735767f8df
ci: use issue_comment () 2024-08-21 16:10:47 +01:00
Emanuele Stoppa
0231ee7ab5
ci: trigger using review comment instead () 2024-08-21 14:25:26 +01:00
Emanuele Stoppa
4f25b60d0c
ci: run preview release on demand ()
* ci: run preview release on demand

* Update .github/workflows/preview-release.yml

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

* run on comments

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-21 13:51:55 +01:00
Emanuele Stoppa
04390c83a2
ci: enable preview and repo dispatch ()
* ci: enables preview and repo dispatch

* chore: change command

* use pnpm

* change pattern

* change pattern /2
2024-08-21 13:13:07 +01:00
Chris Swithinbank
9f943c1344
Fix file loader for JSON object files ()
* Add `filePath` to `file()` loader entries when JSON file is an object

* Add changeset
2024-08-21 12:17:52 +01:00
Emanuele Stoppa
6814ff07f5
chore: restore error and deprecate it ()
* chore: restore error and deprecate it

* change deprecation version

* Update packages/astro/src/core/errors/errors-data.ts
2024-08-21 11:19:21 +02:00
liruifengv
5ea13a8696
[docs]: fix typo () 2024-08-21 08:08:34 +01:00
Ben Holmes
3416f8a3e1 [ci] format 2024-08-20 18:42:58 +00:00
Ben Holmes
b9a585c3fb
chore: remove unused astro error () 2024-08-20 14:42:02 -04:00
Ben Holmes
3691a626fb
[Actions] Fix middleware warning static mode ()
* fix: remove static usage warning with isPrendered flag

* fix(test): cookie is empty for prerendered routes in dev

* chore: add test route

* chore: changeset
2024-08-20 14:41:44 -04:00
Houston (Bot)
7e2f142a5a
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-20 16:35:33 +02:00
Sarah Rainsberger
41c3fcb618
[docs] update link to astro:env RFC ()
* [docs] revert link to astro:env RFC

* Create fair-trees-crash.md

* typo fix
2024-08-20 16:10:17 +02:00
Erika
c6622adaeb
Deprecate the Squoosh image service () 2024-08-20 14:28:52 +02:00
Bjorn Lu
1fd84b6bbc
Remove unused code in internal scripts () 2024-08-20 18:25:04 +08:00
liruifengv
88b6dca63b
[docs] fix indents () 2024-08-20 10:26:36 +01:00
Emanuele Stoppa
b5584248b1 [ci] format 2024-08-20 06:46:46 +00:00
Emanuele Stoppa
86a33915ff
fix: adapter features messaging ()
* fix: adapter features messaging

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/long-months-burn.md

Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
2024-08-20 07:45:59 +01:00
Matthew Phillips
fc81b01bcd
Prevent race condition in Vercel adapter on Node 18 () 2024-08-19 15:45:02 -04:00
Florian Lefebvre
c6400ab99c
fix: injectTypes path () 2024-08-19 20:04:51 +02:00
Sarah Rainsberger
826dc2a85a [ci] format 2024-08-19 15:28:04 +00:00
Sarah Rainsberger
ad919776ca
[docs] pattern to preserve ignoring files prefixed with an underscore ()
* [docs] `pattern` to preserve ignoring files prefixed with an underscore

* simplify examples with only md not mdx

Co-authored-by: Matt Kane <m@mk.gg>

* remove strange line full of tabs

* Update packages/astro/src/@types/astro.ts

* Apply suggestions from code review

* fix regex

---------

Co-authored-by: Matt Kane <m@mk.gg>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-19 16:27:12 +01:00
Bjorn Lu
b67742961a
Disable server.ws vite config for loading config files () 2024-08-19 22:52:42 +08:00
@hephaistos_DE
7ab0e601fd [ci] format 2024-08-19 14:46:25 +00:00
@hephaistos_DE
eb1466a376
Fix middleware example ()
* Fix middelware example

* Update examples/middleware/src/pages/api/login.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Update examples/middleware/src/pages/api/logout.ts

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* Fix build check for unused by defined variables

---------

Co-authored-by: Raphael B <hephaistos@grewety.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-08-19 15:43:34 +01:00
Florian Lefebvre
49650a4555
fix: astro:env sync error in content config () 2024-08-19 16:01:31 +02:00
Bjorn Lu
d12dcbff60
Fix create-astro initial git commit () 2024-08-19 16:30:45 +08:00
renovate[bot]
48b85c13dd
fix(deps): update all non-major dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:09:05 +08:00
Bjorn Lu
89bab1e707
Reduce prerender dynamic value warning false positives () 2024-08-16 23:03:27 +08:00
Bjorn Lu
50c3ed238d
Update test:vite-ci script () 2024-08-16 21:48:57 +08:00
Matthew Phillips
a9e43d2a2f [ci] format 2024-08-16 12:42:03 +00:00
Matthew Phillips
5ea02b12fd
Deprecate the functionPerRoute option ()
* Deprecate the functionPerRoute option

* Update .changeset/weak-dancers-beam.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-16 08:41:10 -04:00
Florian Lefebvre
5f0b58fb6c [ci] format 2024-08-16 07:28:10 +00:00
Florian Lefebvre
2df49a6fb4
feat: simplifies sync paths () 2024-08-16 09:27:21 +02:00
Bjorn Lu
423614ebb6
Fix MDX stack trace location with frontmatter () 2024-08-16 12:09:20 +08:00
Houston (Bot)
0109690c3b
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-16 00:34:37 +08:00
Bjorn Lu
7c6349beca
Fix astro upgrade changeset () 2024-08-16 00:32:53 +08:00
Bjorn Lu
391324df96
Revert parseArgs change () 2024-08-16 00:27:08 +08:00
Houston (Bot)
91d36fa36b
[ci] release ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-15 16:06:43 +01:00
Florian Lefebvre
87ce2381b6 [ci] format 2024-08-15 14:53:15 +00:00
Florian Lefebvre
70945dd918
refactor: enforce node prefix () 2024-08-15 16:52:26 +02:00
Florian Lefebvre
3c2f93b66c
fix: content types sync in dev ()
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2024-08-15 16:52:15 +02:00
Matt Kane
6c1560fb0d
fix: separate data store into mutable and immutable versions ()
* fix: separate data store into mutable and immutable versions

* Add jsdoc
2024-08-15 15:26:00 +01:00
Emanuele Stoppa
9bf9f5a7b0 [ci] format 2024-08-15 13:46:00 +00:00