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
0d37f8e0a5
chore: revert #2715 ( #2722 )
2022-03-04 15:25:59 -06: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
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
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
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
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