0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
Commit graph

7357 commits

Author SHA1 Message Date
Bjorn Lu
c3b40bf423
Update workflow actions (#9995) 2024-02-09 14:35:00 +08:00
Mohamed
30acdcbb0d
chore: Migrate error-build-location.test.js to node:test (#10038)
* chore: Migrate error-build-location.test.js to node:test

* fix: remove unnecessary line

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-08 14:18:58 +01:00
ktym4a
c002236523
chore: Migrate custom-404-static.test.js to node:test (#10035) 2024-02-08 14:17:57 +01:00
Erika
31e2a777b2
test: increase timeout (#10054) 2024-02-08 11:32:59 +01:00
ktym4a
eaf2fb6a71 [ci] format 2024-02-08 10:30:29 +00:00
ktym4a
ccb08ea7c8
chore: Migrate custom-404-implicit-rerouting.test.js to node:test (#10026) 2024-02-08 11:26:03 +01:00
voxel!()
a941de1d6d
chore: Migrate ssr-markdown.test.js to node:test (#10027) 2024-02-08 11:25:48 +01:00
voxel!()
3d32724003
chore: Migrate astro-markdown-url.test.js to node:test (#10028) 2024-02-08 11:25:35 +01:00
voxel!()
d67a23a3f0
chore: Migrate astro-markdown.test.js to node:test (#10031) 2024-02-08 11:25:14 +01:00
voxel!()
8555c2e3c7
chore: Migrate markdown.test.js to node:test (#10032) 2024-02-08 11:23:56 +01:00
ktym4a
ec0ac4a840
chore: Migrate custom-404-injected-from-dep.test.js to node:test (#10033) 2024-02-08 11:23:27 +01:00
ktym4a
3cc04fd3ec
chore: Migrate custom-404-injected.test.js to node:test (#10034) 2024-02-08 11:23:12 +01:00
ktym4a
283a822121
chore: Migrate custom-404-md.test.js to node:test (#10036) 2024-02-08 11:22:54 +01:00
Mohamed
a6b62254e4
chore: Migrate error-bad-js.test.js to node:test (#10037) 2024-02-08 11:22:40 +01:00
Mohamed
98e5f2202f
chore: Migrate error-non-error.test.js to node:test (#10039) 2024-02-08 11:21:53 +01:00
Mohamed
9e3487e13c
chore: Migrate html-component.test.js to node:test (#10040) 2024-02-08 11:21:38 +01:00
Mohamed
d65332af89
chore: Migrate html-escape-complex.test.js tonode:test (#10041) 2024-02-08 11:21:21 +01:00
Mohamed
3c0e2c728e
chore: Migrate html-escape.test.js to node:test (#10042) 2024-02-08 11:21:03 +01:00
Mohamed
aa7680e75e [ci] format 2024-02-08 10:20:36 +00:00
Mohamed
372c34b84b
chore: Migrate html-page.test.js to node:test (#10043) 2024-02-08 11:19:33 +01:00
Mohamed
648e714e3e
chore: Migrate html-slots.test.js to node:test (#10044) 2024-02-08 11:19:16 +01:00
Ming-jun Lu
c9cf8a93fb
chore: migrate static-build-code-component.test.js to node:test (#10045) 2024-02-08 11:18:51 +01:00
Ming-jun Lu
40c95b4436
chore: migrate static-build-dir.test.js to node:test (#10046) 2024-02-08 11:18:37 +01:00
Ming-jun Lu
0c246cc6dd
chore: migrate static-build-frameworks.test.js to node:test (#10047) 2024-02-08 11:18:10 +01:00
Ming-jun Lu
4e506e0659
chore: migrate static-build-page-dist-url.test.js to node:test (#10048) 2024-02-08 11:17:43 +01:00
Ming-jun Lu
2bff75282a
chore: migrate static-build-page-url-format.test.js to node:test (#10049) 2024-02-08 11:17:10 +01:00
Ming-jun Lu
322b2b6c72
chore: migrate static-build-vite-plugins.test.js to node:test (#10050) 2024-02-08 11:16:53 +01:00
Ming-jun Lu
aef8730f65
chore: migrate static-build.test.js to node:test (#10051) 2024-02-08 11:16:29 +01:00
ktym4a
92b6eb0ac2
chore: Migrate custom-404-html.test.js to node:test (#10025) 2024-02-08 11:14:48 +01:00
voxel!()
15b9e5a8c5
chore: Migrate astro-markdown-shiki.test.js to node:test (#10023) 2024-02-08 11:13:54 +01:00
voxel!()
7f0e5026e3
chore: Migrate astro-markdown-remarkRehype.test.js to node:test (#10021)
* migrate test

* remove old test
2024-02-08 11:12:59 +01:00
voxel!()
b05e6ac26a
chore: Migrate astro-markdown-plugins.test.js to node:test (#10020)
* migrate test

* remove old test

* Update packages/astro/test/astro-markdown-plugins.nodetest.js

* Update packages/astro/test/astro-markdown-plugins.nodetest.js

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2024-02-08 11:11:56 +01:00
voxel!()
191fd39708
chore: Migrate astro-markdown-frontmatter-injection.test.js to node:test (#10019)
* Add astro-markdown-frontmatter-injection.nodetest.js

* remove comment

* remove old test
2024-02-08 11:10:00 +01:00
Erika
14ce8a6ebf
feat(markdoc): Add support for using a custom component for images (#9958)
* feat(markdoc): Add support for using a custom component for images

* chore: changeset

* test: add test

* Update .changeset/shaggy-spies-sit.md

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

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
2024-02-08 07:54:40 +01:00
ktym4a
8fb67c81bb
Change view transitions rule (#9991)
* WIP: change view transitions rule

* Apply suggestions from code review

Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>

* add changeset

* Apply suggestions from code review

Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>

---------

Co-authored-by: Martin Trapp <94928215+martrapp@users.noreply.github.com>
2024-02-07 23:49:10 +01:00
Houston (Bot)
ef00224a86
[ci] release (#10018)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 23:55:29 +05:30
Arsh
3fc76efb2a
fix(astro:content): include required type declarations (#10022)
* include types/content.d.ts

* add changeset

* Update .changeset/cool-walls-fail.md

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

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:48:09 +05:30
StandardGage
20ca3154fb
Fix Issues with passing void elements to React with experimentalReactChildren flag set (#9849)
* Create simple react element if element has no children

* Fix for when element has text

* add changeset

* minor -> patch

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 23:38:44 +05:30
Arsh
9836dddf82 [ci] format 2024-02-07 16:10:36 +00:00
Arsh
0699f34d5c
feat(vercel): middleware verification (#9987)
* feat(vercel): verification for edge middleware

* add changeset

* Apply suggestions from code review

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2024-02-07 21:39:39 +05:30
Emanuele Stoppa
9ef79173a6
chore: move i18n routing tests (#10002)
* chore: move i18n routing tests

* change some test

* ignore nodetest files

* let's try now

* rebase
2024-02-07 15:36:46 +00:00
Emanuele Stoppa
037e4f12dd
fix(i18n): don't consider URLs that start with the name of the defaut locale (#10016) 2024-02-07 14:42:51 +00:00
Houston (Bot)
fa9218e836
[ci] release (#10014)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-07 15:38:45 +01:00
Chris Swithinbank
e6b5306a7d
Move astro:content types declaration to manual ambient module (#10013)
* Move `astro:content` types declaration to manual ambient module

* Add changeset

---------

Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-07 13:58:11 +00:00
Arsh
b07a3846f5 [ci] format 2024-02-07 13:37:44 +00:00
Arsh
e2fe51c828
feat(vercel): ISR (#9714)
* feat(vercel): isr

* bypass token

* exclusion of certain paths

* add test

* remove search params in dev mode

* Apply suggestions from code review

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Apply suggestions from code review

* Apply suggestions from code review

* fix missing await

* escape src for regex

* cleanup

* revalidate -> expiration

* update type docs

* always exclude /_image

* add changeset

* Apply suggestions from code review

* always create serverless function for /_image

* Apply suggestions from code review

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

* Apply suggestions from code review

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-02-07 19:06:37 +05:30
Markus Krogemann
88628a4f9e
Fix small typo in astro.ts (#10008) 2024-02-07 20:45:22 +08:00
Bjorn Lu
7596f0cd3b [ci] format 2024-02-07 12:44:35 +00:00
Bjorn Lu
436841e97e
Use eslint-plugin-regexp (#9993) 2024-02-07 20:43:19 +08:00
Ben Holmes
ce4283331f
Fix: support strict() on content collection schemas when slug is present (#10003)
* fix: use correct data object when parsing schema

* feat(test): add `strict()` to slug schema test

* chore: changeset

* docs: "Adds support for"

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>

---------

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2024-02-07 07:26:16 -05:00