From 2c8e7569a8cced7008090ddc1043e1734cfa8299 Mon Sep 17 00:00:00 2001 From: Ming-jun Lu <40516784+mingjunlu@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:15:01 +0800 Subject: [PATCH 1/2] fix(sitemap): add missing `xslURL` property to `SitemapOptions` type --- packages/integrations/sitemap/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/integrations/sitemap/src/index.ts b/packages/integrations/sitemap/src/index.ts index 4342ed5dba0b..9bbd39e4a71f 100644 --- a/packages/integrations/sitemap/src/index.ts +++ b/packages/integrations/sitemap/src/index.ts @@ -35,6 +35,8 @@ export type SitemapOptions = // called for each sitemap item just before to save them on disk, sync or async serialize?(item: SitemapItem): SitemapItem | Promise | undefined; + + xslURL?: string; } | undefined; From db6c15651c0ceffa60c194ad938063f3d831c28f Mon Sep 17 00:00:00 2001 From: Ming-jun Lu <40516784+mingjunlu@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:17:58 +0800 Subject: [PATCH 2/2] chore: add changeset --- .changeset/funny-onions-grin.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/funny-onions-grin.md diff --git a/.changeset/funny-onions-grin.md b/.changeset/funny-onions-grin.md new file mode 100644 index 000000000000..902bcb1aeeaf --- /dev/null +++ b/.changeset/funny-onions-grin.md @@ -0,0 +1,5 @@ +--- +'@astrojs/sitemap': patch +--- + +Adds missing `xslURL` property to `SitemapOptions` type.