ematipico
377530a810
[ci] format
2023-03-07 13:43:21 +00:00
Emanuele Stoppa
fe88f89512
chore: use directive @ts-expect-error
instead of @ts-ignore
( #6429 )
2023-03-07 13:41:24 +00:00
ematipico
e1858e6334
[ci] format
2023-03-07 06:57:52 +00:00
Emanuele Stoppa
75921b3cd9
feat(cli): add --watch
to astro check
command ( #6356 )
...
* feat(cli): add `--watch` to `astro check` command
* chore: refactor in a leaner way, logic not changed
* chore: lint
* chore: revert changes in sync command
* chore: tweak server settings
* test: add one test case
* chore: increase timeout
* test: predictable testing
* chore: add changeset
* chore: code suggestions
* code suggestions
* chore: use directly `chokidar`
* chore: tweak code
* fix: open documents first
* chore: disable test
* chore: code suggestions
* chore: code suggestions
* Apply suggestions from code review
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
* code suggestions
* chore: rebase
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
2023-03-07 06:55:41 +00:00
Bjorn Lu
1291afc09d
Fix changeset run ( #6442 )
2023-03-07 14:50:34 +08:00
Bjorn Lu
00a0af7ed4
Move benchmark package and update changeset config ( #6433 )
2023-03-07 10:52:47 +08:00
Nate Moore
af05a4fa46
Update README.md ( #6437 )
...
* Update README.md
* Update README.md
2023-03-06 14:06:33 -06:00
Nate Moore
8ebf4b7481
chore: update branding assets ( #6436 )
2023-03-06 14:03:33 -06:00
Erika
afbbc4d5bf
Update compilation target for Node 16 ( #6213 )
...
* config(esbuild): Update esbuild target to node16
* config(package): Update root package.json node engine
* config(tsconfig): Update all the tsconfigs module and targets
* chore: changeset
* chore: remove unneeded file
2023-03-06 13:57:16 -05:00
Sarah Rainsberger
18acae3edc
[error docs] update link for client-side scripts ( #6423 )
2023-03-06 14:36:40 -04:00
ematipico
8b49d1781d
[ci] format
2023-03-06 17:03:18 +00:00
Emanuele Stoppa
a4a74ab70c
feat(cli): add help flags to various commands ( #6394 )
...
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
2023-03-06 16:58:56 +00:00
Dennis Morello
b087b83fe2
Add getStaticPaths type helpers to infer params and props ( #6150 )
...
* feat(astro): add InferGetStaticParamsType and InferGetStaticPropsType type helpers
* chore(astro): added changeset
2023-03-06 11:38:42 -05:00
Houston (Bot)
19fe4cb629
[ci] release ( #6414 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-06 11:30:38 -05:00
bluwy
1aea58f14a
[ci] format
2023-03-06 14:58:51 +00:00
Bjorn Lu
c5bac09a42
Add page render benchmark ( #6415 )
2023-03-06 22:55:44 +08:00
Happydev
e0844852d3
Fix ?inline
and ?raw
css query suffixes inlined in style tags in development ( #6426 )
...
* test: add test cases
* test: add another expectation
* fix: don't crawl inline and raw css queries
* chore: changeset
2023-03-06 08:06:55 -05:00
Bjorn Lu
9d236c9417
Remove unused benchmarks ( #6396 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-04 13:16:53 +08:00
李瑞丰
cd8469947b
Remove redundant comments when astro add
update astro.config.mjs
( #6412 )
...
* Remove redundant comments when update
* add \n
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-03 09:41:11 -06:00
Erika
0abd1d3e42
Use undici's FormData for polyfilling ( #6413 )
...
* fix(webapi): Use undici's FormData instead of a polyfill
* chore: changeset
2023-03-03 14:47:24 +01:00
Bjorn Lu
13f6f591e3
Improve server-stress benchmark comment ( #6405 )
2023-03-03 11:55:31 +08:00
Brian McManus
4a18d27f97
Fix marketing typo by just removing extra info ( #6410 )
2023-03-02 15:47:13 -06:00
Brian McManus
e66847b36e
Update devcontainer names ( #6409 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-02 14:48:37 -06:00
Kanad Gupta
f4bf41bb27
fix: use official MDX extension ( #6408 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-02 14:48:17 -06:00
natemoo-re
4ec781bd89
[ci] format
2023-03-02 20:37:26 +00:00
Houston (Bot)
5c95f4f95a
[ci] release ( #6377 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-02 14:32:38 -06:00
Emanuele Stoppa
f208b5f897
ci: use one action for comments ( #6406 )
...
* ci: use single action for comments
* Update .github/workflows/benchmark.yml
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-03-02 16:10:56 +00:00
Bjorn Lu
45501c531b
Teardown compiler to improve rendering perf ( #6391 )
...
* Teardown compiler to improve rendering perf
* Upgrade compiler to minor
* Try hacky test guard
* Nicer teardown flow
2023-03-02 14:54:07 +00:00
Juan Martín Seery
0e378c3b87
fix(vercel): update getRequest to use undici ( #6380 )
...
* fix(vercel): update getRequest to use undici
* Changeset
* haha ts-expect-error is a double-edged sword
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-03-01 19:00:52 +00:00
Emanuele Stoppa
2678264f51
ci: correctly update comment in action ( #6397 )
2023-03-01 16:23:24 +00:00
Bjorn Lu
ee8b2a0672
Fix astro sync config merge ( #6392 )
...
* Fix astro sync config merge
* Fix getViteConfig type
2023-03-01 15:19:19 +00:00
Emanuele Stoppa
c1ca84a8c1
ci: add workflow dispatch ( #6386 )
2023-03-01 14:02:35 +00:00
Bjorn Lu
f4937949d6
Refactor benchmark script ( #6376 )
...
* Add timer setting
* Setup benchmark code
* Setup memory benchmark
* Add compare function
* Add result preview
* Setup results preview
* Simplify script for CI
* Update CI
* Cleanup
* Temp remove fork guard
* Fix stuff
* Fix again
* Fix quotes
* Fix multiline output
* Simplify title
* Fix memory numbers
* Remove astro bin dir
* Fix gc
* Add repo guards
* Fix wrong call
* Set max space size
* Remove guard
* Bump memory a bit
* Organize neatly
* Update readme
* Try large md
* Try no gc
* Revert markdown and gc changes
* Test sha
* Try ref
* Try 128mb
* Set 256
* Add guard
* Apply suggestions from code review
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Add docs comment
---------
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-03-01 08:46:06 +00:00
natemoo-re
045262ee99
[ci] format
2023-02-27 21:28:07 +00:00
Joaquín Sánchez
02a7266e3c
fix: don't mix Vite plugins when spawning temporary Vite server ( #6368 )
...
* fix: don't mix Vite plugins when spawning temporary Vite server
* chore: include command to `createVite` options
* chore: use `command` and exclude `preview`
* chore: add test
* fix(test): remove command check from apply fn
* chore: add hint about filtering vite plugins and command
* chore: apply suggestion
Co-authored-by: Ben Holmes <hey@bholmes.dev>
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-02-27 15:26:11 -06:00
Erika
95164bfdd2
Add a warning when using encoding
in SSR and headers
on objects in endpoints ( #6358 )
...
* fix(endpoints): Add a warning when trying to set encoding and headers in SSR
* fix(endpoint): Oops, it'd be great if it actually worked
* fix(endpoint): Fix import path
* fix(endpoint): Add link to docs
* Update packages/astro/src/core/endpoint/index.ts
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* fix: don't output encoding warning if endpoint is pre-rendered
* Update packages/astro/src/core/endpoint/index.ts
* Update packages/astro/src/core/endpoint/index.ts
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-27 12:07:13 -06:00
natemoo-re
ff2e4dac7b
[ci] format
2023-02-27 16:11:41 +00:00
Nate Moore
754c5ca9aa
Respect original package.json
indentation ( #6375 )
...
* fix(#6338 ): respect original indentation
* chore: add changeset
2023-02-27 10:09:54 -06:00
Houston (Bot)
71743aeca7
[ci] release ( #6359 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-27 08:55:42 -05:00
bluwy
780c583b0e
[ci] format
2023-02-26 01:53:18 +00:00
Vick Vasquez
67c58c48c7
fix: remove duplicate exit key from create template ( #6360 )
2023-02-26 09:51:26 +08:00
weakish
9f0ae4e6eb
Update doc link in non-html-pages example README ( #6369 )
2023-02-25 19:54:36 +01:00
Matthew Phillips
d94aae7765
Only apply head propagation in trees that need it ( #6363 )
2023-02-24 17:28:15 -05:00
Kacper Potyrała
c87c16cfad
Add missing flags to help action ( #6352 )
...
* add missing flags to help action
* add proper changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-24 16:17:28 -06:00
Nate Moore
4d75396362
enable ci for merge_group ( #6361 )
2023-02-24 13:57:02 -06:00
natemoo-re
b0aca3c66a
[ci] format
2023-02-24 18:13:07 +00:00
Reece McDonald
26bf12ef3c
[Lit] render DSD attributes based on shadowRootOptions
( #6351 )
...
* [Lit] render DSD attributes based on `shadowRootOptions`
## Changes
- Update `@astrojs/lit`’s `server.js` to properly render elements with `delegatesFocus: false` set in their `shadowRootOptions`.
- Logic is based on `@lit-labs/ssr` [latest implementation as found here](b0c3f82ef0/packages/labs/ssr/src/lib/render-value.ts (L738)
)
## Testing
A test was added to ensure an element with `delegatesFocus` set to true has this attribute properly included in the rendered static markup.
* chore: add changeset
2023-02-24 12:10:56 -06:00
Emanuele Stoppa
5aa6580f77
fix: bump undici
to v5.20.0 ( #6355 )
...
* fix: bump `undici` to v5.20.0
* fix(cookies): Hopefully the last time we mess with undici and cookies
* chore: add @astrojs/telemetry to changeset
---------
Co-authored-by: Princesseuh <princssdev@gmail.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-24 12:10:33 -06:00
Nate Moore
098341f17a
ci: don't pin pnpm/action-setup exactly ( #6348 )
2023-02-24 09:52:43 -06:00
Houston (Bot)
a848a723f6
[ci] release ( #6287 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-23 14:50:11 -06:00