@astrojs/cloudflare 13.1.6 → 13.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,7 +87,7 @@ function serverStart({
87
87
  host,
88
88
  base
89
89
  }) {
90
- const version = "13.1.6";
90
+ const version = "13.1.8";
91
91
  const localPrefix = `${colors.dim("\u2503")} Local `;
92
92
  const networkPrefix = `${colors.dim("\u2503")} Network `;
93
93
  const emptyPrefix = " ".repeat(11);
package/dist/index.js CHANGED
@@ -106,10 +106,14 @@ function createIntegration({
106
106
  experimental: {
107
107
  prerenderWorker: {
108
108
  config(_, { entryWorkerConfig }) {
109
+ const { queues, ...restWorkerConfig } = entryWorkerConfig;
109
110
  return {
110
- ...entryWorkerConfig,
111
+ ...restWorkerConfig,
111
112
  name: "prerender",
112
- ...needsImagesBinding && !entryWorkerConfig.images && {
113
+ ...queues?.producers?.length && {
114
+ queues: { producers: queues.producers }
115
+ },
116
+ ...needsImagesBinding && !restWorkerConfig.images && {
113
117
  images: { binding: imagesBindingName }
114
118
  }
115
119
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/cloudflare",
3
3
  "description": "Deploy your site to Cloudflare Workers",
4
- "version": "13.1.6",
4
+ "version": "13.1.8",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -19,7 +19,6 @@
19
19
  "homepage": "https://docs.astro.build/en/guides/integrations-guide/cloudflare/",
20
20
  "exports": {
21
21
  ".": "./dist/index.js",
22
- "./info": "./dist/info.js",
23
22
  "./entrypoints/server": "./dist/entrypoints/server.js",
24
23
  "./entrypoints/preview": "./dist/entrypoints/preview.js",
25
24
  "./entrypoints/server.js": "./dist/entrypoints/server.js",
@@ -40,8 +39,8 @@
40
39
  "piccolore": "^0.1.3",
41
40
  "tinyglobby": "^0.2.15",
42
41
  "vite": "^7.3.1",
43
- "@astrojs/internal-helpers": "0.8.0",
44
- "@astrojs/underscore-redirects": "1.0.2"
42
+ "@astrojs/underscore-redirects": "1.0.3",
43
+ "@astrojs/internal-helpers": "0.8.0"
45
44
  },
46
45
  "peerDependencies": {
47
46
  "astro": "^6.0.0",
@@ -52,7 +51,7 @@
52
51
  "@types/node": "^25.2.2",
53
52
  "cheerio": "1.2.0",
54
53
  "devalue": "^5.6.3",
55
- "astro": "6.1.2",
54
+ "astro": "6.1.5",
56
55
  "astro-scripts": "0.0.14"
57
56
  },
58
57
  "publishConfig": {
package/dist/info.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Re-exports utilities for use by astro add CLI.
3
- * This provides a resolvable path from the user's project.
4
- */
5
- export { getLocalWorkerdCompatibilityDate } from '@cloudflare/vite-plugin';
package/dist/info.js DELETED
@@ -1,4 +0,0 @@
1
- import { getLocalWorkerdCompatibilityDate } from "@cloudflare/vite-plugin";
2
- export {
3
- getLocalWorkerdCompatibilityDate
4
- };