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

5745 commits

Author SHA1 Message Date
liruifengv
e2cd7f4291
fix: Fixed errorOverlay theme toggle bug. (#10661)
* fix: save `localStorage.astroErrorOverlayTheme` when detected dark mode

* add  changeset

* Fix theme toggle in ErrorOverlay

* update  changeset
2024-04-10 11:58:19 +01:00
Houston (Bot)
0fec72b35c
[ci] release (#10729)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 21:00:07 -04:00
Arsh
83d4536bd6 [ci] format 2024-04-10 00:56:41 +00:00
Arsh
8a30f257b1
fix(dev): break implicit rerouting loop (#10737)
* fix(dev): infinite implicit rerouting

* test adapter

* changeset
2024-04-10 06:25:33 +05:30
Matthew Phillips
2d2ff58bb9
Fix db seeding when srcDir is root (#10720) 2024-04-09 09:11:32 -04:00
Emanuele Stoppa
f508c4b7d5
fix: regression for astro attributes escaping (#10728) 2024-04-09 12:37:06 +01:00
Emanuele Stoppa
b21b3ba307
fix(devtool): do not trigger interaction check for div and span (#10719)
* fix(devtool): do not trigger interaction check for `div` and `span`

* add test

* add tests

* Rephrase changeset

* remove log

* add reference link

* Update .changeset/swift-coats-teach.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-09 12:36:48 +01:00
Houston (Bot)
f4f383d04e
[ci] release (#10680)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-09 14:42:19 +08:00
horo
5e044a5eaf
Increase log severity when a page's getStaticPaths fails (#10707) 2024-04-09 11:19:26 +08:00
Matthew Phillips
4e7f5f8951 [ci] format 2024-04-08 13:22:48 +00:00
Matthew Phillips
28e7535e5c
Provide better messaging when renaming a table (#10600)
* Provide better messaging when renaming a table

* Update based on review
2024-04-08 09:21:41 -04:00
Bjorn Lu
fa0f593890
Fix script inline with directRenderScript (#10686) 2024-04-08 18:53:50 +08:00
Bjorn Lu
903ed31b2a
Fix vue-jsx change (#10716) 2024-04-08 14:38:59 +08:00
Bjorn Lu
799f6f3f29
Refactor MDX transformJSX handling (#10688) 2024-04-08 13:35:41 +08:00
Bjorn Lu
4ea042c388
Remove unused config in Vue JSX integration (#10687) 2024-04-08 13:35:34 +08:00
Bjorn Lu
a15975e41c
Skip prerender chunk in static output (#10695) 2024-04-08 13:33:09 +08:00
Nate Moore
93d353528f
Improve dev toolbar notification contrast on hover (#10657)
* fix(#10399, PLT-1786): improve notification contrast on hover

* chore: add changeset
2024-04-05 17:39:24 -05:00
Raz Luvaton
5c4b7bfc08
test(@astrojs/node) wait for server listening in trailing-slash tests (#10694)
* test(@astrojs/node) wait for server listening in trailing-slash tests

* fix missing waitServerListen

* fix import statement

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-05 15:30:59 +02:00
apetta
1d26e9c7f7
Add disableremoteplayback attribute to VideoHTMLAttributes interface (#10693)
* Add disableremoteplayback attribute to VideoHTMLAttributes interface

* Move disableremoteplayback from VideoHTMLAttributes to MediaHTMLAttributes

* Create olive-camels-greet.md

* Update packages/astro/astro-jsx.d.ts

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-04-05 15:17:35 +02:00
Raz Luvaton
ab153fd888
test(@astrojs/node) listen for server setup errors in test-utils (#10692) 2024-04-05 13:24:00 +01:00
Matthew Phillips
48f158215d [ci] format 2024-04-04 19:14:51 +00:00
Matthew Phillips
4bf8bd3848
Prevent errors in finding workspaceId from interrupting link prompts (#10681) 2024-04-04 15:13:46 -04:00
fightingcat
9a1aee80a5 [ci] format 2024-04-04 17:58:30 +00:00
fightingcat
14f1d49a10
Expose Babel config for @astro/react. (#10675) 2024-04-04 13:57:20 -04:00
Houston (Bot)
e2a780a46d
[ci] release (#10674)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-04 13:11:24 -04:00
Martin Trapp
3bd6758e1c [ci] format 2024-04-04 17:06:11 +00:00
Martin Trapp
ca6bb1f31e
Generates missing popstate events for Firefox when navigating to hash targets on the same page. (#10679) 2024-04-04 19:05:10 +02:00
Matthew Phillips
d4b88c79b2 [ci] format 2024-04-04 16:43:57 +00:00
Matthew Phillips
1662aa8a85
Fix compatibility for @astrojs/db with cloudflare (#10677)
* Fix compatibility for @astrojs/db with cloudflare

* Use a manual implementation

* Update lockfile
2024-04-04 12:42:47 -04:00
Erika
45414a21cc [ci] format 2024-04-04 07:10:05 +00:00
Erika
0464563e52
fix(install-package): Automatically exit in CI instead of waiting for input (#10669) 2024-04-04 15:08:41 +08:00
Bjorn Lu
db7f9c8703
Remove unnecessary recmaInjectImportMetaEnv plugin for MDX (#10673) 2024-04-04 15:07:40 +08:00
Houston (Bot)
0899d342cd
[ci] release (#10670)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-03 16:52:33 -04:00
Ben Holmes
8f636693d5 [ci] format 2024-04-03 20:50:06 +00:00
Ben Holmes
90cfade88c
feat: automatic Markdoc partial resolution (#10649)
* wip: react counter example

* feat: resolve markdoc partials by file path

* test: components within partials

* test: html within partial

* chore: changeset

* fix: respect user configured partials

* test: basic partials

* chore: lock

* chore: fix lock

* chore: minor -> patch

* fix: use --parallel for dev server timeout error

* refactor: move component tests to separate file

* fix: build indent fixture

* fix: check before addWatchFile

* refactor: rootRelative -> relativePartial

* deps: use workspace react integration

* refactor: split test files by fixture

* refactor: switch to preact to avoid react prod build error

* feat: use vite pluginContext

* fix: handle missing ./

* chore: bump timeout
2024-04-03 16:48:53 -04:00
Houston (Bot)
8ca8943ce2
[ci] release (#10656) 2024-04-03 22:42:23 +05:30
Arsh
0a407c4326 [ci] format 2024-04-03 13:30:23 +00:00
Arsh
55ddb2ba48
fix(app/node): include x-forwarded-port header in url (#10666)
* fix(app/node): include `x-forwarded-port` header in url

* add changeset

* add test
2024-04-03 18:57:23 +05:30
Nikola R. Hristov
317d18ef8c
Disable sharp libvips cache. (#10616)
* Disable `sharp` `libvips` cache.

* Update sharp.ts

* Add changeset

* Apply suggestions from code review

* Add issue to comment in sharp.ts

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-03 12:11:58 +02:00
Jacob Lamb
6599b93f0d [ci] format 2024-04-03 06:04:18 +00:00
Jacob Lamb
a9a3694a98
fix: update vercel node support status (#10611)
* Update adapter.ts

* Create clever-houses-yawn.md

* Update adapter.ts

* Update adapter.ts

* Update adapter.ts

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

* Update .changeset/clever-houses-yawn.md

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

---------

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-04-03 07:03:17 +01:00
Ben Holmes
57959e607e [ci] format 2024-04-02 22:14:21 +00:00
Ben Holmes
f395ebcc08
refactor: rename "config" file to "virtual" (#10638)
* refactor: rename "config" file to "virtual"

* chore: changeset

* fix(test): config import
2024-04-02 18:13:18 -04:00
Oliver Speir
4f5dc14f31
Move format option from LocalImageProps to ImageSharedProps (#10642)
* move format to ImageSharedProps

* add changeset

* move quality to shared

* Update lovely-trees-wait.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-02 16:24:02 -04:00
Houston (Bot)
c3916b5206
[ci] release (#10651)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 16:15:27 -04:00
Matthew Phillips
5f5176b244 [ci] format 2024-04-02 20:08:38 +00:00
Matthew Phillips
b1eda3dc5c
Fix building static sites with Astro DB (#10655)
* Fix building static sites with Astro DB

* Adding a changeset

* Try a different port range
2024-04-02 16:07:18 -04:00
Matthew Phillips
a79e6b12fa [ci] format 2024-04-02 19:39:22 +00:00
Matthew Phillips
195f51f82a
Mark @material-tailwind/react as noExternal (#10654) 2024-04-02 15:38:15 -04:00
Arsh
daef0e394a
chore: remove console.log from test (#10653) 2024-04-02 15:00:36 -04:00