wuls
12c0b43e42
Optimizing code based on the comments
2023-08-10 13:15:17 -04:00
wulinsheng123
876d19b6d6
fix test error
2023-08-10 13:14:20 -04:00
wuls
c7277100ec
test
2023-08-10 13:14:20 -04:00
wuls
41cd7bb939
test
2023-08-10 13:14:20 -04:00
wuls
ae8c22cfb2
test
2023-08-10 13:14:20 -04:00
wuls
f346ae2827
fix test error
2023-08-10 13:14:20 -04:00
wuls
234b04252a
fix test
2023-08-10 13:14:20 -04:00
wuls
5030094099
test
2023-08-10 13:14:20 -04:00
wuls
0e1e20b817
delect white space
2023-08-10 13:14:20 -04:00
wuls
f257895e43
optimism
2023-08-10 13:14:19 -04:00
wuls
31f822e27d
sumbit test code
2023-08-10 13:13:51 -04:00
wuls
bb0b0169c7
fix bug
2023-08-10 13:13:51 -04:00
wuls
9b33014958
supporting a network address access a website when an user set host = true in Node environment
2023-08-10 13:13:34 -04:00
natemoo-re
f7a901e7c4
[ci] format
2023-08-10 16:36:09 +00:00
Nate Moore
8292c41311
fix( #5637 ): fix yarn berry support for create-astro ( #8028 )
2023-08-10 12:33:37 -04:00
Nate Moore
1b8d302099
Ensure dev server restart respects base
removal ( #8027 )
...
* fix(#6067 ): dev server restart respects base removal
* chore: remove baseCss
2023-08-10 10:52:21 -05:00
Shinya Fujino
3bc74dd4a9
Remove unnecessary hyphen from svg tag ( #8025 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:50 -05:00
Shinya Fujino
210f8d9f79
Update path to image in public/ to suppress warning ( #8026 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:31:37 -05:00
natemoo-re
0d3aa89dcf
[ci] format
2023-08-10 15:21:42 +00:00
Alexander Niebuhr
ffcfcddb75
feat(@astrojs/cloudfalre): add cloudflare envs to Astro.locals
( #7541 )
...
* add support for advanced mode
* add support for directory mode
* use asset fallback as in cloudflare's docs
* update locals
* come up with new runtime in `Astro.locals`
* add overwrite protection
* minor cleanup
* changeset
* address review comments
* move overwrite protection to adapter
* fix types
* fix comment
* resolve review comments
* update changeset
* add test
* redo ts
* fix integration test port
* updated tests, add new port
* add TODO comment
* update changeset
* add JSDoc
* Update packages/integrations/cloudflare/src/runtime.ts
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-10 10:19:00 -05:00
bluwy
22c944712c
[ci] format
2023-08-10 14:16:37 +00:00
Bjorn Lu
c23377caaf
Fix getCollection return new instance in prod ( #8022 )
2023-08-10 22:13:32 +08:00
Martin Trapp
86bee28121
View Transitions: do not animate same page navigation, but animate hash links to different pages ( #8013 )
...
* Links with hash marks are now supported if they lead to a different page
* treat links to same page equally, independent of hash or not
* Links to the same page do not trigger view transitions
* special treatment for trailing hash
* view transitions: simpler rule to exclude in-page links
2023-08-10 10:07:13 -04:00
Houston (Bot)
fc30b8539c
[ci] release ( #8017 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-10 21:25:28 +08:00
ematipico
6936c173c0
[ci] format
2023-08-10 12:42:09 +00:00
Oliver Speir
4c9d1cb8f2
Update content-types.template.d.ts ( #8010 )
...
Provides more useful information when hovering variables typed with CollectionEntry<"collectionName">
* Does not change the functionality of existing code
* Flatten<AnyEntryMap[C]> is the same as AnyEntryMap[C][keyof AnyEntryMap[C]]
* Both will produce a union of all note entry types within the "collectionName" key
2023-08-10 13:39:36 +01:00
bluwy
1e3c9f515b
[ci] format
2023-08-10 04:55:04 +00:00
Bjorn Lu
5b1e39ef6e
Move hoisted script analysis optimization as experimental ( #8011 )
...
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-08-10 12:52:57 +08:00
Marco Schumacher
ea30a9d4f2
more efficient _routes.json for cloudflare integration ( #7846 )
...
* more efficient _routes.json for cloudflare integration
* added tests
* updated pnpm-lock.yaml
* added changeset
* cleaned up test
* fix: convert window path separators
* updated docs
* handle more cases
* Apply suggestions from code review
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
* incorporate feedback from code review
* used other pnpm version
* better fallback for empty include array
* adjust test case to changed fallback for empty include array
* updated docs
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-08-10 04:04:09 +01:00
Houston (Bot)
9cb32e2a5f
[ci] release ( #8000 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-09 15:31:34 -05:00
dave caruso
58b121d42a
Support Bun by adjusting how @babel/plugin-transform-react-jsx
is imported. ( #8007 )
...
* Support bun/other tooling that respects `__esModule`
* Add changeset file
2023-08-09 14:11:41 -05:00
ElianCodes
e65b5b5495
[ci] format
2023-08-09 18:52:48 +00:00
Keshav Mohta
e2b1b4fa6e
fixed image path and add markdown syntax in example ( #7802 )
...
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Elian ☕ ️ <hello@elian.codes>
2023-08-09 20:50:25 +02:00
Jany Belluz
79376f842d
Remove nested JSON.stringify from props serialization ( #7995 )
2023-08-09 13:06:21 +01:00
李瑞丰
895afd4447
docs: Fix error link in markdoc ( #8006 )
2023-08-09 12:10:40 +01:00
Juan Martín Seery
16161afb2b
fix: EndpointOutput
type with encoding 'binary'
( #8003 )
...
* fix: `EndpointOutput` type with encoding `'binary'`
* Changeset
2023-08-08 20:19:32 -03:00
Chris Swithinbank
315d58f27b
Add shorthand for Starlight templates to create astro
( #7993 )
...
* Add shorthand for Starlight templates to `create astro`
* Update packages/create-astro/src/actions/template.ts
* Update packages/create-astro/src/actions/template.ts
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-08 12:08:46 -05:00
Elian ☕️
4d160fa1e2
chore: remove MDX integration from Tailwind example ( #7987 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 16:23:39 -05:00
Houston (Bot)
2e36d96588
[ci] release ( #7988 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 16:21:15 -05:00
Nate Moore
8e5a27b488
fix: ensure injectRoute
works during build ( #7986 )
2023-08-07 15:54:55 -05:00
Jeff Ruane
2c2e9362a2
Add screen reader text to example blog footer ( #7984 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 14:27:44 -05:00
Houston (Bot)
9509a66a7b
[ci] release ( #7958 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-07 13:51:05 -05:00
Chris Swithinbank
ec06dd9bbb
Fix formatting in Lit README ( #7985 )
...
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 20:03:09 +02:00
natemoo-re
1283cfd19f
[ci] format
2023-08-07 17:54:43 +00:00
Marek Brzezinski
6a27e932d6
Added slashes at the end of the filter option in the sitemap docs ( #7915 )
...
I trend to implement the sitemap and I found out that filter option works only when the URL has slashes at the end. I changed the examples.
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 12:52:13 -05:00
André Alves
9d0070095e
Fix missing CSS when 404 server Response redirects to a custom 404 page ( #7946 )
...
* Fix missing css import on 404 redirect
* Chore: changeset
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-08-07 12:51:50 -05:00
natemoo-re
f6845d94f5
[ci] format
2023-08-07 16:27:34 +00:00
Nate Moore
c2682a17c0
Fix injectRoute
( #7943 )
...
* fix: inject route! hack!
* refactor: use integration container to resolve all injected routes
* chore: add changeset
* Fix pnpm workspace injectRoute bug
See https://github.com/withastro/astro/issues/7561#issuecomment-1620063634
Closes #7561
* Revert "Fix pnpm workspace injectRoute bug"
This reverts commit 3082c7c269
.
* Update .changeset/stupid-pants-press.md
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* Update packages/astro/src/vite-plugin-scripts/page-ssr.ts
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
* refactor: cleanup injectedRoute resolution logic
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
2023-08-07 11:24:28 -05:00
natemoo-re
1a24ea6b5a
[ci] format
2023-08-07 15:59:11 +00:00
Nate Moore
6cd7290d2c
Refactor page filename logic ( #7983 )
...
* fix(#7561 ): refactor astro page filename logic
* chore: add changeset
2023-08-07 10:57:03 -05:00