Commit graph

4578 commits

Author SHA1 Message Date
Matthew Phillips
38fdb4ca6f
Shorter CSS naming algorithm (#5036)
* Shorter CSS naming algorithm

* Adding a changeset

* Update packages/astro/src/core/build/vite-plugin-css.ts

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>

Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-10-10 11:05:28 -04:00
Daniel
d7bfb144ba
fixing multiple doctype injections in single file (#5035)
* fixing multiple doctype injections in single file

* adding changeset

Co-authored-by: C5341616 <C5341616@sap.com>
2022-10-10 09:02:20 -04:00
Matthew Phillips
b1964e9e1b
Revert "Revert preact signals support (#4843)" (#5015)
This reverts commit 25a5b9a89a.
2022-10-10 09:01:15 -04:00
matthewp
2314e48f03 [ci] format 2022-10-07 21:10:32 +00:00
Matthew Phillips
062335dbf7
Fix remote images in SSG mode (#5021) 2022-10-07 17:08:15 -04:00
delucis
bd756aea18 [ci] format 2022-10-07 20:52:43 +00:00
Dan Jutan
f93449b80f
Correct base documentation (#4992) 2022-10-07 22:50:25 +02:00
matthewp
145e2c575a [ci] format 2022-10-07 19:56:04 +00:00
Matthew Phillips
6efeaeb39e
Fix suppot for mui (#5016) 2022-10-07 15:54:25 -04:00
Tony Sullivan
e5c64c51c1
Adds an integration starter example (#4877)
* adding an integration starter example

* chore: linter fixes

* removing components from the integration example

* removing the monorepo and demo project, adding links to docs and examples

* chore: update lock file

* typo fix
2022-10-07 16:06:51 +00:00
Fred K. Bot
4e8625fbfb
[ci] release (#5014)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-07 10:34:13 -04:00
matthewp
67dc9b15b9 [ci] format 2022-10-07 14:31:41 +00:00
Matthew Phillips
ffbe4e71e3
Move astro/config into src and typecheck (#5013)
* Move astro/config into src and typecheck

* Adding a changeset
2022-10-07 10:30:08 -04:00
Oskar Baumann
92b27e9c92
[@astrojs/prefetch]: Prevent prefetching current page (#5009)
* Check that removal of url.hash breaks no tests

* test if status-quo is as expected

* Adapt tests to fail

* Adapt the shouldPreload function to skip same path

* Add changeset
2022-10-07 10:13:51 -04:00
matthewp
358ffb541d [ci] format 2022-10-07 13:38:38 +00:00
Fred K. Bot
4393bd6710
[ci] update lockfile (#5011)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-07 09:36:43 -04:00
Robin Lindner
5bbe385b21
Improve test infrastructure for integrations/deno (#5005)
* Improve test infrastructure for integrations/deno

* Add changeset

* Use declared type

* Remove changeset

* Upgrade deno version in -workflow
2022-10-07 09:36:24 -04:00
Matthew Phillips
f38e556085
Add license from rimraf code usage (#5006)
* Add license from rimraf code usage

* Skip flakey solid test :(

* Skip all multiframework tests, table flip
2022-10-06 18:07:31 -04:00
matthewp
6e11718065 [ci] format 2022-10-06 20:34:12 +00:00
Matthew Phillips
49fbc6b648
E2E stability (#5002) 2022-10-06 16:32:37 -04:00
Fred K. Bot
778b915525
[ci] release (#4976)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-06 13:47:10 -04:00
tony-sull
e71fc8b5fc [ci] format 2022-10-06 15:55:06 +00:00
Oskar Baumann
a2b66c7549
[@astrojs/image]: Fix <Picture /> component with query string (#4997)
* remove query params from file extension

* Revert changes to make change as small as possible

* moving the removeQueryParam check to basename()

* chore: adding a changeset

* adding SSR test coverage for new picture test cases

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-10-06 15:53:11 +00:00
natemoo-re
eaa019f49d [ci] format 2022-10-06 15:43:51 +00:00
Erika
3e02a66a77
Add type argument to AstroGlobal to type Props (#5000)
* Add type argument to AstroGlobal to type Props

* Update packages/astro/src/@types/astro.ts

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

* Update packages/astro/src/@types/astro.ts

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

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-10-06 10:42:17 -05:00
Fred K. Bot
70254076a1
[ci] update lockfile (#4987)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-10-06 10:57:09 -04:00
Dan Jutan
0bd6dddfcf
Docs: add yarn workaround to node integration docs (#4978)
* Add yarn workaround to troubleshooting section

* npm can also cause this error
2022-10-06 10:37:58 -04:00
Bjorn Lu
9683ae64ff
Add test for suffix hydration (#4982) 2022-10-06 10:36:50 -04:00
João Araújo
50a397c4ba
Update @builder.io/partytown dependency (#4989) 2022-10-06 10:33:01 -04:00
matthewp
2459426e6a [ci] format 2022-10-06 14:30:50 +00:00
Daniel
2dc582ac5e
adjusting cloudflare adapter and solid ssr to work together (#4888)
* adjusting cloudflare adapter (respecting user config)
define better solid ssr config

* only inline the framework

this needs to happen for worker build in order to have the correct build mode for the framework, which needs the nodejs no matter if it is for node or the browser.

Co-authored-by: AirBorne04 <daniel@floatingpixels.com>
2022-10-06 10:28:47 -04:00
Matthew Phillips
e5b526c3a5
Document Lit's limitations in SSR (#4999) 2022-10-06 10:18:08 -04:00
Matthew Phillips
671fca7dac
Remove early return from SSR example (#4993) 2022-10-05 16:37:54 -04:00
matthewp
d22d77856b [ci] format 2022-10-05 20:32:46 +00:00
Matthew Phillips
1f890b3363
Yield out potentional slot instructions when rendering dynamic tags (#4981)
* Yield out potentional slot instructions when rendering dynamic tags

* Adding a changeset

* yield instead of return

* Handle the fact that renderComponent returns an iterable

* Only yield out html once
2022-10-05 16:30:43 -04:00
Matthew Phillips
8f9791d840
Upgrade Astro compiler to 0.26.0 (#4990)
* Upgrade Astro compiler

* Add changeset
2022-10-05 16:29:30 -04:00
Bjorn Lu
c1b6b0b64b
Fix failing e2e test (#4983) 2022-10-05 22:19:26 +08:00
Tony Sullivan
b6203a41f7
Updating sponsors list in README (#4979)
* updating all org and project sponsors

* fix: copy/paste errors

* sponsors should be in one row

* using a logo cloud image for now

* updating sponsors message to match other repos
2022-10-04 19:16:29 +00:00
matthewp
67fbdc3384 [ci] format 2022-10-04 17:01:14 +00:00
Bjorn Lu
a6bb2694b4
Refactor hydration path handling (#4918)
* Refactor hydration path handling

* Remove old code

* Fix jsx strip

* Postprocess fix

* Handle jsx to tsx stuff

* Skip bigint tests

* Fix deno

* Try fix windows

* Fix windows

* Add more comments
2022-10-04 12:59:35 -04:00
董雨航
61d26f3352
fix: import.meta.env.BASE_URL will be '/' in client loaded component on dev mode (#4886) 2022-10-04 12:57:35 -04:00
Calvin Liang
37cb2fc02a
fix object styles not escaped (#4887)
* fix object styles not escaped

* fix `shouldEscape` not passed down

* add tests

* fix package name

* fix pnpm-lock

* add changeset
2022-10-04 12:56:11 -04:00
Tony Sullivan
4f73b98ae0
closes #4633 (#4977)
* closes #4633

* chore: add changeset
2022-10-04 16:16:47 +00:00
Fred K. Bot
67099805f4
[ci] update lockfile (#4946)
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
2022-10-04 11:57:57 -04:00
matthewp
f878dd6f19 [ci] format 2022-10-04 14:32:39 +00:00
Zihan Chen
911c1d315c
Update config base type description (#4954) 2022-10-04 10:30:59 -04:00
Bjorn Lu
c733d4fb81
Support Astro.slots.render for mdx (#4973)
* Support Astro.slots.render for mdx

* Remove extra imports
2022-10-04 10:18:34 -04:00
Fred K. Bot
5d58787f7a
[ci] release (#4968)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-03 18:48:40 -04:00
Matthew Phillips
e6a881081f
Fix regression in rendering strings (#4967) 2022-10-03 18:21:34 -04:00
matthewp
adff3c45f2 [ci] format 2022-10-03 21:04:04 +00:00