Chris Swithinbank
a98df9374d
Show injected custom 404 route in dev ( #6940 )
...
* Add unit test for injected 404 routes
* Add fixture test for injected 404 routes
* Use any route pattern to find custom 404
* Fix frozen lockfile error
* Use `route` instead of `pattern` to match custom 404
Dynamic catch-all routes can match against `/404/` but will then error because they’re not actually designed to handle a param of `'404'`. Testing `route` instead excludes dynamic routes (because they’ll contain dynamic segments inside square brackets). Not sure if someone might _want_ to render the 404 via a dynamic route, but we already don’t support that, so this doesn’t change anything.
* Fix injected 404 fixture
* Add tests for `src/pages/404.html`
* Add changeset
* Fix lockfile
* And again
2023-05-01 10:37:07 -04:00
matthewp
d6b153bcac
[ci] format
2023-05-01 14:11:30 +00:00
Matthew Phillips
c405cef647
Catch errors that occur within the stream in the Node adapter ( #6935 )
...
* Catch errors that occur within the stream in the Node adapter
* Adding a changeset
* Better error message on completely uncaught errors within the stream
* Update test
2023-05-01 10:08:18 -04:00
Matthew Phillips
649d70934e
Configure redoc to be noExternal ( #6933 )
2023-05-01 09:31:44 -04:00
wulinsheng123
5e1970bf29
Merge branch 'main' into add-Minification
2023-04-29 07:30:14 +08:00
Bjorn Lu
2dca81bf21
Update dependencies to remove peer dep warnings ( #6930 )
2023-04-28 21:21:47 +08:00
Bjorn Lu
ac57b5549f
Upgrade undici to v5.22.0 ( #6929 )
2023-04-28 21:13:49 +08:00
Han Yeong-woo
f219e1862b
chore: update dependencies related to changesets ( #6868 )
...
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-04-28 15:04:03 +08:00
Yan Thomas
d11d185951
Add missing code language in Cloudflare README ( #6925 )
2023-04-28 14:37:26 +08:00
Han Yeong-woo
d28cc97179
chore: cleanup root and scripts dependencies ( #6871 )
2023-04-28 14:32:51 +08:00
Princesseuh
737f8d855a
[ci] format
2023-04-27 16:18:45 +00:00
Erika
ebae1eaf87
feat(image): Update image service config to allow passing settings to the service ( #6848 )
2023-04-27 18:16:40 +02:00
Bjorn Lu
de5a25f4e9
Fix changeset publish ( #6923 )
2023-04-27 22:55:48 +08:00
Houston (Bot)
06c527330a
[ci] release ( #6914 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-27 22:12:14 +08:00
Bjorn Lu
383ad80768
Speed up docs smoke tests ( #6921 )
2023-04-27 21:23:29 +08:00
Bjorn Lu
b89042553e
Fix tsconfig alias baseUrl handling for "." and ".." imports ( #6920 )
2023-04-27 18:30:17 +08:00
Bjorn Lu
465a1a5efe
Fix changeset version run ( #6917 )
2023-04-27 17:15:58 +08:00
AirBorne04
58f7700e87
[ci] format
2023-04-27 08:13:11 +00:00
Daniel
081b2402cf
esbuild respects vite.build.minify
option ( #6222 )
...
* esbuild respects `vite.build.minify` option
* Docs update
---------
Co-authored-by: AirBorne04 <>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-04-27 10:11:05 +02:00
Bjorn Lu
ec5f6a07ae
Upgrade turbo ( #6911 )
2023-04-27 11:39:15 +08:00
wulinsheng123
c78a9824d8
Merge branch 'main' into add-Minification
2023-04-26 21:04:13 +08:00
wuls
50a9ce6e0f
fix revert code
2023-04-26 21:03:36 +08:00
wuls
35aade74f8
merge
2023-04-26 21:02:12 +08:00
wuls
b871d91384
optimize unit test
2023-04-26 21:01:03 +08:00
Phil Nash
4ea716e569
Adds extra elements to RSS items. ( #6707 )
2023-04-26 13:58:53 +01:00
wulinsheng123
9236c62994
Merge branch 'main' into add-Minification
2023-04-26 16:38:51 +08:00
wuls
96ae817982
fix pageage file
2023-04-26 16:38:03 +08:00
Houston (Bot)
c6f1264586
[ci] release ( #6863 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-25 22:48:36 +08:00
Bjorn Lu
edabf01b44
Upgrade to Vite 4.3 ( #6877 )
2023-04-25 22:04:45 +08:00
Bjorn Lu
0afff32741
Disable Vite optimizer for sync and config loading ( #6902 )
2023-04-25 20:54:41 +08:00
wulinsheng123
0c58f5b1e2
Merge branch 'main' into add-Minification
2023-04-25 10:12:17 +08:00
chlorine
b24607069e
chore: cleanup code ( #6897 )
2023-04-24 13:25:03 +08:00
wulinsheng123
2900aa03e4
Merge branch 'main' into add-Minification
2023-04-21 23:18:34 +08:00
Bjorn Lu
b6154d2d57
Fix hoisted scripts path for linked package Astro components ( #6872 )
2023-04-21 10:42:23 +02:00
wuls
eba4d488ba
fix yaml collision
2023-04-20 10:12:26 +08:00
wuls
e8437125cb
fix yaml file collision
2023-04-20 10:11:01 +08:00
wulinsheng123
1cbc00bfca
Merge branch 'main' into add-Minification
2023-04-20 09:38:46 +08:00
bluwy
8cc53090ca
[ci] format
2023-04-19 09:01:27 +00:00
Bjorn Lu
7544d9bd41
Cleanup CI logs and run windows on node16 only ( #6838 )
2023-04-19 10:59:09 +02:00
Nathaniel Blackburn
43230b2cac
Align adapter setup ( #6874 )
2023-04-19 09:36:46 +02:00
Han Yeong-woo
dec072f57f
docs: improve CONTRIBUTING.md ( #6867 )
...
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-04-18 16:44:38 +02:00
wuls
644dae1ee9
add minification for pro
2023-04-18 18:37:38 +08:00
wuls
cbc2b2fd55
Merge branch 'main' of github.com:withastro/astro into add-Minification
...
# Conflicts:
# pnpm-lock.yaml
2023-04-18 18:25:07 +08:00
Laurent Thiebault
0c82e08cec
docs: add the right npm
command regarding astro --help
for examples' README.md
files ( #6864 )
2023-04-18 08:02:40 +02:00
André Alves
4c7ba4da08
Fix Astro.params does not contain path parameter from URL with non-English characters ( #6859 )
2023-04-17 16:44:48 +02:00
bluwy
1ed52c5849
[ci] format
2023-04-17 06:37:46 +00:00
jcdogo
1f2699461d
fix: astro island urls missing assetsPrefix in SSR mode ( #6862 )
...
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-04-17 08:35:48 +02:00
Houston (Bot)
763b7500e5
[ci] release ( #6842 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-14 12:11:17 -04:00
Houston (Bot)
09cd67cb1e
[ci] update lockfile ( #6846 )
...
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2023-04-14 10:15:21 -04:00
Bjorn Lu
2e3125e180
Fix vercel edge private env vars ( #6841 )
2023-04-14 21:46:24 +08:00