Commit graph

2294 commits

Author SHA1 Message Date
Matthew Phillips
f64d1b143d Add a warning when passing the --experimental-static-build flag 2022-03-04 10:11:38 -05:00
Matthew Phillips
04d14f1ca3 Remove the after in the Lit test (#2710) 2022-03-03 10:34:13 -05:00
Nate Moore
8e5ef8d02e chore: enter pre mode 2022-03-02 16:27:38 -06:00
Nate Moore
b0cedc863e
Improve head injection behavior (#2436)
* feat: add renderHead util to server

* feat: remove `layouts` from config, Vite plugin

* fix: improve head injection during rendering

* chore: update compiler

* fix: do not escape links
2022-03-02 16:00:53 -06:00
Matthew Phillips
e9630b86b3 Migrate more tests to the static build (#2693)
* fix: disable HMR during build (#2684)

* Migrate more tests to the static build

* Only prepend links in non-legacy mode

* Add the 0-css tests

* Convert all CSS tests to the static build

* Migrate Astro global tests

* Remove .only

* Fix static build tests

* Migrate a few more

* More tests

* Move the lit test back to legacy

* Increase the test timeout

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-03-02 10:03:13 -06:00
Matthew Phillips
07b19b0e46 Move astro-basic test to use static build (#2682)
* Move some tests over to the static build (#2677)

* Move some tests over to the static build

* Fix assets tests

* Fix the assets tests

* Fix for the client:only components

* Moves asset tests to the static build

* Move postcss test over to static build

* Bring back legacy build for astro-basic test

* Move astro-basic test to use static build
2022-03-02 10:03:12 -06:00
Matthew Phillips
a4e2b0d580 Unflag the static build (#2652)
* Unflag the static build

* Only set legacyBuild to false if experimentalSSR is true

* Use legacy build when we have to

* Put a few more tests into legacy mode

* Last two

* Make astro-basic use the legacy build

* Adds a changeset

* Mark the lit test as legacy

* Update yarn lock

* Update based on feedback

* Add --legacy-build flag
2022-03-02 10:03:12 -06:00
FredKSchott
16f80b1ca1 [ci] collect stats 2022-03-02 12:07:08 +00:00
Fred K. Schott
9ec8980bd2
fix failing format command in CI (#2696)
* fix failing format command in CI

* adds a check to formatting to ci

* ignore the prettier plugin for now

* update smoke to remove prettier plugin
2022-03-01 11:59:06 -08:00
Fred K. Schott
d9263c8427
fix vite version (#2694) 2022-03-01 09:31:15 -08:00
Nate Moore
c7bbb11289
fix: disable HMR during build (#2684) 2022-03-01 09:13:39 -05:00
github-actions[bot]
4eb80773a7
[ci] update smoke tests (remote) (#2690)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-01 09:13:07 -05:00
FredKSchott
59a11a58d8 [ci] collect stats 2022-03-01 12:06:48 +00:00
github-actions[bot]
84ac0f05e4
[ci] update smoke tests (remote) (#2686)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-02-28 21:51:20 -08:00
Fred K. Schott
4baff877ad
[ci] update lockfile (#2687)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-28 21:48:27 -08:00
FredKSchott
2221ed53f5 [ci] collect stats 2022-03-01 05:45:19 +00:00
Fred K. Schott
d07ef42e58 update ci branch name 2022-02-28 21:44:02 -08:00
Fred K. Schott
918f1ea4f7
Make smoke tests more deterministic (#2618)
* sync first remote smoke tests

* update smoke test scripts
2022-02-28 21:38:17 -08:00
natemoo-re
a217c6608d [ci] yarn format 2022-02-28 22:16:16 +00:00
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