Commit graph

1991 commits

Author SHA1 Message Date
Matthew Phillips
ae5255dd25
Implement hydrated components in the static build (#2260)
* Work on removing vite-postprocess

* Gets hydration totally working

* Formatting

* Update based on PR comments

* Bring back vite transform for non-static builds

* Upgrade compiler version

* Update the client-only test

* Add debugging for windows

* More debugging

* Pass pathname into the markdown plugin as well

* Include vite changes

* Revert "Include vite changes"

This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-30 09:01:00 -05:00
FredKSchott
8b34bd90f8 [ci] collect stats 2021-12-30 12:01:51 +00:00
Fred K. Schott
faf0b9aa8b
[ci] update lockfile (#2269)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-29 08:58:49 -05:00
FredKSchott
83e5f38c34 [ci] collect stats 2021-12-29 12:02:09 +00:00
FredKSchott
b7a6b36fe9 [ci] collect stats 2021-12-28 12:02:10 +00:00
FredKSchott
df576d0c58 [ci] collect stats 2021-12-27 12:06:56 +00:00
Connor Adams
079a78e0ec
Adjust TSConfig example files to include compilerOptions (#2278) 2021-12-26 22:39:30 -05:00
FredKSchott
a310846f1f [ci] collect stats 2021-12-26 12:03:01 +00:00
FredKSchott
6f7d8b0e81 [ci] collect stats 2021-12-25 12:01:54 +00:00
FredKSchott
ea8e160ab0 [ci] collect stats 2021-12-24 12:02:11 +00:00
Matthew Phillips
356d81abcb Turn off prettier in the CI task 2021-12-23 16:16:42 -05:00
matthewp
57773b932f [ci] yarn format 2021-12-23 21:02:26 +00:00
Matthew Phillips
0a7e7a8dd2 Trigger CI 2021-12-23 16:01:22 -05:00
github-actions[bot]
458e57b84f
[ci] release (#2264)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:34:11 -05:00
Matthew Phillips
991c30a72a
Don't run dev mode tests on windows (#2262)
* Don't run dev mode tests on windows

* Debugging

* chore(lint): Prettier fix

* remove the throw

* Skip a different way

* chore(lint): Prettier fix

* Skip the error test on windows too

* chore(lint): Prettier fix

* Move the after into the closure

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 15:24:02 -05:00
Jonathan Neal
160b45bf4d
bump webapi (#2263) 2021-12-23 14:35:26 -05:00
Matthew Phillips
f14c1fb4e4
Fix formatting issues caused by release (#2261)
* Run formatting on the release notes

* Update version in test due to releases GH
2021-12-23 12:41:55 -05:00
github-actions[bot]
b8e3efa7bb
[ci] release (#2219)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 11:49:30 -05:00
Matthew Phillips
db79d2e9ec
Fixes includes remote @imports in inline styles (#2258)
* Fixes includes remote @imports in inline styles

* chore(lint): Prettier fix

* Adds a changeset

* Fix empty style tags

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-23 09:24:29 -05:00
Jonathan Neal
f91ffcf024
Revert "Revert "Revert "added prismic x astro example. (#2247)"" (#2252)" (#2259)
This reverts commit a6179d0399.
2021-12-23 08:52:26 -05:00
Fred K. Schott
5f14458d88
[ci] update lockfile (#2257)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-23 08:25:52 -05:00
Jonathan Neal
a6179d0399
Revert "Revert "added prismic x astro example. (#2247)"" (#2252)
This reverts commit be36113b79.
2021-12-23 08:25:26 -05:00
Fred K. Schott
ff684c085d
[ci] update lockfile (#2248)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-22 23:04:39 -05:00
Jonathan Neal
6ddd7678ff
Use accessible indentation (#2253) 2021-12-22 16:11:05 -05:00
Jonathan Neal
305ce4182f
Cleanup test debugging (#2250) 2021-12-22 14:25:22 -05:00
Jonathan Neal
b214b095f3
Improve CLI & CLI Testing (#2245)
* Fix astro --version, astro --help

* Improve CLI testing

* nit: fix for windows

* nit: try different async cli tests

* fix: core dev

* nit: cleanup core

* nit: change port for config test

* nit: write config differently than project-root

* nit: cleanup AstroDevServer properties
2021-12-22 14:23:15 -05:00
Jonathan Neal
4208640587
Revert "added prismic x astro example. (#2247)" (#2251)
This reverts commit aac1d4e18d.
2021-12-22 14:06:31 -05:00
Vin E. R. Yap
aac1d4e18d
added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
Jonathan Neal
3f08b45955
bump webapi (#2249) 2021-12-22 10:08:15 -05:00
Jonathan Neal
ded142e4d2
Update Configuration Reference documentation (#2239)
* Update Configuration Reference documentation

* Update docs/src/pages/reference/configuration-reference.md

Co-authored-by: Peter Singh <drgaud@hotmail.com>

* nit: update initial config example

* nit: update initial config example

* clarify pages option

* nit: update how the configuration reference is organized

Co-authored-by: Peter Singh <drgaud@hotmail.com>
2021-12-22 08:22:11 -05:00
Jonathan Neal
29976c6de0
format (#2246) 2021-12-21 22:01:28 -05:00
Fred K. Schott
e07c1cbd7e
[ci] update lockfile (#2240)
* [ci] update lockfile

* fix package dependency issue

* Create heavy-pianos-obey.md

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-21 10:37:09 -08:00
Nate Moore
5ab3fbb3b1
chore(examples): add AlpineJS example (#2222) 2021-12-21 12:45:23 -05:00
Alan
1b418a6481
Improve wording in documentation for client:* directives (#2232)
* Make wording around `client:*` directives more clear

A friend and I both found the wording on this page to be a touch ambiguous. When does the renderer JS download? Does Astro really delay all JS downloading until the component is ready to be hydrated, or just the component JS?

I think these changes make the behavior crystal clear?

* Make tense consistent for `client:only`
2021-12-21 12:16:34 -05:00
Matthew Phillips
9aff6eee71
Flagged static (performance optimized) build (#2168)
* Progress on build demo

* Go back to ESM

* Some more progress on the new build

* More progress here

* Add support for hot reload

* Almost done

* Remove debugging stuff

* chore(lint): Prettier fix

* Pass through the origin

* Do not use ssr mode

* Use the logger

* chore(lint): Prettier fix

* Update yarn lock

* Fix types

* Only build chunks that are astro pages

* Debugging windows

* Prevent compilation race condition

* Read the file if not found in the cache

* Give a better error message when we can't find a page

* chore(lint): Prettier fix

* Fix windows maybe

* chore(lint): Prettier fix

* Some more windows debugging

* chore(lint): Prettier fix

* Remove console logs

* More debugging

* chore(lint): Prettier fix

* More debugging info

* chore(lint): Prettier fix

* Remove logging again

* Try to prevent port conflicts

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-21 11:57:50 -05:00
ptrxyz
83053bcae9
Update index.js (#2236)
Enables PostCSS in Svelte components. Fixes #2211
2021-12-19 18:14:25 -05:00
Tom VanAntwerp
b6398c4dbe
Fix minor typo in styling docs (#2233) 2021-12-19 15:28:50 -05:00
Fred K. Schott
ccb2c77321
[ci] update lockfile (#2228)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-19 14:45:03 -05:00
Jonathan Neal
ac7f944d6a
Bump @astropub/webapi (#2218)
* bump polyfill

* chore(lint): Prettier fix

* chore: force ci

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-19 14:44:30 -05:00
Fred K. Schott
29bfe79b48
[ci] update lockfile (#2220)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-17 09:40:37 -08:00
Jonathan Neal
033b70a7f8
Add Component Example (#2203)
* Add Component Example

* chore(lint): Prettier fix

* nit: improve implementation

* nit: Update documentation

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-17 08:47:59 -05:00
Nate Moore
bd246f0b2d docs: add deprecation notice to @astrojs/parser 2021-12-16 18:00:02 -06:00
Nate Moore
c5a7305f04 chore: update changesets 2021-12-16 17:57:10 -06:00
Jonathan Neal
45cea6aec5
Support Node v14.15+ (#2202)
* Support Node v14.15+

* changeset

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* Update .changeset/new-hats-design.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>

* ES2020

* update yarn.lock

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16 18:53:22 -05:00
Nate Moore
810aeb321a chore: release @astrojs/renderer-svelte@0.2.3 2021-12-16 17:36:48 -06:00
Nate Moore
b8be7e868e Revert "[ci] update lockfile (#2212)"
This reverts commit 3f3eceb16b.
2021-12-16 17:03:56 -06:00
Nate Moore
7a3819cfa9 fix: use ref_name for changeset 2021-12-16 16:48:09 -06:00
Nate Moore
a4a6b7d871 fix: pin with-vite-plugin-pwa example 2021-12-16 16:32:13 -06:00
Nate Moore
b8c821a074
chore: release pinned version of Svelte renderer (#2216)
* chore: release pinned version of Svelte renderer

* chore(lint): Prettier fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 16:24:35 -06:00
Nate Moore
c6928478ae
Update CI to cache node_modules per OS (#2210)
* chore(action): update CI to cache node_modules per OS

* fix(ci): run tests on lint fix

* Update ci.yml
2021-12-16 15:38:55 -06:00