Commit graph

2322 commits

Author SHA1 Message Date
github-actions[bot]
a39fca5cfa
[ci] release (next) (#2721)
* [ci] release (next)

* chore: update changeset

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-04 17:05:02 -06:00
Matthew Phillips
a68d6a3c68 Add a warning when passing the --experimental-static-build flag (#2718)
* Add a warning when passing the --experimental-static-build flag

* Disable the lint warning
2022-03-04 16:41:22 -06:00
Matthew Phillips
d7a2ff3f51 Move remaining tests to the static build (#2712)
* Move lit test to the static build

* Migrate astro-env plugin to work in the static build

* Do not remove vite:define

* Adds a changeset
2022-03-04 16:41:22 -06:00
Nate Moore
630dff7f38 Replace send with sirv (#2713)
* remove send

* Create thick-ravens-chew.md

* I feel like I'm going to screw something up

* working finally!

* rewrite req.url

* Add tiny bit of doc

* Update .gitignore

Co-authored-by: Evan Boehs <evan@boehs.org>
2022-03-04 16:41:22 -06:00
Nate Moore
e8d0258885 chore: enter pre mode 2022-03-04 16:41:22 -06:00
Nate Moore
7a66ddc60a 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-04 16:41:22 -06:00
Matthew Phillips
34c2d1e8fc 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-04 16:41:22 -06:00
Matthew Phillips
9bd2ff8195 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-04 16:41:22 -06:00
Matthew Phillips
27431db5b1 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-04 16:41:22 -06:00
Nate Moore
1aa4b49fdd fix(ci): open changesets from next 2022-03-04 15:50:30 -06:00
Nate Moore
33193f9ac6 fix(ci): prevent double CI runs on next branch 2022-03-04 15:39:11 -06:00
natemoo-re
e02438ce1f [ci] yarn format 2022-03-04 21:30:35 +00:00
github-actions[bot]
a6ee42fa17
[ci] release (#2724)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 15:29:27 -06:00
Nate Moore
0d37f8e0a5
chore: revert #2715 (#2722) 2022-03-04 15:25:59 -06:00
natemoo-re
1a7dfb1426 [ci] yarn format 2022-03-04 17:29:53 +00:00
github-actions[bot]
88ccb2d696
[ci] release (#2720)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-04 11:28:59 -06:00
natemoo-re
a286a75cc4 [ci] yarn format 2022-03-04 17:20:00 +00:00
Nate Moore
5f91e007cb
Remove postcss-load-config warning for Svelte users (#2715)
* chore: update dependencies

* fix(svelte): use experimental vite preprocessor rather than svelte-preprocess

* chore: add changeset
2022-03-04 11:18:55 -06:00
Nate Moore
b90219ceec
chore(ci): enable ci on next (#2716) 2022-03-04 11:17:25 -06:00
FredKSchott
3cd50d463a [ci] collect stats 2022-03-04 12:02:16 +00:00
natemoo-re
1fd5106364 [ci] yarn format 2022-03-03 17:54:01 +00:00
github-actions[bot]
92447974f2
[ci] release (#2714)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03 11:52:40 -06:00
Juan Martín Seery
b2c37385f9
chore: changed data-astro-raw to is:raw (#2706)
* chore: changed `data-astro-raw` to `is:raw`

* changesets
2022-03-03 11:34:36 -06:00
Erika
519a5d84d1
Add .d.ts file to astro package for language-tools consumption (#2711)
* Add .d.ts file for user and language-server consumption

* Update according to feedback
2022-03-03 11:34:04 -06:00
Matthew Phillips
5b1d700134
Remove the after in the Lit test (#2710) 2022-03-03 10:01:30 -05:00
FredKSchott
fd6c459d34 [ci] collect stats 2022-03-03 12:08:00 +00:00
natemoo-re
955c4df5b6 [ci] yarn format 2022-03-02 22:25:22 +00:00
github-actions[bot]
4f924b8cea
[ci] release (#2692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-02 16:23:55 -06:00
Fred K. Schott
91765d79b1
Improve build perf (#2697)
* improve md perf

* chore: add changesets

Co-authored-by: Nate Moore <nate@skypack.dev>
2022-03-02 16:09:18 -06:00
Nate Moore
2482fe70b9
Refactor smoke tests to use submodules (#2702)
* chore: delete inlined repos

* refactor: move smoke tests to submodules

* chore: remove smoke sync action

* chore: update ci to fetch submodules for smoke test only

* chore: fix ci script

* feat: delete inlined smoke tests

* fix: update lockfile to exclude smoke tests

* chore(ci): ensure smoke tests can pass in CI
2022-03-02 16:08:42 -06:00
Juan Martín Seery
caf9135c48
fix: upgraded vite (#2678)
* fix: upgraded vite

* chore: changeset

* Upgraded to vite v2.8.6

* Updated changeset

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-02 15:51:13 -06:00
Fred K. Schott
e24a7896f3 fix bad descirption jsdoc tag, post-merge 2022-03-02 12:15:01 -08:00
FredKSchott
a719a74733 [ci] yarn format 2022-03-02 20:11:12 +00:00
github-actions[bot]
d5ced6d0d1
[ci] update smoke tests (remote) (#2699)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-03-02 12:09:43 -08:00
Fred K. Schott
f957e46724
Add detailed type annotations to AstroUserConfig (#2698)
* add detailed type definitions

* final cleanup
2022-03-02 12:09:08 -08: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