Commit graph

196 commits

Author SHA1 Message Date
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
Fred K. Schott
91e5b268d0
update lockfile (#2620) 2022-02-18 16:52:19 -08:00
Matthew Phillips
23783648b6
Adds memory leak test in CI (#2616)
* Add a memory leak test

* Add memory leak smoke test to CI

* Update the latest compiler

* Update yarn.lock

* Remove entries optimization

* Calculate as 5% higher
2022-02-18 14:23:47 -06:00
Nate Moore
929fae684f
chore: upgrade @astrojs/compiler (#2599) 2022-02-16 17:33:43 -06:00
Nate Moore
085468e949
chore: upgrade compiler (#2594) 2022-02-16 08:45:15 -06:00
Matthew Phillips
ec6f148fc8
Resolve relative imports from hoisted scripts (static build) (#2581)
* Resolve relative imports from hoisted scripts

* Adds a changeset

* Windows fix

* Set a longer timeout for the Lit test

* blah

* Handle windows properly

* Only if the from is astro

* Windows debugging

* This might fix it

* another try

* use only

* More debugging

* Does this work

* Final cleanup

* Update the lockfile
2022-02-15 16:55:07 -05:00
Jonathan Neal
fb9a77b77f
Update smoke tests to include external docs and www (#2557)
* Update smoke tests

* nit: remove old comment

* chore: have smoketests use workspace

* nit: re-order application and execution
2022-02-15 10:51:12 -05:00
Matthew Phillips
ba5e2b5e6c
Flagged SSR support (#2548)
* Checkpoint, basics are working

* Add the `--experimental-ssr` flag

* Adds the changeset

* Fixes population of getStaticPaths results

* Pass through the imported module

* Route manifest test

* Fix remaining tests

* Fix remaining tests

* Copy server assets over

* Fix types

* Allowing passing in the request to the Node version of App

* Improve the example app

* Gets CI to pass
2022-02-14 12:48:52 -05:00
Fred K. Schott
d9691cf705 Revert "Added prettier-plugin-astro (#2513)"
This reverts commit 73bf4d8bb8.
2022-02-09 13:56:00 -08:00
Nate Moore
a907a73b8c
chore: upgrade vite and renderer dependencies (#2563) 2022-02-09 13:01:17 -06:00
Nate Moore
1abb9ed080
Upgrade Vite to latest (#2424)
* chore: unvendor vite

* chore: upgrade vue and svelte

* feat(renderer-solid): upgrade for vite@2.7.x

* chore: update yarn.lock

* fix(solid): upgrade solid renderer for vite@2.7.x

* test: improve css test

* chore: upgrade to vite@2.8.0-beta.3

* fix: replace hacky serialization with 'serialize-javascript'

* fix: externalize serialize-javascript

* fix: explicitly add execa@6.x.x to devDependencies

* test(css): skip css?url test

* chore: update vite-plugin-svelte

* fix: ssr option

* chore: update changeset

* chore: remove changeset

* chore: add changeset

* chore: add back missing changeset

* chore: update vite

* chore: update to latest vite

* test: update proload?

* chore: update dependencies

* fix: remove preact from nanostores example

* fix: update static-build-pkg to use `.mjs` extension

* fix: exclude './server.js' from custom-elements test

* chore: remove unused file
2022-02-08 17:38:00 -06:00
Juan Martín Seery
73bf4d8bb8
Added prettier-plugin-astro (#2513)
* [ci] yarn format

* Added prettier-plugin-astro

* Reverted docs changes (withastro/docs#120)

Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2022-02-07 15:11:44 -05:00
Fred K. Schott
5872ec3d9c
[ci] update lockfile (#2543)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-07 08:23:25 -05:00
Fred K. Schott
785af44d15
[ci] update lockfile (#2527)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-06 13:46:59 -08:00
Juan Martín Seery
cfeaa9414a
fix: import local plugins into markdown (#2534)
* Replaced "UnifiedPluginImport" for a function

* Updated tests

* Updated docs

* Updated examples

* Added changeset

* Fixed tests

* Removed unused "UnifiedPluginImport"

* Duplicated add-classes.mjs
2022-02-04 13:49:50 -05:00
Fred K. Schott
ade996c885
[ci] update lockfile (#2515)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-02-02 16:59:57 -05:00
Juan Martín Seery
6fe1b0279f
Add Shiki as an alternative to Prism (#2497)
* [ci] yarn format

* Added shiki to markdown-remark

* Upgraded astro shiki

* Added minimal example

* Changed defaults to match <Code />

* Replace `shiki` with `astro` classes

* Added documentation

* Updated Astro code to use new `codeToHtml`

* Added changesets

* Added basic test

* Updated tests a bit

Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31 16:14:07 -06:00
Nate Moore
618a16f59d
Deprecate unescaped HTML inside of expressions (#2489)
* feat: implement automatic escaping

* feat: deprecate automatic escaping

* fix: cast unescapeHTML as string

* fix: slot fallback behavior

* fix: unescaped content

* Update escape.ts

* Update escape.ts

* feat: update internal components to use `set:html`

* chore: update compiler

* chore: update changeset
2022-01-31 16:13:22 -06:00
Matthew Phillips
3d2c184962
Fix define:vars in the static build flag (#2511)
* Fix define:vars in the static build flag

* Adds a changeset

* linting
2022-01-31 16:56:14 -05:00
Fred K. Schott
1e746e1071
[ci] update lockfile (#2495)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-31 16:28:41 -05:00
Fred K. Schott
de9fadbaed
refactor the route cache and other build internals (#2503)
* refactor dev to use vite server

* refactor the route cache and other build internals

* use debug package for debug logs (#2504)

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2022-01-31 15:05:42 -05:00
Fred K. Schott
d7149f9b2f
refactor dev to use vite server (#2494) 2022-01-31 14:44:40 -05:00
Fred K. Schott
52f8fbe37c
[ci] update lockfile (#2458)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-28 18:20:32 -05:00
Fred K. Schott
2a223fae0e
[ci] update lockfile (#2439)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-24 09:04:02 -05:00
Matthew Phillips
9e1bc1752f
Upgrade compiler to latest (#2432)
* Upgrade compiler to latest

* Updates the changeset
2022-01-20 15:37:09 -05:00
Fred K. Schott
59634a9d20
[ci] update lockfile (#2427)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-20 09:50:08 -05:00
Fred K. Schott
b52a38ac4d
[ci] update lockfile (#2397)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-01-19 17:30:24 -05:00
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