From b65a606070f542022b98a603593f68c00d42f7ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 28 Jul 2024 16:38:09 +0000 Subject: [PATCH] Version Packages --- .changeset/silly-coins-protect.md | 23 ------------------ .../eslint-plugin-next-on-pages/CHANGELOG.md | 2 ++ .../eslint-plugin-next-on-pages/package.json | 2 +- packages/next-on-pages/CHANGELOG.md | 24 +++++++++++++++++++ packages/next-on-pages/package.json | 2 +- 5 files changed, 28 insertions(+), 25 deletions(-) delete mode 100644 .changeset/silly-coins-protect.md diff --git a/.changeset/silly-coins-protect.md b/.changeset/silly-coins-protect.md deleted file mode 100644 index d4fca8145..000000000 --- a/.changeset/silly-coins-protect.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@cloudflare/next-on-pages': minor ---- - -Add support for custom worker entrypoints. - -Example: - -```ts -import nextOnPagesHandler from '@cloudflare/next-on-pages/fetch-handler'; - -export default { - async fetch(request, env, ctx) { - // do something before running the next-on-pages handler - - const response = await nextOnPagesHandler.fetch(request, env, ctx); - - // do something after running the next-on-pages handler - - return response; - }, -} as ExportedHandler<{ ASSETS: Fetcher }>; -``` diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index b439f760a..526830cb2 100644 --- a/packages/eslint-plugin-next-on-pages/CHANGELOG.md +++ b/packages/eslint-plugin-next-on-pages/CHANGELOG.md @@ -1,5 +1,7 @@ # eslint-plugin-next-on-pages +## 1.13.0 + ## 1.12.1 ## 1.12.0 diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index 5e69c4e03..6bf27c7d6 100644 --- a/packages/eslint-plugin-next-on-pages/package.json +++ b/packages/eslint-plugin-next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-next-on-pages", - "version": "1.12.1", + "version": "1.13.0", "main": "dist/index.js", "scripts": { "prebuild": "rimraf dist", diff --git a/packages/next-on-pages/CHANGELOG.md b/packages/next-on-pages/CHANGELOG.md index fcf7a6c95..854c6cfba 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,29 @@ # @cloudflare/next-on-pages +## 1.13.0 + +### Minor Changes + +- 78accfd: Add support for custom worker entrypoints. + + Example: + + ```ts + import nextOnPagesHandler from '@cloudflare/next-on-pages/fetch-handler'; + + export default { + async fetch(request, env, ctx) { + // do something before running the next-on-pages handler + + const response = await nextOnPagesHandler.fetch(request, env, ctx); + + // do something after running the next-on-pages handler + + return response; + }, + } as ExportedHandler<{ ASSETS: Fetcher }>; + ``` + ## 1.12.1 ### Patch Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index e692d3742..26cba25a3 100644 --- a/packages/next-on-pages/package.json +++ b/packages/next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/next-on-pages", - "version": "1.12.1", + "version": "1.13.0", "bin": "./bin/index.js", "exports": { ".": {