Commit graph

5676 commits

Author SHA1 Message Date
Chris Swithinbank
03b7d17b99
Fix two errors for use in docs (#7445) 2023-06-22 12:10:59 +02:00
Wooseop Kim
9739adc91f
fix: encode spaces when generating srcset (#7340) 2023-06-22 15:56:41 +08:00
Benjamin MENANT
33cdc8622a
fix(astro:assets): inject /_image endpoint with prerendered=false on serverLikeOutput (#7423) 2023-06-22 15:20:35 +08:00
Ben Holmes
76fcdb84dd
Chore: remove legacy mdx content collections handler (#7353)
* chore: remove legacy mdx mapping

* chore: changeset

* chore: remove dead mdxEntryType

* nit: comments on mdx pkg name

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* smol smol smol nit: and vs or

---------

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-06-21 19:51:15 -04:00
Ben Holmes
3f9f5c117e
fix: pnpm failure on create-astro (#7435)
* fix: use which-pm-runs instead of preferred-pm

* deps: remove preferred-pm

* chore: move which-pm-runs to regular deps

* chore: changeset
2023-06-21 16:02:20 -04:00
Bjorn Lu
30bb363713
Fix astro:build:setup hook updateConfig utility (#7438)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2023-06-21 21:56:25 +08:00
Bjorn Lu
f275d058fc
Update safe dependencies (#7430) 2023-06-21 21:09:49 +08:00
ematipico
01b1c21c6b [ci] format 2023-06-21 12:35:19 +00:00
Emanuele Stoppa
459b5bd05f
feat: SSR split mode (#7220)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-06-21 13:32:20 +01:00
ematipico
c8bccb47d3 [ci] format 2023-06-21 12:10:24 +00:00
Emanuele Stoppa
8e2923cc62
feat: expose locals to render api and from requests in dev mode (#7385)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: wrapperup <wrapperup4@gmail.com>
2023-06-21 13:07:16 +01:00
Emanuele Stoppa
61d6e45cef
docs: add snippet for base option (#7384) 2023-06-21 13:06:43 +01:00
KDTS
3943fa390a
Fix minior issue in the documentation related to port customization (#7436) 2023-06-21 10:40:52 +01:00
Emanuele Stoppa
b9b57d901d
ci: don't run workflow for ISSUE_TEMPLATE (#7433) 2023-06-20 20:37:04 +01:00
Ben Holmes
7877a06d82
Fix up pnpm dev (#7424)
* feat: use persistent per turbo recs

* feat: preserve types yay

* fix: *actually* solve problem

* fix: type failures from content types template

* fix: bad JS doc comments

* fix: bad src/content/template path

* chore: changeset

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-06-20 14:06:36 -04:00
ematipico
3fd10f4597 [ci] format 2023-06-20 16:34:32 +00:00
Emanuele Stoppa
e314a04bfb
fix: correctly emit middleware file name (#7427) 2023-06-20 17:32:30 +01:00
Emanuele Stoppa
008af95a75
chore: update bug report template (#7431)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-06-20 17:29:41 +01:00
Houston (Bot)
1589eaabcd
[ci] release (#7428)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-20 10:32:26 -04:00
Emanuele Stoppa
2b34fc4928
fix: document open option (#7418)
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
2023-06-20 15:24:29 +01:00
Chris Swithinbank
89a4835202
Fix telemetry reporting for integrations that return an array (#7429) 2023-06-20 14:42:49 +02:00
ematipico
82b1964432 [ci] format 2023-06-20 10:26:55 +00:00
Torbjørn Holtmon
94afaa3e50
fix: cloudflare waitUntil not working as inteded with getRuntime (#7419)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-06-20 11:24:32 +01:00
Houston (Bot)
f87680f6df
[ci] release (#7390)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 11:36:45 -04:00
Bjorn Lu
bb644834ef
Simplify telemetry Vite version detection (#7414) 2023-06-19 17:18:46 +08:00
Bjorn Lu
8f4a04d46b
Bump pnpm to 8.6.2 (#7413) 2023-06-19 15:29:30 +08:00
Kevin Zuniga Cuellar
354387c68e
remove extra "ago" in hackernews example (#7409) 2023-06-19 11:55:40 +08:00
Nate Moore
d2020c29cf
Fix injected route edge case (#7399)
* fix(#7397): update astro page entryname logic

* chore: add changeset

* fix: update printed log for injected routes

* fix: ensure /index is included

* test: add custom-404-pkg test

* chore: cleanup
2023-06-16 15:58:07 -05:00
Bjorn Lu
556fd694a6
Rename tailwind integration options (#7391) 2023-06-15 23:40:42 +08:00
Alvin Bryan
e407073c9e
Update error message for custom slugs in collection (#7395)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-06-15 12:40:32 -03:00
Arsh
d67ae84610
Node built-in modules support for Deno adapter (#7288)
* feature(deno adapter): allow built-in node modules

* Add changeset

* format
2023-06-15 10:20:35 -04:00
Tom
3f1cb6b1a0
@astrojs/tailwind: simplify, upgrade & fix support for ts config file (#6724)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-06-14 17:55:37 +08:00
Houston (Bot)
06315a1fde
[ci] release (#7368)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-13 16:55:58 -04:00
matthewp
32b0f84a1c [ci] format 2023-06-13 20:37:42 +00:00
beynar
6d8aa4b61f
[Cloudflare integration] Expose cf metadata and Cloudflare caches API (#7386)
* Add cf and cache properties to runtime

* add changeset

* reorder import

* fix types and add tests

* fix package name

* test
2023-06-13 16:34:44 -04:00
Bjorn Lu
3e1fbc2c8f
Use stub image service for tests (#7376) 2023-06-13 22:47:24 +08:00
Ben Holmes
1c7b635956
Fix: Zod errors missing stacktrace (#7380)
* wip: figure out stack issue, weird JSON stringify bug on zod issue

* refactor: return data instead of mutating

* refactor: remove need for reassignment

* fix: e.stack only

* chore: changeset
2023-06-12 17:20:04 -04:00
Matthew Phillips
0986a44ddd
Upgrade lit deps (#7373)
* Upgrade lit deps

* Add changeset

* Downgrade peer dep

* Upgrade lockfile

* add client dep
2023-06-12 15:52:13 -04:00
Bjorn Lu
807f46791d
Increase parallel test time tolerance (#7372) 2023-06-12 21:51:20 +08:00
Bjorn Lu
718cebd526
Update example dependencies versions with a script (#7367) 2023-06-12 20:48:04 +08:00
Chris Swithinbank
0325bf7e0f
Add @message to DuplicateContentEntrySlugError (#7369) 2023-06-12 11:48:53 +02:00
adenpun
42baf62e7c
Fixed AstroUserConfig's redirect type definition (#7366) 2023-06-12 16:34:05 +08:00
Houston (Bot)
4f7091206c
[ci] release (#7354)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-10 13:54:36 -04:00
Ben Holmes
0a8d178c90
Raise error for duplicate content entry slugs (#7352)
* chore: throw error on dup slugs

* chore: move to ErrorData

* fix: remove unknownerror

* chore: changeset
2023-06-10 13:49:17 -04:00
bholmesdev
777e5d7587 [ci] format 2023-06-10 17:45:51 +00:00
Ben Holmes
a30f2f3de4
Fix Markdoc cloudflare errors (#7351)
* fix: move `node:` libs out of utils

* fix: node -> default

* chore: remove kleur from markdoc ex (why was this there??)

* chore: lock

* chore: changeset
2023-06-10 13:43:26 -04:00
Ben Holmes
491c2db424
Fix: better collection entry devalue error (#7341)
* feat: add clear error for devalue parse

* refactor: create error data entry

* deps: up devalue

* chore: changeset
2023-06-09 18:15:11 -04:00
Ben Holmes
f4f9524656
chore: bump pnpm to 8.6.0, lock to 6.1 (#7350) 2023-06-09 16:45:14 -04:00
MoustaphaDev
1ac016225d [ci] format 2023-06-09 20:23:53 +00:00
Happydev
bc7c164bc3
Do not silence runtime MDX errors (#7089)
* test: add fixture

* chore: remove unneeded files in fixture

* test: update test mdx filfe

* test: add test case

* mark component as mdx

* add error builder utility

* throw error when it comes from an MDX component

* chore: update lock file

* Add comment to refactor later

* apply review

* add missing comma
2023-06-09 20:21:32 +00:00