Commit graph

6362 commits

Author SHA1 Message Date
Sarah Rainsberger
bd8aa9a996
[docs] Typo fix in Cloudflare README (#8429)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-09-06 10:26:27 -03:00
matthewp
59672ad4e7 [ci] format 2023-09-06 13:24:09 +00:00
aswind7
b81ff8fcef
trim project name of the user input (#8427)
* fix: remove duplicate import

* project name should be trimed

* update changeset
2023-09-06 09:22:18 -04:00
matthewp
2272f8d3c4 [ci] format 2023-09-06 13:15:40 +00:00
Matthew Phillips
67e8348594
Fix React dev mode using a base (#8428) 2023-09-06 09:13:36 -04:00
Barthélémy Ledoux
1947ef7a99
fix: no asset plugin w/ img is imported with query (#8353)
* fix: no asset plugin w/ img is imported with query

* add changeset

* add test for the new feature

* remove exp

* use removeQueryString instead of `includes('?')`

it's more explicit

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-06 15:01:01 +02:00
Erika
48ff7855b2
fix: make sharp an optional dep (#8416)
* fix: make sharp an optional dep

* chore: lockfile

* chore: changeset

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 14:52:13 +02:00
bluwy
35dff8246d [ci] format 2023-09-06 09:17:34 +00:00
Jacob Lamb
d2f2a11cdb
Improve Package Detection (#8306) 2023-09-06 17:15:10 +08:00
ematipico
eb8c4cc2fc [ci] format 2023-09-06 04:46:18 +00:00
Slawek Kolodziej
9ffa1a84e8
fix: include route prefix in vercel func names, fix #8401 (#8408)
* fix: include route prefix in vercel func names

* chore: add changeset

* chore: update pnpm lockfile

* refactor: simplify logic that generates vercel func names

* fix: properly remove entryFile prefix from func name

* refactor: change how vercel function names are generated

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 05:43:53 +01:00
Matteo Manfredi
61ad70fdc5
fix: fix remote astro:assets caching logic (#8424) 2023-09-05 19:28:00 -05:00
Bjorn Lu
923a443cb0
Fix markdown page HMR (#8418)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 14:35:56 -05:00
Bjorn Lu
837ad16491
Skip cloudflare CLI tests if fail to start (#8417)
* Skip cloudflare CLI tests if fail to start

* Fix port

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 14:35:41 -05:00
Martin Trapp
8935b3b467
Fix scroll position when navigating back from page w/o ViewTransitions (#8332)
Co-authored-by: Justin Beaty <51970393+justinbeaty@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-05 15:05:55 -04:00
lilnasy
cde0cc4093 [ci] format 2023-09-05 18:03:21 +00:00
Arsh
7d95bd9baa
Allow vite to refer to inlined CSS (#8351)
* fix(client build): keep inlined stylesheets

* add changesets

* appease linter

* eslint: allow variables beginning with an underscore to be unused

* remove eslint-ignore that's no longer needed

* ready for review
2023-09-05 23:31:15 +05:30
Erika
5126c6a40f
fix: missing imageConfig type in astro:assets (#8414) 2023-09-05 15:11:05 +02:00
Shinya Fujino
8352ee0a9a
Fix some formatting problems and description in astro.ts (#8410) 2023-09-05 08:36:02 -03:00
Chris Swithinbank
93a1231f14
Add location data to MDX compile errors (#8405) 2023-09-05 12:48:39 +02:00
Julien Déramond
fd6ce9a99a
fix: funcitonPerRoutefunctionPerRoute in vercel integ package (#8406) 2023-09-05 07:28:23 +01:00
Ikko Eltociear Ashimine
b6066e109c
refactor: fix typo in astro.ts (#8385)
Co-authored-by: Elian ️ <hello@elian.codes>
2023-09-04 17:56:16 +02:00
bluwy
c48d4765c1 [ci] format 2023-09-04 15:12:28 +00:00
李瑞丰
d92ab06544
Update examples & uppercase endpoints & fix response (#8391)
Co-authored-by: liruifeng <liruifeng@troila.com>
2023-09-04 23:10:39 +08:00
Michael Oliver
77922ae5db
chore: use z.coerce.date() to pass input through new Date(input). (#8383) 2023-09-04 18:46:24 +08:00
giovanni
535a458999
fix: remove duplicate import (#8393)
Co-authored-by: jesse <qfei.shao@gmail.com>
2023-09-04 18:42:46 +08:00
Houston (Bot)
e43ae88528
[ci] release (#8372)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 10:09:43 +01:00
Nate Moore
362491b8da
Fix pipeline beforeHydrationScript handling (#8388) 2023-09-04 09:11:47 +01:00
李瑞丰
8d12659ce8
Fix benchmark import path (#8389) 2023-09-04 11:19:53 +08:00
matthewp
dc8bcb6ae7 [ci] format 2023-09-02 01:06:06 +00:00
Matteo Manfredi
06e7256b58
fix: remove double } (#8370)
* fix: remove extra `}`

* changeset: add
2023-09-01 21:03:50 -04:00
Houston (Bot)
e34175be34
[ci] release (#8356) 2023-09-01 18:26:05 -05:00
natemoo-re
d8ecae2c54 [ci] format 2023-09-01 23:15:14 +00:00
Nate Moore
c5633434f0
Ensure chunkFileNames do not include invalid characters (#8366) 2023-09-01 18:13:32 -05:00
Erika
405ad95017
fix: tsc complaining about astro imports again (#8367) 2023-09-01 23:20:42 +02:00
Nate Moore
0ce0720c7f
Wrap JSON.parse in try/catch (#8363)
* fix(telemetry): wrap JSON.parse in try/catch

* fix: always write the store

* chore(lint): fix
2023-09-01 14:19:12 -05:00
Princesseuh
7a91600a9e [ci] format 2023-09-01 18:32:11 +00:00
Matteo Manfredi
6b1e798146
feat: add progress to asset generation (#8357) 2023-09-01 20:29:57 +02:00
Chris Swithinbank
b74dacdb6a
Uppercase endpoint examples in adapter READMEs (#8346) 2023-09-01 17:11:55 +02:00
Houston (Bot)
1b9de31737
[ci] release (#8335)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 15:19:30 +01:00
Erika
0eb09dbab1
fix(vercel): Don't output an error message for failing to resolve sharp (#8354)
* fix(vercel): Don't output an error message for failing to resolve sharp

* chore: changeset
2023-09-01 16:14:15 +02:00
ematipico
cc99b2814f [ci] format 2023-09-01 13:35:21 +00:00
Emanuele Stoppa
5f2c55bb54
fix(@astrojs/vercel): slowness and symbolic link (#8348) 2023-09-01 14:33:04 +01:00
Martin Trapp
f21599671a
Respect the download attribute in links when using view transitions (#8339)
* Respect the download attribute in links when using view transitions

* cleanup
2023-08-31 17:51:03 -04:00
natemoo-re
a4780e97f6 [ci] format 2023-08-31 18:08:08 +00:00
Fred K. Schott
d3a6f9f836
add leading and trailing slash sanitization for params (#8276)
* add leading and trailing slash sanitization for params

* chore: fix lint

* refactor: use shared trimSlashes util

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
2023-08-31 13:05:39 -05:00
Houston (Bot)
84427f33c1
[ci] release (#8330)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-31 13:42:22 -04:00
natemoo-re
d7579f36d7 [ci] format 2023-08-31 17:37:00 +00:00
Emanuele Stoppa
b21038c193
fix: exclude redirects when running functionPerRoute (#8320)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-31 12:34:50 -05:00
Nate Moore
5f3a44aeef
Improve astro info command (#8327)
* feat(astro): improve info command

* chore: update browser field
2023-08-31 12:33:53 -05:00