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

7365 commits

Author SHA1 Message Date
Atharva
b2a6ee5c81 [ci] format 2024-02-12 12:22:56 +00:00
Atharva
116cfb63e3
chore: migrate vue related tests to node:test (#10061)
* chore: migarte slots-vue.testjs to node

* chore: migrate vue-**.test.js to node:test

* fix: add missing imports, remove expect script
2024-02-12 12:21:47 +00:00
Mohamed
2a70113f7e
chore: Migrate ssr-*.test.js to node:test (#10053)
* chore: Migrate ssr-*.test.js to node:test

* revert Production function in ssr-error-pages

* revert ssr-error-pages.test.js

* fix: add missing path at ssr-split-manifest

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-12 12:20:34 +00:00
Emanuele Stoppa
8f37cf72cb
test: move some unit tests to use node:test (#10070) 2024-02-09 15:46:03 +00:00
Arsh
0b5685a70f [ci] format 2024-02-09 15:23:05 +00:00
Arsh
1810309e65
fix(integration api): improve module resolution (#10060)
* fix(integration api): improve module resolution

* add changeset
2024-02-09 08:22:04 -07:00
Emanuele Stoppa
989ea63bb2
fix(i18n): regression where emitted URLs had // (#10067)
* fix(i18n): regression

* fix(i18n): regression

* fix bug regression

* remove double changeset
2024-02-09 14:58:09 +00:00
Emanuele Stoppa
79e832f8e4
revert: labeler action to v4, the old configuration isn't valid anymore (#10068) 2024-02-09 11:21:47 +00:00
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