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

2325 commits

Author SHA1 Message Date
github-actions[bot]
9cc6f26946
[ci] release (#2683)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-28 16:15:09 -06:00
Robin Millette
329146f3c1
Fix typo (#2674) 2022-02-28 16:04:03 -06:00
Fred K. Schott
b1290c44d5
[ci] update lockfile (#2676)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-28 16:03:53 -06:00
Mateus Esdras
8fb1f53e96
fix(runtime): do not render empty Fragment (#2667)
This commit fixes the bug when returning an empty Fragment which makes
it undefined. This is because unescapeHTML (raw) will create a String object
with an 'undefined' string.

To fix this we need to check if the `children` is null or undefined
before marking a string as raw.
2022-02-28 16:03:28 -06:00
Nate Moore
046af36475
fix(hmr): HMR regression related to .astro updates (#2681) 2022-02-28 16:00:09 -06:00
Jonathan Neal
bfaff255f7
Fix HTMLElement expression warning (#2675) 2022-02-28 15:03:22 -05:00
FredKSchott
04ea9a4aa4 [ci] collect stats 2022-02-28 12:02:13 +00:00
Fred K. Schott
98e391a942
[ci] update lockfile (#2668)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-27 11:08:31 -08:00
FredKSchott
8343ff6fb5 [ci] collect stats 2022-02-27 12:02:17 +00:00
FredKSchott
f560292d82 [ci] collect stats 2022-02-26 12:02:13 +00:00
natemoo-re
ede96b1b10 [ci] yarn format 2022-02-25 23:29:59 +00:00
github-actions[bot]
c0a6e3e80a
[ci] release (#2666)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-25 17:29:08 -06:00
natemoo-re
a5a1563094 [ci] yarn format 2022-02-25 23:04:58 +00:00
Fred K. Schott
fca6407318
fix astro scoping of "@import" inside of style tags (#2656)
* fix astro scoping of "@import" inside of style tags

* Create lovely-lies-dress.md

* Update compile.ts

* fix smoke test

* Update package.json
2022-02-25 17:04:04 -06:00
Fred K. Schott
ba49d3efc2
[ci] update lockfile (#2659)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-25 17:03:17 -06:00
Nate Moore
0494f74e4e
feat: improve third-party Astro package compatability (#2665) 2022-02-25 17:03:05 -06:00
Fred K. Schott
5370bba0b0 get new example working during build 2022-02-25 08:29:23 -08:00
FredKSchott
00dda8e056 [ci] yarn format 2022-02-25 16:19:44 +00:00
Joel Kuzmarski
c46db4ecbd
Add Non-HTML Pages example (#2637)
* Add Non-HTML Pages example

* Rename dir non-html-example to non-html-pages

* Update name to non-html-pages in package.json
2022-02-25 08:18:48 -08:00
FredKSchott
7680fd5118 [ci] collect stats 2022-02-25 12:02:02 +00:00
natemoo-re
51b04f39f4 [ci] yarn format 2022-02-24 20:49:48 +00:00
github-actions[bot]
e31246f7ac
[ci] release (#2641)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-24 14:48:44 -06:00
Fred K. Schott
a0fc5cb5ff
ensure utf8 encoding when serving html (#2654)
* ensure utf8 encoding on servers

* Create spicy-tomatoes-act.md

* Update spicy-tomatoes-act.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-02-24 14:39:41 -06:00
Javier Cortés
2e5c3b5126
fix(core): Issue #2625. error with process.env.LANG larger than 5 (#2645)
* Update logger.ts

Solving #2625

* chore: add changeset

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-02-24 14:38:31 -06:00
Fred K. Schott
a9656e743b
[ci] update lockfile (#2646)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-24 14:15:48 -06:00
Nate Moore
17032cd064
chore: upgrade compiler (#2653) 2022-02-24 14:15:29 -06:00
natemoo-re
30106e584f [ci] yarn format 2022-02-24 19:12:33 +00:00
Nate Moore
5091d788f6
Add fine-grained HMR support (#2649)
* feat: add fine-grained HMR support

* chore: lint

* chore: lint

* fix: handle hmr with custom event handler

* refactor: cleanup hmr script
2022-02-24 13:11:18 -06:00
FredKSchott
0cffbfff39 [ci] collect stats 2022-02-24 12:02:04 +00:00
İsmail Özçelik
586687ac39
Missing SASS error problem fix (#2626)
In the migration guide, need to install sass. So the example not working correctly. I add SASS to fix it.
2022-02-23 21:18:24 -06:00
Juan Martín Seery
a2128f8e47
Fixed incorrect types and imports (#2630)
* Fixed incorrect types and imports

* Changeset
2022-02-23 17:14:39 -06:00
Joel Kuzmarski
f64840ece1
Add sass dev dep to blog-multiple-authors example (#2643)
Otherwise, new stackblitz projects throw an error.
2022-02-23 17:11:38 -06:00
Shinobu Hayashi
fe31eca414
Fix(component): align starting position in Markdown slot (#2631)
* Fix: align markdown starting position in each line

* Chore: add testcase for aligning starting position in each line

* Chore: update the test case on astro-markdown custom language

* Update: remove trimmed only startWith trimmed space
2022-02-23 17:08:17 -06:00
matthewp
1fba0c4c72 [ci] yarn format 2022-02-23 13:42:05 +00:00
Matthew Phillips
2ad88a9235
Run all smoke tests with the static build (#2609)
* Run all smoke tests with the static build

* Use a direct relative path

* Always use the static build

* Use a path that works in both static and regualr build

* Always download the zip

* astro.build only needs to run once
2022-02-23 08:41:10 -05:00
FredKSchott
a81660e39a [ci] collect stats 2022-02-23 12:02:10 +00:00
Fred K. Schott
a54ccff64e
[ci] update lockfile (#2624)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-22 08:48:55 -08:00
Juan Martín Seery
9b7e2ab251
Fixed shiki import to work with "type": "module" (#2628)
* Fixed shiki import to work with "type": "module"

* Changeset

* Separated types import

* Add "* as" to type import
2022-02-22 08:46:04 -08:00
Fred K. Schott
ac6d2e8c64
Create afraid-phones-peel.md 2022-02-22 08:44:01 -08:00
FredKSchott
ceadc3cb0f [ci] collect stats 2022-02-22 12:02:48 +00:00
tony-sull
664a221a24 [ci] yarn format 2022-02-22 09:54:23 +00:00
Joel Kuzmarski
f165b78ad2
Make Non-HTML Pages work for static build (#2638)
* Make Non-HTML Pages work for static build

* Check hasOwnProperty instead of length

* Fix typo "> 0"
2022-02-22 09:53:21 +00:00
FredKSchott
ad3f3cf41d [ci] collect stats 2022-02-21 12:01:58 +00:00
FredKSchott
c3f3f4c528 [ci] collect stats 2022-02-20 12:01:55 +00:00
FredKSchott
b457ebea7d [ci] collect stats 2022-02-19 12:02:03 +00:00
Fred K. Schott
6edf47a890
improve memory leak test (#2621) 2022-02-18 17:08:28 -08:00
Fred K. Schott
91e5b268d0
update lockfile (#2620) 2022-02-18 16:52:19 -08:00
natemoo-re
38fc7d64a7 [ci] yarn format 2022-02-18 22:34:54 +00:00
github-actions[bot]
1d9f8a57f5
[ci] release (#2619)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-18 16:33:56 -06:00
Fred K. Schott
4eb0d9863f update changeset tags before release 2022-02-18 14:30:38 -08:00