@astrojs/cloudflare 0.2.1 → 0.2.2
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.
- package/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +6 -0
- package/dist/server.js +1 -1
- package/package.json +3 -3
- package/src/server.ts +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
[34m@astrojs/cloudflare:build: [0mcache hit, replaying output [2m87cb3a1b6dd9c844[0m
|
|
2
|
+
[34m@astrojs/cloudflare:build: [0m
|
|
3
|
+
[34m@astrojs/cloudflare:build: [0m> @astrojs/cloudflare@0.2.2 build /home/runner/work/astro/astro/packages/integrations/cloudflare
|
|
4
|
+
[34m@astrojs/cloudflare:build: [0m> astro-scripts build "src/**/*.ts" && tsc
|
|
5
|
+
[34m@astrojs/cloudflare:build: [0m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @astrojs/cloudflare
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3777](https://github.com/withastro/astro/pull/3777) [`976e1f17`](https://github.com/withastro/astro/commit/976e1f175a95ea39f737b8575e4fdf3c3d89e1ee) Thanks [@tony-sull](https://github.com/tony-sull)! - Disables HTTP streaming in Cloudflare Pages deployments
|
|
8
|
+
|
|
3
9
|
## 0.2.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./shim.js";
|
|
2
2
|
import { App } from "astro/app";
|
|
3
3
|
function createExports(manifest) {
|
|
4
|
-
const app = new App(manifest);
|
|
4
|
+
const app = new App(manifest, false);
|
|
5
5
|
const fetch = async (request, env) => {
|
|
6
6
|
const { origin, pathname } = new URL(request.url);
|
|
7
7
|
if (manifest.assets.has(pathname)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/cloudflare",
|
|
3
3
|
"description": "Deploy your site to cloudflare pages functions",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"author": "withastro",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"esbuild": "^0.14.42"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"astro": "1.0.0-beta.
|
|
26
|
-
"astro-scripts": "0.0.
|
|
25
|
+
"astro": "1.0.0-beta.61",
|
|
26
|
+
"astro-scripts": "0.0.6"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
package/src/server.ts
CHANGED
|
@@ -8,7 +8,7 @@ type Env = {
|
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export function createExports(manifest: SSRManifest) {
|
|
11
|
-
const app = new App(manifest);
|
|
11
|
+
const app = new App(manifest, false);
|
|
12
12
|
|
|
13
13
|
const fetch = async (request: Request, env: Env) => {
|
|
14
14
|
const { origin, pathname } = new URL(request.url);
|