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

7816 commits

Author SHA1 Message Date
Farzad
a8ab23700f
Fix test runner issues by upgrading nodejs version to 18.17.1 (#10672) 2024-04-04 15:08:25 +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
Ahmad Shakib
8db630c3b4
Add .idea folder to .gitignore files of the examples (#10602) 2024-04-03 09:03:44 +01: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
liruifengv
a29b0a3d69 [ci] format 2024-04-02 18:05:42 +00:00
liruifengv
320c309ca9
improves client:only error message (#10470)
* improves `client:only` error message

* add changeset

* Fix condition for rendering component

* Update rendererAliases in component.ts

* Update changeset
2024-04-02 14:02:07 -04:00
Florian Lefebvre
16d3f1897a [ci] format 2024-04-02 17:53:55 +00:00
Florian Lefebvre
ce98563112
feat: make 3rd party integration warning less scary (#10496)
* feat: make 3rd party integration warning less scary

* Create light-bikes-study.md

* Update light-bikes-study.md
2024-04-02 13:52:49 -04:00
Houston (Bot)
fd18a5dda9
[ci] release (#10647)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 12:11:32 -04:00
Arsh
953695ec2d [ci] format 2024-04-02 15:38:27 +00:00
Arsh
713f99e849
fix(db): isolate AstroDbError from core utils (#10646)
* fix(db): isolate AstroDbError from core utils

* add changeset
2024-04-02 11:37:28 -04:00
Ming-jun Lu
51112ab3f1
fix(svelte): update import statements and bump peer dependency for v5 (#10645) 2024-04-02 21:58:39 +08:00
Houston (Bot)
f7d6254f8f
[ci] release (#10603)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 15:46:43 +08:00
Houston (Bot)
260f4fa191
[ci] update lockfile (#10551)
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-04-02 11:02:18 +08:00
Arsh
f226cb65d1 [ci] format 2024-04-01 22:10:49 +00:00
Arsh
e9afd67139
community onboarding: codebase documentation around runtime (#10612)
* document runtime

* apply suggestions from code review
2024-04-02 03:39:48 +05:30
Ben Holmes
a544f4cc0e [ci] format 2024-04-01 21:03:37 +00:00
Ben Holmes
504d15d772
db: Better error messages when querying remote (#10636)
* feat: clear error messages on remote db error

* refactor: use AstroDbError for correct error name

* refactor: errorMessage -> responseMessage

* chore: changeset

* fix: revert seed file change

* fix: format seed errors as AstroDbError

* fix: correctly log eager seed errors
2024-04-01 17:02:36 -04:00
Matthew Phillips
17badaf55c
Give proper error when seed missing default export (#10635) 2024-04-01 14:18:46 -04:00
Matthew Phillips
ca29764912 [ci] format 2024-04-01 15:41:03 +00:00
Matthew Phillips
157392ee44
Make ASTRO_DATABASE_FILE work with file paths (#10631)
* Make ASTRO_DATABASE_FILE work with file paths

* Use pathToFileURL
2024-04-01 11:39:49 -04:00
Bjorn Lu
da2fb875fc
Make @astrojs/markdown-remark a dep in @astrojs/markdoc (#10632) 2024-04-01 23:39:29 +08:00
Ben Holmes
27e2c24647 [ci] format 2024-04-01 15:17:47 +00:00
Ben Holmes
5a7733dde5
db: Seed on dev server startup (#10599)
* feat: load seed file on dev server startup

* feat: handle logging on dev server restart

* chore: changeset

* feat: support integration seed files

* fix: only run when seed is present, ignore unlink

* fix: load on startup for integration pkg paths
2024-04-01 11:16:46 -04:00
Bjorn Lu
2cf116f80c
Remove deprecated APIs from @astrojs/markdown-remark (#10629)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-04-01 22:53:54 +08:00
James Garbutt
374efcdff9
Lazy loaded shiki languages during syntax highlighting (#10618) 2024-04-01 22:52:50 +08:00
Matthew Phillips
31590d44ef
Move nft warnings behind verbose logging (#10609)
* Move nft warnings behind verbose logging

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

* Update packages/integrations/vercel/src/lib/nft.ts

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 10:37:54 -04:00
Matthew Phillips
e31bea0704
Fixes issue with head content being pushed into body (#10608)
* Fixes issue with head content being pushed into body

* Update snapshot version

* Upgrade compiler version
2024-04-01 10:30:03 -04:00
James Garbutt
0be26d8b10
feat: rework child rendering to use class (#10624) 2024-04-01 21:25:20 +08:00
Ryan Christian
ad50784adc
refactor: Drop Preact compat hack, remove incorrect alias (#10585)
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
2024-04-01 16:53:59 +08:00
ktym4a
44b3c29ce7 [ci] format 2024-04-01 08:07:09 +00:00
ktym4a
6d034733a8
fix(starlog): Correct layout syntax. (#10627) 2024-04-01 16:06:08 +08:00
Satya Rohith
046d69d517
fix: use ReadableStream for response object if deno (#10495) 2024-04-01 16:05:30 +08:00