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

1784 commits

Author SHA1 Message Date
Robin Gisler
0e22462d15
fix(sitemap): Trailing slashes on root url (#10772)
* add tests that reveal issue

* fix trailing slash root page issue

* add changeset
2024-04-18 08:09:25 +01:00
Emanuele Stoppa
347bdfe550 [ci] format 2024-04-17 08:38:53 +00:00
Houston (Bot)
668d97319c
[ci] release (#10777)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-16 17:07:50 +01:00
Rishi Raj Jain
3e7a12c853
fix: MDX cannot find relative image path without leading ./ (#10754)
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
2024-04-16 22:13:52 +08:00
Bjorn Lu
1ce22881c6
Improve sitemap generate performance (#10795) 2024-04-16 19:48:49 +08:00
Bjorn Lu
88ee63a3ba
Remove MDX processor on buildEnd (#10770) 2024-04-15 15:56:53 +08:00
Houston (Bot)
3ff6b403db
[ci] release (#10757)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-12 11:31:46 -04:00
Erika
c704c449c0 [ci] format 2024-04-12 14:09:03 +00:00
Erika
c75ededdb4
fix(vercel): Fix srcset generation not working on Vercel (#10756)
* fix(vercel): Fix `srcset` generation not working on Vercel

* chore: changeset

* fix: remove densities and widths from the HTML attributes

* nit: better changeset

* nit: add formats
2024-04-12 16:07:27 +02:00
Houston (Bot)
66bc1041d4
[ci] release (#10739)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-11 13:24:47 +02:00
Emanuele Stoppa
683d51a5ee
feat: upgrade the minimum Node.js maintainance LTS version (#10689)
* feat: upgrade the minimum Node.js maintainance LTS version

* chore: update minimum npm version

* chore: revert npm change

* chore: address Erika's feedback

* chore: apply further suggestions

* Update .changeset/empty-rules-type.md

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

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 14:53:55 +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
Bjorn Lu
903ed31b2a
Fix vue-jsx change (#10716) 2024-04-08 14:38:59 +08:00
Bjorn Lu
4ea042c388
Remove unused config in Vue JSX integration (#10687) 2024-04-08 13:35:34 +08: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
Raz Luvaton
ab153fd888
test(@astrojs/node) listen for server setup errors in test-utils (#10692) 2024-04-05 13:24:00 +01: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
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
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
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
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
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
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
Bjorn Lu
da2fb875fc
Make @astrojs/markdown-remark a dep in @astrojs/markdoc (#10632) 2024-04-01 23:39:29 +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
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
Tyler van der Hoeven
b3028caecf
Remove the ssr external for vue (#10601)
* remove the ssr external for vue

* Remove the external line vs comment it out

* add a changeset
2024-03-29 16:04:27 +00:00
Houston (Bot)
0ff5d72c78
[ci] release (#10598)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:20:53 -04:00
TK
5d7449bd73 [ci] format 2024-03-28 18:17:46 +00:00
TK
a573cc199a
feat: allow dynamic route segments in isr.exclude array (#10513)
* Allow dynamic route segments in isr.exclude array

* copy over eslint-disable as well

* add test

* update test: slashes dont need to be escaped

* update changeset

---------

Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-03-28 23:46:18 +05:30
Houston (Bot)
50cc5f01c7
[ci] release (#10597)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-28 14:09:23 -04:00
Houston (Bot)
bb7707e171
[ci] release (#10556)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-26 17:24:02 -04:00
Ming-jun Lu
5f7e9c47e0
fix(sitemap): fix missing base path in sitemap-index.xml (#10557)
* fix(sitemap): fix missing base path in `sitemap-index.xml`

* test(sitemap): update test cases in `base-path.test.js`

* chore: add changeset
2024-03-26 10:11:44 -04:00
Simon Knott
303cacc058 [ci] format 2024-03-26 10:45:08 +00:00
Simon Knott
34fa8e131b
fix: ensure outDir doesn't lead to bundlers bloating Lambda size (#10550)
* fix: ensure outDir doesn't lead to bundlers bloating Lambda size

* add changeset

* Update packages/astro/src/assets/vite-plugin-assets.ts

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

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-03-26 11:44:04 +01:00
Houston (Bot)
fdceed5889
[ci] release (#10503)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-20 20:46:06 +05:30