Commit graph

207 commits

Author SHA1 Message Date
Fred K. Schott
d9263c8427
fix vite version (#2694) 2022-03-01 09:31:15 -08: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
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
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
Nate Moore
046af36475
fix(hmr): HMR regression related to .astro updates (#2681) 2022-02-28 16:00:09 -06: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
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
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
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
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