Commit graph

5358 commits

Author SHA1 Message Date
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
Chris Swithinbank
00a2e1d7c7
Fix warning syntax in Vercel integration README (#6840) 2023-04-14 12:08:31 +02:00
Houston (Bot)
b105ccb9ca
[ci] release (#6835)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-13 14:41:56 -04:00
matthewp
704d61e777 [ci] format 2023-04-13 18:12:26 +00:00
Houston (Bot)
0f4c005750
[ci] update lockfile (#6837)
* [ci] update lockfile

* Fix type errors

* Fix zod version

* updated lockfile

* fix tests

---------

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2023-04-13 14:09:19 -04:00
Erika
500ee802ac
fix: upgrade tooling deps (#6839) 2023-04-13 13:08:54 -04:00
Bjorn Lu
1fa041695e
Ensure unique workspace name (#6836) 2023-04-13 22:19:08 +08:00
bluwy
83f00f535b [ci] format 2023-04-13 14:13:55 +00:00
Bjorn Lu
8539eb1643
Support tsconfig aliases in CSS @import (#6816) 2023-04-13 22:11:21 +08:00
Princesseuh
c464bf258f [ci] format 2023-04-13 09:56:50 +00:00
Erika
2511d58d58
feat(mdx): Add support for turning ![]() into <Image> (#6824) 2023-04-13 11:54:40 +02:00
Erika
948a6d7be0
fix(content): Remove unsupported file warning for images (#6825) 2023-04-13 11:54:26 +02:00
Princesseuh
44d935d5d6 [ci] format 2023-04-13 09:01:47 +00:00
Erika
a6bec9c1b7
fix: broken lockfile (#6834) 2023-04-13 10:59:32 +02:00
André Alves
3356023443
add validation for non-printable chars in CLI (#6682) 2023-04-12 15:30:09 -04:00
wulinsheng123
a9c22994e4
fix #6420 (#6544)
* fix #6420

* add test

* add test

* fix an error that parsed path

* fix path error when in Windows environment

* fix a path error

* update comment

---------

Co-authored-by: wuls <linsheng.wu@beantechs.com>
2023-04-12 14:26:53 -04:00
Ivo Ilić
c1e8f42a20
Added a caution about rewrites only working for static files (#6517)
Currently using rewrite with static files works but server rendered files with either edge or serverless function don't get rewritten.
See: https://github.com/withastro/astro/issues/6446
2023-04-12 14:21:59 -04:00
Bjorn Lu
5f0efe5490
Update to pnpm 8 (#6823) 2023-04-12 23:34:54 +08:00
Emanuele Stoppa
eab397a941
chore: update xml2js version (#6822) 2023-04-12 22:39:26 +08:00
Houston (Bot)
b2254bd786
[ci] release (#6818)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-12 08:51:55 -04:00
Bjorn Lu
7653cf9e9f
Fix CSS chunking between multiple framework components (#6582)
* Fix CSS chunking between multiple framework components

* Better CSS dedupe handling

* Add more tests

* Update docs
2023-04-12 08:24:32 -04:00
Happydev
76dd53e3f6
Fix slot fallbacks unexpectedly showing up in some cases (#6819)
* test: add test fixture

* test: add test case

* test: revert unneeded changes in fixture

* fix

* chore: changeset
2023-04-12 08:23:14 -04:00
Princesseuh
bdfbe000d8 [ci] format 2023-04-12 08:47:35 +00:00
Erika
6c09ac03bf
Fix experimental.assets's Squoosh service not working on Netlify and Vercel SSR (#6765) 2023-04-12 10:45:35 +02:00
Elian ☕️
88d465a8d4
Update issue template with link (#6813) 2023-04-12 09:44:07 +02:00
bholmesdev
44bd5da6d0 [ci] format 2023-04-11 17:47:24 +00:00
Ben Holmes
f882bc1636
Refactor content collection transforms (#6817)
* feat: json collection POC

* wip: add test json file

* refactor: rework content flag transforms

* refactor: simplify propagatedAsset check

* chore: remove JSON playground code

* chore: respect build sourcemap option

* deps: magic-string, source-map

* chore: formatting

* fix: add sourcemaps to MDX plugin

* chore: changeset

* deps: remove magic-string from mdx

* chore: remove unecessary MagicString
2023-04-11 13:44:39 -04:00
Houston (Bot)
b1d07bcf40
[ci] release (#6809)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-11 13:10:00 -04:00
Bjorn Lu
60c16db6ff
Fix check CLI fs load fallback behaviour (#6811) 2023-04-11 11:57:11 +08:00
amirhhashemi
c12ca5ece3
fix(error-overlay): force error overlay direction to be LTR (#6782) 2023-04-10 16:59:17 +02:00
Bjorn Lu
a91e0156ab
Add more tsconfig alias tests (#6812) 2023-04-10 22:40:40 +08:00
Alper Doğan
99479e6b95
Optional Sizes prop on Picture component (#6773) 2023-04-10 14:09:02 +02:00
Houston (Bot)
a5601a3cd3
[ci] release (#6807)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-10 16:57:31 +08:00
André Alves
1e3873c04a
Fix no edge functions deployed to netlify (#6793) 2023-04-10 16:50:54 +08:00
Nathaniel Blackburn
84a4648884
Revert vercel env fix (#6776) 2023-04-10 16:40:29 +08:00
Bryce Russell
671a011d4f
Fix Tailwind README code block (#6783)
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
2023-04-08 16:57:16 +08:00
Houston (Bot)
d531239201
[ci] release (#6769)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-07 17:25:00 -04:00