Skip to content

Commit

Permalink
Merge branch 'main' into bump-ws-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
threepointone authored Jun 26, 2024
2 parents 24a6e2f + abb21a9 commit 3d45242
Show file tree
Hide file tree
Showing 87 changed files with 593 additions and 335 deletions.
7 changes: 0 additions & 7 deletions .changeset/brave-doors-visit.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/c3-frameworks-update-6069.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/c3-frameworks-update-6070.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/c3-frameworks-update-6086.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/gorgeous-tomatoes-live.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/healthy-snails-heal.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/little-rice-promise.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/red-seahorses-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-terms-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-coins-serve.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/additional-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
1 change: 1 addition & 0 deletions fixtures/dev-env/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ async function fakeUserWorkerChanges({

config = {
...config,
// @ts-ignore
entrypoint: {
...config.entrypoint,
...(script ? { contents: script } : undefined),
Expand Down
2 changes: 1 addition & 1 deletion fixtures/external-durable-objects-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/external-service-bindings-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"concurrently": "^8.2.2",
"undici": "^5.28.4",
"wrangler": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/get-bindings-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/get-platform-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/local-mode-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@types/node": "20.8.3",
"buffer": "^6.0.3",
"wrangler": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/node-app-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/nodejs-hybrid-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@types/pg": "^8.11.2",
"pg": "8.11.3",
"pg-cloudflare": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-dev-proxy-with-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.4",
"wrangler": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-with-routes-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-plugin-mounted-on-root-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.4",
"wrangler": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-simple-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/remix-pages-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@remix-run/cloudflare": "^1.17.0",
"@remix-run/dev": "^1.17.0",
"@remix-run/eslint-config": "^1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/vitest-pool-workers-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@types/node": "20.8.3",
"jose": "^5.2.2",
"miniflare": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion fixtures/worker-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "wrangler dev"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"wrangler": "workspace:*"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@changesets/parse": "^0.4.0",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
"@manypkg/cli": "^0.21.4",
"@turbo/gen": "^1.10.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "MIT OR Apache-2.0",
"author": "wrangler@cloudflare.com",
"scripts": {
"check:lint": "eslint .",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"test:ci": "vitest run"
},
Expand Down
28 changes: 28 additions & 0 deletions packages/create-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# create-cloudflare

## 2.21.9

### Patch Changes

- [#6069](https://github.com/cloudflare/workers-sdk/pull/6069) [`91c7ce2`](https://github.com/cloudflare/workers-sdk/commit/91c7ce262e43be075198f20b0fd5d8a7cd2494c1) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency | From | To |
| ----------- | ----- | ----- |
| create-hono | 0.8.1 | 0.9.0 |

- [#6070](https://github.com/cloudflare/workers-sdk/pull/6070) [`bcb7acd`](https://github.com/cloudflare/workers-sdk/commit/bcb7acda0389f0851eb052369ef70082ab09eaf8) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency | From | To |
| ------------- | ----- | ----- |
| create-svelte | 6.3.1 | 6.3.2 |

- [#6086](https://github.com/cloudflare/workers-sdk/pull/6086) [`820d6d2`](https://github.com/cloudflare/workers-sdk/commit/820d6d2191a8bac9bee91c97b2c4fc588e643a58) Thanks [@dependabot](https://github.com/apps/dependabot)! - chore: update dependencies of "create-cloudflare" package

The following dependency versions have been updated:

| Dependency | From | To |
| ---------- | ------ | ------ |
| create-vue | 3.10.3 | 3.10.4 |

## 2.21.8

### Patch Changes
Expand Down
1 change: 1 addition & 0 deletions packages/create-cloudflare/e2e-tests/frameworks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const { name: pm, npx } = detectPackageManager();
const frameworkTests: Record<string, FrameworkTestConfig> = {
astro: {
testCommitMessage: true,
quarantine: true,
unsupportedOSs: ["win32"],
verifyDeploy: {
route: "/",
Expand Down
6 changes: 3 additions & 3 deletions packages/create-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-cloudflare",
"version": "2.21.8",
"version": "2.21.9",
"description": "A CLI for creating and deploying new applications to Cloudflare.",
"keywords": [
"cloudflare",
Expand Down Expand Up @@ -28,7 +28,7 @@
"scripts": {
"build": "node -r esbuild-register scripts/build.ts",
"dev:codemod": "node -r esbuild-register scripts/codemodDev.ts",
"check:lint": "eslint .",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"prepublishOnly": "pnpm -w run build",
"test:e2e": "vitest run --config ./vitest-e2e.config.ts",
Expand All @@ -48,7 +48,7 @@
"@cloudflare/cli": "workspace:*",
"@cloudflare/eslint-config-worker": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@iarna/toml": "^3.0.0",
"@types/command-exists": "^1.2.0",
"@types/cross-spawn": "^6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/devprod-status-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.0",
"private": true,
"scripts": {
"check:lint": "eslint .",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"deploy": "wrangler deploy"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/devprod-status-bot/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function getBotMessage(ai: Ai, prompt: string) {
role: "user",
content: prompt,
},
],
] as RoleScopedChatInput[],
};
const message = await ai.run("@cf/meta/llama-2-7b-chat-int8", chat);
if (!("response" in message)) {
Expand Down
4 changes: 2 additions & 2 deletions packages/edge-preview-authenticated-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.4",
"private": true,
"scripts": {
"check:lint": "eslint .",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"deploy": "wrangler deploy",
"start": "wrangler dev",
Expand All @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/eslint-config-worker": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"@types/cookie": "^0.6.0",
"cookie": "^0.6.0",
"promjs": "^0.4.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/format-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"private": true,
"scripts": {
"build": "wrangler build",
"check:lint": "eslint .",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"deploy": "wrangler deploy",
"start": "wrangler dev"
},
"devDependencies": {
"@cloudflare/eslint-config-worker": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@cloudflare/workers-types": "^4.20240620.0",
"mustache": "^4.2.0",
"promjs": "^0.4.2",
"toucan-js": "^3.3.1",
Expand Down
8 changes: 8 additions & 0 deletions packages/kv-asset-handler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.3.4

### Patch Changes

- [#6102](https://github.com/cloudflare/workers-sdk/pull/6102) [`d4e1e9f`](https://github.com/cloudflare/workers-sdk/commit/d4e1e9fc3439c3d6bd2d1d145d3edc85b551f276) Thanks [@threepointone](https://github.com/threepointone)! - chore: pass lint/typechecks for kv-asset-handler

Followup from https://github.com/cloudflare/workers-sdk/pull/6090, this enables typechecking and linting in kv-asset-handler, and fixes any failures.

## 0.3.3

### Patch Changes
Expand Down
Loading

0 comments on commit 3d45242

Please sign in to comment.