Commit graph

6414 commits

Author SHA1 Message Date
Erika
4e395a6cab
config: migrate us to moduleResolution: 'node16' (#8519) 2023-09-13 16:49:22 +02:00
Erika
b85c8a78a1
feat: better errors for images (#8536) 2023-09-13 16:44:15 +02:00
natemoo-re
3be8b67f89 [ci] format 2023-09-13 14:43:40 +00:00
Nate Moore
ed952b4cea
Improve create-astro startup performance (#8456)
* feat(create-astro): improve performance

* test: fix test by wrapping promise values

* chore: remove uneeded deps

* Update ten-kings-smash.md

* chore: update lockfile
2023-09-13 09:40:53 -05:00
Jacob Lamb
f02dc9f7bf
chore(create-astro): Remove npm 6.x note (#8529)
* chore(create-astro): Remove npm 6.x note

* Add missing space
2023-09-13 08:56:34 -05:00
Houston (Bot)
c23ddb9ab3
[ci] release (#8501)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 14:29:39 -04:00
natemoo-re
93d5bef3e4 [ci] format 2023-09-12 17:52:22 +00:00
Nate Moore
aac51bd00b
chore: disallow node builtins in runtime (#8523) 2023-09-12 12:50:06 -05:00
matthewp
a02707a8b2 [ci] format 2023-09-12 16:56:23 +00:00
Martin Trapp
43bc5f2a55
Vt follow redirects (#8522)
* View Transitions redirects WIP

* transition across redirects

* added changeset

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-09-12 12:54:32 -04:00
Martin Trapp
2db9762eb0
Restore horizontal scroll position on history navigation (view transitions) (#8505) 2023-09-12 11:37:28 -04:00
bluwy
4105491732 [ci] format 2023-09-12 09:58:47 +00:00
Okuto Oyama
644825845c
Removed <style> with type="text/css" from inline output at build time (#8480) 2023-09-12 17:56:52 +08:00
Erika
bf341d6762
revert: avif support (#8511) 2023-09-11 23:00:43 +02:00
Erika
cda7d80ac5
chore: revert avif change (#8509) 2023-09-11 20:29:36 +02:00
Erika
f41157e955
chore: do a minor for avif support (#8508) 2023-09-11 20:20:55 +02:00
lilnasy
fdf9b66f9b [ci] format 2023-09-11 18:07:37 +00:00
Alexander Niebuhr
2c96144696
feat(@astrojs/cloudflare): add runtime support to astro dev (#8426)
* add necessary libs

* cleanup stale code

* add base feature-set of runtime to `astro dev`

* fix lockfile

* remove future code

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

* remove future code

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

* remove future code

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

* remove future code

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

* remove future code

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

* address review comments

* fix linting issue

* add docs & tests

* fix test paths

* add changeset

* update README.md

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

* fix docs & make adapter options optional

* fix package resolve mode

* fix pnpm-lock

---------

Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-09-11 23:34:44 +05:30
Princesseuh
b384cf4f7d [ci] format 2023-09-11 17:30:40 +00:00
Matt Rossman
345cb4aeb9
Support AVIF input assets (#8380)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Princesseuh <princssdev@gmail.com>
2023-09-11 19:28:35 +02:00
Masaki Koyanagi
23f9536de0
chore: correct description of attribute option in scopedStyleStrategy (#8506)
* chore: correct description of `attribute` option in `scopedStyleStrategy`

* chore: fix typo (specifity -> specificity)
2023-09-11 18:26:45 +02:00
Emanuele Stoppa
5e1099f686
fix: minify HTML for redirects when emitted as HTML files (#8504) 2023-09-11 15:11:57 +01:00
matthewp
c934b087d7 [ci] format 2023-09-11 12:41:49 +00:00
Matthew Phillips
fa77fa63d9
Prevent style removal of client:only components (#8472) 2023-09-11 08:39:22 -04:00
Bjorn Lu
1ed21d10db
Clear caches older than 5 days (#8494) 2023-09-11 20:05:17 +08:00
Martin Trapp
0ca332ba4a
Bugfixes for back navigation in the view transition client-side router (#8491)
* Bugfixes for back navigation in the view transition client-side router

* re-introduced pushState on self links as required for update of browser's address bar

* format
2023-09-11 07:58:52 -04:00
bb010g
78b82bb392
fix(astro): support content/config.mts (#8484)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-11 13:54:56 +02:00
Oscar Lee-Vermeren
a6a516d944
fix(types): make image.service optional (#8492) 2023-09-11 13:52:25 +02:00
Marc
435b105498
Fix: lang unspecified code blocks (#8461) 2023-09-11 12:45:21 +01:00
Houston (Bot)
0a2567c288
[ci] release (#8465)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 10:08:35 -04:00
matthewp
b65e84d888 [ci] format 2023-09-08 14:02:12 +00:00
Matthew Phillips
7eea37a075
Fix multi-layout head injection (#8449)
* Fix multi-layout head injection

* Tracing fix

* Improved walk

* Upgrade the compiler version

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-08 10:00:07 -04:00
Erika
50c0a803e3
refactor: move type utils into a single file (#8462) 2023-09-08 14:58:37 +02:00
Houston (Bot)
98d501bde6
[ci] release (#8442)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 13:55:26 +02:00
Nate Moore
85fe213fe0
fix(react): support void children in experimentalReactChildren (#8455) 2023-09-07 15:54:39 -05:00
matthewp
5c23bf1c90 [ci] format 2023-09-07 18:24:12 +00:00
Martin Trapp
f66053a1ea
Transition only between pages where both have ViewTransitions enabled (#8441)
* added e2e test regarding loss of router

* only navigate to pages from which we can navigate back

* location does not change before deferred pushState

* initialize history state

* test cases adapted to new semantics (only traverse to pages w/ ViewTransigs)

* type URL instead of Location

* + changeset
2023-09-07 14:21:57 -04:00
Erika
7ea32c7fbf
feat: pass our domains and remote config to the Vercel config (#8452)
* feat: pass our domains and remote config to Vercel'S

* chore: changeset

* test: update test to test for this

* docs: update README
2023-09-07 18:12:00 +02:00
Nate Moore
3f49aa97ab
fix(svelte): unmount islands properly on navigation (#8448) 2023-09-07 09:49:59 -05:00
Bjorn Lu
f3f62a5a20
Refactor mdx remark plugins (#8430) 2023-09-07 22:28:02 +08:00
Mohammed Elhaouari
0fa483283e
Fix "Cannot read properties of null" in cli/telemetry (#8443)
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-09-07 10:39:42 +02:00
natemoo-re
8a08cb8d2a [ci] format 2023-09-06 22:25:23 +00:00
Ryan Carniato
a525d5db17
fix hydration in solid renderer (#8365)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-09-06 17:22:58 -05:00
Houston (Bot)
88c76a9a42
[ci] release (#8439)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-06 16:35:56 -05:00
Nate Moore
0b8fbe2062
Update README.md (#8433) 2023-09-06 16:27:25 -05:00
Nate Moore
b92d066b73
fix(#8434): fix renderToFinalDestination handling (#8440) 2023-09-06 15:38:48 -05:00
Erika
b3cf1b3276
fix: imports for images with uppercase extensions not working (#8437) 2023-09-06 20:52:52 +02:00
Erika
6df4f3bd9d
fix: MDX errors not having stack trace and a confusing name (#8438)
* fix(mdx): Fix errors having weird names and no stack trace

* chore: changeset
2023-09-06 20:36:50 +02:00
natemoo-re
eb7615f25a [ci] format 2023-09-06 15:25:56 +00:00
Nate Moore
c06b41a6b8
Update Prettier (#8420)
* chore: fix prettier config

* chore: format

* chore(prettier): format `.astro` files
2023-09-06 10:23:44 -05:00