Commit graph

756 commits

Author SHA1 Message Date
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
matthewp
21e9e02740 [ci] yarn format 2022-01-05 16:21:38 +00:00
github-actions[bot]
fa396750ef
[ci] release (#2307)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-05 11:20:39 -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
matthewp
79f8cfee60 [ci] yarn format 2022-01-04 20:10:42 +00: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
Georges Gomes
eae959f1a7
Adds ‹div›RIOTS logo to the list of sponsors (#2271)
* Sponsor divRIOTS logos

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update packages/astro/README.md

Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>

Co-authored-by: Astroalex <alexis31.balthazard@gmail.com>
2022-01-04 12:38:02 -06:00
Tadeu Zagallo
5fbdd56f15
Fix dynamic routes for sites with subpath (#2299) 2022-01-04 13:22:06 -05:00
matthewp
64c02dff92 [ci] yarn format 2022-01-04 16:29:25 +00:00
github-actions[bot]
d11c7b8c5c
[ci] release (#2304)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 11:28:19 -05: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
matthewp
e75b50d55d [ci] yarn format 2022-01-04 14:48:03 +00:00
github-actions[bot]
69f4ff5473
[ci] release (#2303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-01-04 09:46:45 -05:00
matthewp
670bebe9ae [ci] yarn format 2022-01-04 14:36:34 +00: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
Caleb Jasik
f26eb7b745
Docs/move-english-docs-to-"en"-folder (#2268)
* Move english pages under `/en` and fix broken links hopefully

* Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js

* update languageselect for new en format

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-03 11:59:34 -08:00
matthewp
4fd2abc606 [ci] yarn format 2021-12-30 17:04:12 +00:00
github-actions[bot]
c5a67b4275
[ci] release (#2293)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 12:03:19 -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
matthewp
ae1e61aec8 [ci] yarn format 2021-12-30 14:15:29 +00:00
github-actions[bot]
1da4682a50
[ci] release (#2291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-30 09:14:21 -05:00
matthewp
9b9d935840 [ci] yarn format 2021-12-30 14:04:33 +00:00
Matthew Phillips
c77cf52e16
Don't overwrite the stack when using verbose logging (#2290)
* Don't overwrite the stack when using verbose logging

This makes it so that if the compiler panics and `--verbose` logging is
on (debug level), we don't replace the stack trace.

* Adds a changeset
2021-12-30 09:03:03 -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
matthewp
57773b932f [ci] yarn format 2021-12-23 21:02:26 +00: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
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
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
ptrxyz
83053bcae9
Update index.js (#2236)
Enables PostCSS in Svelte components. Fixes #2211
2021-12-19 18:14:25 -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
Nate Moore
bd246f0b2d docs: add deprecation notice to @astrojs/parser 2021-12-16 18:00:02 -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
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
Sarah Rainsberger
bd1956b72f
Revert default RSS feed generated to rss.xml (0.21 changed to feed.xml) (#2172)
* Create sandbox.config.json specifying port 3000

* Update sandbox.config.json

* Create sandbox.config.json for blog example

* Create sandbox.config.json for multiple authors blog

* added sandbox config to portfolios

* [ci] yarn format

* added sandbox.config.json to more frameworks examples

* [ci] yarn format

* reverted default rss to rss.xml

Co-authored-by: sarah11918 <sarah11918@users.noreply.github.com>
2021-12-13 16:30:24 -05:00
Jonathan Neal
6570a20442
rebase (#2087) 2021-12-13 16:18:21 -05:00
Francois Valdy
5f5dc60976
Add missing licenses to published packages (#2166)
* chore: add missing licenses

* chore: update package.json info

Co-authored-by: Nate Moore <nate@skypack.dev>
2021-12-13 15:14:34 -06:00