Commit graph

169 commits

Author SHA1 Message Date
Matthew Phillips
a7967530df
Fixes Lit support in the static build (#2370)
* [ci] collect stats

* [ci] update lockfile (#2388)

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>

* Fixes for blog and docs examples (#2373)

* Fixes for blog and docs examples

* Adds a changeset

* Upgrade the compiler version

* Use a global style tag

* Skip on windows temporarily

* [ci] yarn format

* Fixes Lit support in the static build

* Adds a changeset

* test

* Upgrade lit-labs/ssr

* Conditional

* Testing again

* remove debugging code

* changeset

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-14 14:02:44 -05:00
Matthew Phillips
92532b8882
Fixes for blog and docs examples (#2373)
* Fixes for blog and docs examples

* Adds a changeset

* Upgrade the compiler version

* Use a global style tag

* Skip on windows temporarily
2022-01-14 12:11:56 -05:00
Fred K. Schott
0257419af8
[ci] update lockfile (#2388)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-14 11:12:29 -05:00
Fred K. Schott
a9b44f2936
[ci] update lockfile (#2368)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-13 09:25:08 -05:00
Fred K. Schott
d3d2b89159
[ci] update lockfile (#2356)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-12 10:39:51 -05:00
Jonathan Neal
eaa626de88
Restore accessibility check on docs site (#2362) 2022-01-11 15:39:19 -05:00
Fred K. Schott
296634b518
[ci] update lockfile (#2351)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-10 16:58:47 -05:00
Fred K. Schott
27fe803fd1
[ci] update lockfile (#2344)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-08 08:25:46 -05:00
Matthew Phillips
180dfcf2fc
Handle loading the Code package in the static build (#2337)
* Handle loading the Code package

Fixes #2329

* Use Code the normal way

* Adds a changeset

* Only resolve browser path if there is no common ancestor

* Update examples/fast-build/src/pages/index.astro

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-07 16:28:27 -05:00
Fred K. Schott
c3c054c912
[ci] update lockfile (#2334)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-07 10:10:06 -05:00
Fred K. Schott
4aa395c75e
[ci] update lockfile (#2327)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-06 16:32:55 -05:00
Nate Moore
77ef43e66c
chore: update compiler (#2324) 2022-01-05 18:32:42 -06:00
Fred K. Schott
0b55918738
[ci] update lockfile (#2311)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-05 12:04:08 -06:00
Nate Moore
c0204c0a41
chore: update compiler (#2318) 2022-01-05 12:03:16 -06:00
Jonathan Neal
e6379d514d
Bump WebAPI (#2319)
* bump webapi

* changeset
2022-01-05 13:02:42 -05:00
Nate Moore
e98659b7d6
Update compiler to 0.7.2 (#2308)
* chore: update compiler

* chore: add changeset

* chore: upgrade compiler again
2022-01-04 16:06:57 -06:00
Matthew Phillips
2770588867
Remove rehype-add-classes (#2309)
* Remove rehype-add-classes

* Fix the markdown plugin test
2022-01-04 15:09:10 -05:00
Fred K. Schott
e5019271a5
[ci] update lockfile (#2298)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-04 08:46:04 -08:00
Matthew Phillips
193ca60f40
Upgrade language server (#2305)
* Upgrade language server

Fixes #2297

* Adds a changeset
2022-01-04 11:06:47 -05:00
moritzlaube
344866762c
Update svelte version in renderer-svelte (#2300)
* Update svelte version in renderer-svelte

I am having funny console logs saying that my svelte component `received an unexpected slot "default".`. This issue is described here: https://github.com/sveltejs/kit/issues/981

Supposedly, updating svelte to version 3.44.3 solves this issue. I couldn't test it, though.

* Update Svelte to 3.44.3 to get rid of console warning that component receives an unexpected slot "default".
2022-01-04 10:17:21 -05:00
Matthew Phillips
9db22b97b6
Only resolve inline script specifiers in the static build (#2302)
* Revert "Revert "Implement hydrated components in the static build (#2260)""

This reverts commit 17ac18e88c.

* Only resolve specifiers in the static build

* Adding a changeset

* Fix the client-only test
2022-01-04 09:35:07 -05:00
Matthew Phillips
2e55dc2686
Revert "Implement hydrated components in the static build (#2260)" (#2292)
* Revert "Implement hydrated components in the static build (#2260)"

This reverts commit ae5255dd25.

* Adds a changeset
2021-12-30 11:52:22 -05:00
Fred K. Schott
3db2334ea8
[ci] update lockfile (#2289)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-30 09:03:18 -05:00
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
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
Jonathan Neal
160b45bf4d
bump webapi (#2263) 2021-12-23 14:35: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
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
3f08b45955
bump webapi (#2249) 2021-12-22 10:08:15 -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
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
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
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
b8be7e868e Revert "[ci] update lockfile (#2212)"
This reverts commit 3f3eceb16b.
2021-12-16 17:03:56 -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
Fred K. Schott
3f3eceb16b
[ci] update lockfile (#2212)
* [ci] update lockfile

* bump vite,@astropub/webapi

* exclude document

* chore(lint): Prettier fix

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16 09:05:41 -05:00
Jonathan Neal
91173fe938
Replace fetch walk-n-replace with polyfill (#2206)
* Replace fetch replacer with genuine polyfill

* chore(lint): Prettier fix

* changeset

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 14:11:14 -05:00
Fred K. Schott
c80f9eca61
[ci] update lockfile (#2208)
* [ci] update lockfile

* chore(lint): Prettier fix

Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-15 08:53:30 -08:00
Fred K. Schott
c197287260
[ci] update lockfile (#2198)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2021-12-14 13:48:25 -08:00
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05:00
Jonathan Neal
c3db1eb4ef
Upgrade dependencies (#2085)
* yarn upgrade

* yarn upgrade --latest yargs-parser

* yarn upgrade --latest mime

* yarn upgrade --latest execa

* yarn upgrade --latest globby

* yarn upgrade --latest @docsearch/react

* yarn upgrade --latest es-module-lexer

* yarn upgrade --latest fast-xml-parser

* yarn upgrade --latest @astrojs/compiler @astrojs/language-server

* yarn upgrade --latest acorn

* clean yarn.lock

* chore: put `@docsearch/react` back to v1

* chore: remove unused @snowpack/plugin-dotenv

* Update yarn.lock

* Patch tests based on newer versions of tooling

* remove lerna

* Update yarn.lock

* Update yarn.lock

* Pin @sveltejs/vite-plugin-svelte

* update yarn.lock
2021-12-13 15:59:08 -05:00
Nate Moore
16484f603d
Adopt turborepo (#2167)
* chore: use turbo

* chore(lint): Prettier fix

* chore(actions): fix ci

* chore(actions): add turbo caching

* chore(actions): test turbo caching

* chore: remove test dependency on build

* chore: fix build outputs

* chore(actions): restore tests from cache

* chore(actions): fix turbo cache

* chore(actions): fix turbo cache

* chore(actions): restore turbo after artifacts

* chore(actions): caching is hard

* chore: force ci

* chore(actions): prefer-offline for yarn install

* chore(actions): attempt to cache turbo based on sha

* chore: remove lerna.json

* chore(action): update restore keys

* chore(action): sidestep turbo for windows tests

* chore(action): do not restore unhashed files

* chore(action): fix typo

* chore(action): fix typo

* chore(action): fix typo

* chore(action): fix artifacts paths

* chore(action): sync turbo cache

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-09 18:11:49 -06:00
Fred K. Schott
5af24efb34
pin preact to 10.5 to resolve preact issue (#2170)
* pin preact to 10.5 to resolve preact issue

* fix: use current yarn.lock and only update preact

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-09 10:33:53 -08:00
Nate Moore
77c3fda379
Make fetch injection safe to existing code (#2135)
* fix: inject `fetch` only if not declared

* test: improve fetch test

* chore(lint): Prettier fix

* chore: trigger ci

* fix: improve type narrowing

Co-authored-by: GitHub Action <github-action@users.noreply.github.com>
2021-12-06 16:08:00 -06:00
Nate Moore
8346a1f2b9
Update Compiler (#2117)
* chore: update compiler

* chore: update compiler

* Revert "chore: update compiler"

This reverts commit 5742c24542.
2021-12-03 16:10:05 -06:00
Jonathan Neal
11798a3209
Update Astro dependencies (#2096)
* Update Astro dependencies

* changeset

* chore: update `@astro/compiler`
2021-12-02 17:33:24 -05:00
Matthew Phillips
bebb312b09
Upgrade compiler to 0.5.4 (#2057)
* Upgrade compiler to 0.4.0

* chore: update compiler to v0.5.1

* chore: update compiler to v0.5.3

* chore: upgrade @astrojs/compiler

* test: skip flaky test

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-01 15:25:29 -06:00