0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
Commit graph

8571 commits

Author SHA1 Message Date
Florian Lefebvre
24888f39e7 chore: clean 2024-08-23 15:48:25 +02:00
Florian Lefebvre
50f736bad4 chore: remove file 2024-08-22 17:31:26 +02:00
Florian Lefebvre
fb2f2a62c7
Discard changes to .changeset/eighty-boxes-applaud.md 2024-08-22 17:30:32 +02:00
Florian Lefebvre
5da612e546 chore: remove file 2024-08-22 17:30:12 +02:00
Florian Lefebvre
7ecc2bac3e feat: work on remaining tests 2024-08-22 17:29:17 +02:00
Florian Lefebvre
a0269c54a3 feat: outDir tests 2024-08-22 17:13:51 +02:00
Florian Lefebvre
2d4581c6b8 feat: work on tests 2024-08-22 16:57:21 +02:00
Florian Lefebvre
8914af6a53 chore: refactor 2024-08-22 16:45:10 +02:00
Florian Lefebvre
f46f6e3a20 fix: test 2024-08-22 16:38:38 +02:00
Florian Lefebvre
1236c13147 feat: setup test 2024-08-22 16:36:08 +02:00
Florian Lefebvre
a73a89a311 feat: create root tsconfig if doesn't exist 2024-08-22 16:05:56 +02:00
Florian Lefebvre
5ba6f2abb2 Merge branch 'next' into feat/autogenerated-tsconfig 2024-08-22 16:02:50 +02:00
Florian Lefebvre
ea71b90c9c
feat(next): make astro:env stable (#11679)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-21 08:38:00 +02:00
Matthew Phillips
4cd6c43e22
Use GET and preload links on Server Islands (#11732)
* Use GET and preload links on Server Islands

Use origin/next

Remove since

* Add test to verify large islands work

* Update based on feedback

* Merge conflict fixed

* Update test
2024-08-20 13:53:04 -04:00
Florian Lefebvre
d7517e0ace feat: handle relative include/exclude 2024-08-20 15:57:48 +02:00
Erika
9a2aaa01ea
fix(assets): Remove TLA by making compiledContent async (#11782)
* fix(assets): Remove TLA by making compiledContent async

* fix: actually use the functions I just added lol

* chore: changeset
2024-08-20 15:52:08 +02:00
Florian Lefebvre
0377fb9b4c feat: errors 2024-08-20 15:34:51 +02:00
Florian Lefebvre
89aba33116 feat: jsdoc and comments 2024-08-20 15:21:45 +02:00
Erika
cfa6a47ac7
feat: remove the squoosh image service (#11770)
* feat: remove the squoosh image service

* fix: build

* chore: changeset
2024-08-20 15:12:48 +02:00
Florian Lefebvre
0ab2ea971b
Merge branch 'feat/unflag-astro-env' into feat/autogenerated-tsconfig 2024-08-20 15:09:53 +02:00
Florian Lefebvre
f7a156d182 fix: fixture 2024-08-20 15:09:36 +02:00
Florian Lefebvre
07f0d3d490 feat: constant 2024-08-20 15:01:50 +02:00
Florian Lefebvre
e28ede2f75
Discard changes to examples/blog/tsconfig.json 2024-08-20 14:48:56 +02:00
Florian Lefebvre
539d9e8c54
Discard changes to examples/blog/src/env.d.ts 2024-08-20 14:48:52 +02:00
Florian Lefebvre
a0bc6236b4
Discard changes to examples/blog/astro.config.mjs 2024-08-20 14:48:47 +02:00
Florian Lefebvre
c94d1fec21
Merge branch 'feat/unflag-astro-env' into feat/autogenerated-tsconfig 2024-08-20 14:45:40 +02:00
Florian Lefebvre
8e871038ee Merge branch 'next' into feat/unflag-astro-env 2024-08-20 14:36:39 +02:00
Florian Lefebvre
5bde3883f0 feat: update errors 2024-08-20 14:35:12 +02:00
Florian Lefebvre
03abff116d feat: address reviews 2024-08-20 14:34:25 +02:00
Princesseuh
787fed8504
Merge branch 'main' into next 2024-08-20 14:29:50 +02:00
Erika
c6622adaeb
Deprecate the Squoosh image service (#11780) 2024-08-20 14:28:52 +02:00
Bjorn Lu
1fd84b6bbc
Remove unused code in internal scripts (#11769) 2024-08-20 18:25:04 +08:00
Bjorn Lu
6617491c3b
Cleanup unused JSX code (#11741)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-08-20 17:39:51 +08:00
liruifengv
88b6dca63b
[docs] fix indents (#11786) 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 (#11773)
* 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 (#11783) 2024-08-19 15:45:02 -04:00
Houston (Bot)
f239242d90
[ci] release (alpha) (#11627)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-19 14:37:39 -04:00
Florian Lefebvre
c6400ab99c
fix: injectTypes path (#11774) 2024-08-19 20:04:51 +02:00
Princesseuh
40183620d8
ci: use docs's 5.0 beta branch for smoke tests 2024-08-19 19:58:44 +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 (#11749)
* [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 (#11744) 2024-08-19 22:52:42 +08:00
Florian Lefebvre
7940a64014
Merge branch 'next' into feat/unflag-astro-env 2024-08-19 16:50:03 +02:00
@hephaistos_DE
7ab0e601fd [ci] format 2024-08-19 14:46:25 +00:00
@hephaistos_DE
eb1466a376
Fix middleware example (#11742)
* 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
Matthew Phillips
8a5351737d
Remove functionPerRoute option (#11714)
* Remove functionPerRoute option

* Remove more code

* Remove unused test util

* Linting

* Update tests to reflect new structure

* Add a changeset

* Update plugin

* Remove unused import
2024-08-19 10:31:55 -04:00
Florian Lefebvre
49650a4555
fix: astro:env sync error in content config (#11771) 2024-08-19 16:01:31 +02:00
Matthew Phillips
3822e574aa
Remove @astrojs/lit (#11680)
* Remove @astrojs/lit

This removes the Lit integration as an official integration. The reasons
for doing so in 5.0:

- Only 1% of Astro users use this integration.
- SSR support in Lit is at a lower-level of support due to be a Labs
project: https://lit.dev/docs/libraries/labs/, and has been in this
state since we added support a couple of years ago.
- The maintenance cost of fixing bugs in this integration is too high
given the low usage. Some PRs for upgrading Lit versions have taken
quite a long time. We can't justify the core team being responsible for
this going forward.
- There used to be community contributions to fix bugs but this has
fallen off for various reasons.

Given that, this PR removes the integration as one that is officially
supported by the Astro core team. Interested community members are
encouraged to fork the integration and continue the development in
another repository.

* Remove e2e tests and examples

* Update lockfile

* Remove ssr-lit.test.js

* Remove error for no client entrypoint

* Remove auto selection of the Lit renderer

* Remove lit package.json

* Remove lit fixture
2024-08-19 08:12:33 -04:00
Princesseuh
7ffcae1906
Merge branch 'main' into next 2024-08-19 11:49:19 +02:00