-
- );
-};
-
-export default InternalServerError;
diff --git a/integration-tests/plugin-fastify/src/pages/app/[...].js b/integration-tests/plugin-fastify/src/pages/app/[...].js
deleted file mode 100644
index da492b87d..000000000
--- a/integration-tests/plugin-fastify/src/pages/app/[...].js
+++ /dev/null
@@ -1,37 +0,0 @@
-import React from "react";
-import { Router } from "@reach/router";
-import { Link } from "gatsby";
-
-const A = () => {
- return (
- <>
-
route A
- Go To app Home
- >
- );
-};
-const B = () => {
- return (
- <>
-
route b
- Go To app Home
- >
- );
-};
-
-const App = () => {
- return (
- <>
-
Welcome to my client only routes
- Go To A
- Go To B
- Go To Home
-
-
-
-
-
- >
- );
-};
-export default App;
diff --git a/integration-tests/plugin-fastify/src/pages/imagecdn.js b/integration-tests/plugin-fastify/src/pages/imagecdn.js
deleted file mode 100644
index deac402b6..000000000
--- a/integration-tests/plugin-fastify/src/pages/imagecdn.js
+++ /dev/null
@@ -1,20 +0,0 @@
-import * as React from "react";
-import { graphql } from "gatsby";
-import { GatsbyImage } from "gatsby-plugin-image";
-export default function StuffsArchive({ data }) {
- return (
-
-
- );
- })}
-
- >
- );
-}
diff --git a/integration-tests/plugin-fastify/src/templates/fakerPost.js b/integration-tests/plugin-fastify/src/templates/fakerPost.js
deleted file mode 100644
index a2735f442..000000000
--- a/integration-tests/plugin-fastify/src/templates/fakerPost.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import * as React from "react";
-import PostPage from "../components/Post";
-import { graphql } from "gatsby";
-
-export default function postPage1({ data }) {
- return ;
-}
-
-export const query = graphql`
- query fakerPostQuery($slug: String!) {
- nameData(lorem: { slug: { eq: $slug } }) {
- lorem {
- paragraphs
- slug
- words
- }
- }
- }
-`;
diff --git a/packages/gatsby-plugin-fastify/.babelrc b/packages/gatsby-plugin-fastify/.babelrc
deleted file mode 100644
index ac0ad292b..000000000
--- a/packages/gatsby-plugin-fastify/.babelrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "presets": [["babel-preset-gatsby-package"]]
-}
diff --git a/packages/gatsby-plugin-fastify/.npmignore b/packages/gatsby-plugin-fastify/.npmignore
deleted file mode 100644
index 1b2e7f482..000000000
--- a/packages/gatsby-plugin-fastify/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-.vscode/
-src
\ No newline at end of file
diff --git a/packages/gatsby-plugin-fastify/.vscode/launch.json b/packages/gatsby-plugin-fastify/.vscode/launch.json
deleted file mode 100644
index 8a3a853ee..000000000
--- a/packages/gatsby-plugin-fastify/.vscode/launch.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Attach",
- "port": 9229,
- "request": "attach",
- "skipFiles": ["/**"],
- "type": "pwa-node"
- },
- {
- "name": "Attach by Process ID",
- "processId": "${command:PickProcess}",
- "request": "attach",
- "skipFiles": ["/**"],
- "type": "pwa-node"
- }
- ]
-}
diff --git a/packages/gatsby-plugin-fastify/CHANGELOG.md b/packages/gatsby-plugin-fastify/CHANGELOG.md
deleted file mode 100644
index 7f99d926c..000000000
--- a/packages/gatsby-plugin-fastify/CHANGELOG.md
+++ /dev/null
@@ -1,375 +0,0 @@
-# gatsby-plugin-fastify
-
-## 0.13.4
-
-### Patch Changes
-
-- [#469](https://github.com/gatsby-uc/plugins/pull/469) [`4759545`](https://github.com/gatsby-uc/plugins/commit/475954526a982c149696255f7ddfb3dba60e17b5) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#471](https://github.com/gatsby-uc/plugins/pull/471) [`3ff08a8`](https://github.com/gatsby-uc/plugins/commit/3ff08a8bcd712a9728a009e42e48a092251a1b01) Thanks [@renovate](https://github.com/apps/renovate)! - chore(packages): update dependency @types/jest to ^29.5.13
-
-- [#484](https://github.com/gatsby-uc/plugins/pull/484) [`2579b64`](https://github.com/gatsby-uc/plugins/commit/2579b64b1bbf62df71fd3717486c600161f8b307) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling to v7.25.8
-
-- [#468](https://github.com/gatsby-uc/plugins/pull/468) [`67b7397`](https://github.com/gatsby-uc/plugins/commit/67b73976f7606fed7653e26150d4a7bab092935f) Thanks [@renovate](https://github.com/apps/renovate)! - Refactor code for updated linting rules
-
-- [#466](https://github.com/gatsby-uc/plugins/pull/466) [`3731300`](https://github.com/gatsby-uc/plugins/commit/3731300946af4aeed7caf052cea62886941f8c82) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling
-
-## 0.13.3
-
-### Patch Changes
-
-- [#464](https://github.com/gatsby-uc/plugins/pull/464) [`c43c4d8`](https://github.com/gatsby-uc/plugins/commit/c43c4d86a4d787415b7efd830b9b1620ae4df989) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#450](https://github.com/gatsby-uc/plugins/pull/450) [`f334dd4`](https://github.com/gatsby-uc/plugins/commit/f334dd4a79868cef3dc03534baa27e95e36760c8) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling to v7.23.7
-
-## 0.13.2
-
-### Patch Changes
-
-- [#461](https://github.com/gatsby-uc/plugins/pull/461) [`caf7d4f`](https://github.com/gatsby-uc/plugins/commit/caf7d4feb52b9ca062b0d78883659d62e86243f4) Thanks [@moonmeister](https://github.com/moonmeister)! - Updated can-i-use database
-
-- [#461](https://github.com/gatsby-uc/plugins/pull/461) [`caf7d4f`](https://github.com/gatsby-uc/plugins/commit/caf7d4feb52b9ca062b0d78883659d62e86243f4) Thanks [@moonmeister](https://github.com/moonmeister)! - - Updated testing and runners to latest Node 20 LTS.
-
- - Updated to latests Yarn v4 and corepack for management of packageManager. Please run `corepack enable` to use the correct version of `yarn`.
- - Updated dependencies.
- - Updated prettier and associated formatting.
- - Update TypeScript versions used to latest.
-
-- [#444](https://github.com/gatsby-uc/plugins/pull/444) [`b7b48b7`](https://github.com/gatsby-uc/plugins/commit/b7b48b781885a7b0378bb44f18ee18b0733a3981) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#453](https://github.com/gatsby-uc/plugins/pull/453) [`6a313dc`](https://github.com/gatsby-uc/plugins/commit/6a313dca5b1f7f71a2a7ef8c19aef7e72e5f7445) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#461](https://github.com/gatsby-uc/plugins/pull/461) [`caf7d4f`](https://github.com/gatsby-uc/plugins/commit/caf7d4feb52b9ca062b0d78883659d62e86243f4) Thanks [@moonmeister](https://github.com/moonmeister)! - fix: something made Gatsby funcitons nest another default export deeper...so I added another line to unnest correctly
-
-## 0.13.1
-
-### Patch Changes
-
-- [#442](https://github.com/gatsby-uc/plugins/pull/442) [`dd33f3d`](https://github.com/gatsby-uc/plugins/commit/dd33f3d91ef83c0c463e317be836c300f8427d21) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling
-
-## 0.13.0
-
-### Minor Changes
-
-- [#430](https://github.com/gatsby-uc/plugins/pull/430) [`23f9fba`](https://github.com/gatsby-uc/plugins/commit/23f9fba42e854a86874545c4fce2be2858133c5f) Thanks [@tboutron](https://github.com/tboutron)! - Fix homepage link for plugins
-
-### Patch Changes
-
-- [#417](https://github.com/gatsby-uc/plugins/pull/417) [`04a77c7`](https://github.com/gatsby-uc/plugins/commit/04a77c7697eff0e4955096e9c2b58241d5eb8e75) Thanks [@renovate](https://github.com/apps/renovate)! - chore(packages): update jest monorepo
-
-- [#418](https://github.com/gatsby-uc/plugins/pull/418) [`c6b3c08`](https://github.com/gatsby-uc/plugins/commit/c6b3c084c542b24ed0e953005f394fdb62396465) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#414](https://github.com/gatsby-uc/plugins/pull/414) [`badae40`](https://github.com/gatsby-uc/plugins/commit/badae403b130fd3bdf8d706c540d14de884c8490) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling
-
-## 0.12.4
-
-### Patch Changes
-
-- [#382](https://github.com/gatsby-uc/plugins/pull/382) [`d578b78`](https://github.com/gatsby-uc/plugins/commit/d578b7896f804716a4c2222385c19be11c27bdf4) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-- [#380](https://github.com/gatsby-uc/plugins/pull/380) [`9da9a23`](https://github.com/gatsby-uc/plugins/commit/9da9a23a13343ca52cf32aa98105cb2f597a2f07) Thanks [@renovate](https://github.com/apps/renovate)! - chore(packages): update jest monorepo
-
-- [#378](https://github.com/gatsby-uc/plugins/pull/378) [`07bbfa7`](https://github.com/gatsby-uc/plugins/commit/07bbfa7c434b8543a7d15c5f2e87ac48705aa593) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling
-
-## 0.12.3
-
-### Patch Changes
-
-- [#356](https://github.com/gatsby-uc/plugins/pull/356) [`687e7f9`](https://github.com/gatsby-uc/plugins/commit/687e7f9d65c442a53932def1df2e7ecb3b917fdc) Thanks [@renovate](https://github.com/apps/renovate)! - chore(packages): update dependency @types/jest to ^29.2.5
-
-- [#365](https://github.com/gatsby-uc/plugins/pull/365) [`369749a`](https://github.com/gatsby-uc/plugins/commit/369749a50931bc073ba25815dc6d1e6561de28de) Thanks [@moonmeister](https://github.com/moonmeister)! - chore(babel): update build tooling
-
-- [#359](https://github.com/gatsby-uc/plugins/pull/359) [`b91e945`](https://github.com/gatsby-uc/plugins/commit/b91e945ebb0a25249f8432fa682bd771407c3b04) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-## 0.12.2
-
-### Patch Changes
-
-- [#351](https://github.com/gatsby-uc/plugins/pull/351) [`3029c4b`](https://github.com/gatsby-uc/plugins/commit/3029c4bd65bbc5bc5203c19bd93c392934518136) Thanks [@moonmeister](https://github.com/moonmeister)! - When plugins are nested inside a Gatsby Theme they are required to have an `index.js` file in the package root. We recently removed these not knowing this requirement. Files restored and tests added.
-
-## 0.12.1
-
-### Patch Changes
-
-- [#328](https://github.com/gatsby-uc/plugins/pull/328) [`90e1706`](https://github.com/gatsby-uc/plugins/commit/90e170661041dd62cb9453c25905bf10418f066f) Thanks [@tsdexter](https://github.com/tsdexter)! - encode replacements in wildcard redirects fixes #327
-
-## 0.12.0
-
-### Minor Changes
-
-- [#321](https://github.com/gatsby-uc/plugins/pull/321) [`fa6aa14`](https://github.com/gatsby-uc/plugins/commit/fa6aa14321c3b8012528b94501c56c8f51d2b0dd) Thanks [@moonmeister](https://github.com/moonmeister)! - FEAT: Added ability to configure Fastify server options from plugin config. As a part of this effort several non-critical defaults have been changed. While debating this change it was relized these defaults were more for development ease than good production defaults.
-
- 1. Request logging is now on by default as is normal in Fastify.
- 2. Logging is no longer "pretty" when `NODE_ENV=development`.
-
- If you'd like to restore either of the functionalities see:
-
- ```js
- //gatsby-config.js
- module.exports = {
- /* Site config */
- plugins: [
- /* Rest of the plugins */
- {
- resolve: `gatsby-plugin-fastify`,
- /* Default option value shown */
- options: {
- fastify: {
- logger: {
- level: logLevel,
- transport:
- process.env.NODE_ENV === "development"
- ? {
- target: "pino-pretty",
- options: {
- translateTime: "HH:MM:ss Z",
- ignore: "pid,hostname",
- },
- }
- : undefined,
- },
- disableRequestLogging: ["trace", "debug"].includes(logLevel) ? false : true,
- },
- },
- },
- ],
- };
- ```
-
- > To restore pretty printing you'll also need to install `pino-pretty` from npm.
-
-## 0.11.2
-
-### Patch Changes
-
-- [#319](https://github.com/gatsby-uc/plugins/pull/319) [`327f233`](https://github.com/gatsby-uc/plugins/commit/327f233beb45485e7fcbdcc2d9a2811c7d21c561) Thanks [@moonmeister](https://github.com/moonmeister)! - refactor re-export. no funcitonal changes.
-
-## 0.11.1
-
-### Patch Changes
-
-- [#317](https://github.com/gatsby-uc/plugins/pull/317) [`8fd9b57`](https://github.com/gatsby-uc/plugins/commit/8fd9b577189c98ddbacc0afb37a3cf3d756ea199) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update dependency fs-extra to v11
-
-- [#310](https://github.com/gatsby-uc/plugins/pull/310) [`3c854d0`](https://github.com/gatsby-uc/plugins/commit/3c854d0fd7c4bb81c894a08d6dca0ca2c18f7025) Thanks [@renovate](https://github.com/apps/renovate)! - chore(babel): update build tooling
-
-- [#313](https://github.com/gatsby-uc/plugins/pull/313) [`60fecbc`](https://github.com/gatsby-uc/plugins/commit/60fecbc600ce57bf82887a78f4e4d9a430b35f00) Thanks [@renovate](https://github.com/apps/renovate)! - fix(packages): update non-major dependency versions
-
-## 0.11.0
-
-### Minor Changes
-
-- [#306](https://github.com/gatsby-uc/plugins/pull/306) [`c109eb2`](https://github.com/gatsby-uc/plugins/commit/c109eb284913f00c05423804e3de888724848409) Thanks [@moonmeister](https://github.com/moonmeister)! - We've changed the default redirect codes to 307/308 from 301/302. See the redirects docs for more info. This won't break most use cases, unless you were expecting a specific response code. You may uses Gatsby's "statusCode" field to explicitly set the satus code back to 301/302 when creating the redirect.
-
-### Patch Changes
-
-- [#306](https://github.com/gatsby-uc/plugins/pull/306) [`c109eb2`](https://github.com/gatsby-uc/plugins/commit/c109eb284913f00c05423804e3de888724848409) Thanks [@moonmeister](https://github.com/moonmeister)! - feat: Changed redirects to respond on any HTTP medthod, not just GET.
-
-## 0.10.0
-
-### Minor Changes
-
-- [#303](https://github.com/gatsby-uc/plugins/pull/303) [`bae3266`](https://github.com/gatsby-uc/plugins/commit/bae326612720b00116aea0928fc84a01a328fbb7) Thanks [@renovate](https://github.com/apps/renovate)! - Bumping dependencies to match Gatsby v5 related changes. We will only be testing against Gatsby v5, so there's no promisses for Gatsby v4, though there's no known breaking changes.
-
-### Patch Changes
-
-- [#305](https://github.com/gatsby-uc/plugins/pull/305) [`97af0d6`](https://github.com/gatsby-uc/plugins/commit/97af0d667d8f6e5265773f9cdb8eb0a184b9a6fa) Thanks [@moonmeister](https://github.com/moonmeister)! - ADded ESLint configs and updated packages to lint rules. Don't expect any functional changes but code was changed. Please open an issue if you notice any change in behavior.
-
-- [#303](https://github.com/gatsby-uc/plugins/pull/303) [`bae3266`](https://github.com/gatsby-uc/plugins/commit/bae326612720b00116aea0928fc84a01a328fbb7) Thanks [@renovate](https://github.com/apps/renovate)! - Adding Gatsby v5 to peer dependencies now that testing has been done.
-
-- [#288](https://github.com/gatsby-uc/plugins/pull/288) [`0a047a8`](https://github.com/gatsby-uc/plugins/commit/0a047a8a241c82205b7ac43abcb7f3b9ca5b97a0) Thanks [@moonmeister](https://github.com/moonmeister)! - chore(repo): node 18 version bumps and testing
-
-## 0.9.8
-
-### Patch Changes
-
-- [#300](https://github.com/gatsby-uc/plugins/pull/300) [`2eacee4`](https://github.com/gatsby-uc/plugins/commit/2eacee4914a036372fcb8751be0d1b40fac6a5e2) Thanks [@moonmeister](https://github.com/moonmeister)! - Fix: bugs arround matching certain paths related to wildcard and parametric SSR routes. #289.
- Fix: implemented some more consistent use and parsing of matchPaths to support native gatsby naming that is window ssompatible. #270
-
-## 0.9.7
-
-### Patch Changes
-
-- [#292](https://github.com/gatsby-uc/plugins/pull/292) [`4ca97f9`](https://github.com/gatsby-uc/plugins/commit/4ca97f9ae833b719d67f02ae2af0c9313549fea8) Thanks [@tsdexter](https://github.com/tsdexter)! - support colons in redirect `toPath`s
-
-## 0.9.6
-
-### Patch Changes
-
-- [#277](https://github.com/gatsby-uc/plugins/pull/277) [`a07a56c`](https://github.com/gatsby-uc/plugins/commit/a07a56c6f670ef3606a95ea3dccedbecec1e724e) Thanks [@renovate](https://github.com/apps/renovate)! - fix(gatsby-plugin-fastify): update non-major dependency versions
-
-## 0.9.5
-
-### Patch Changes
-
-- [#272](https://github.com/gatsby-uc/plugins/pull/272) [`95dcabf`](https://github.com/gatsby-uc/plugins/commit/95dcabf03992ca89382f35c1d4a54938ef3066e7) Thanks [@moonmeister](https://github.com/moonmeister)! - Fix: Correctly handle splat and wildcard routes for redirects as discussed in #271
-
-## 0.9.4
-
-### Patch Changes
-
-- [#266](https://github.com/gatsby-uc/plugins/pull/266) [`7792f9f`](https://github.com/gatsby-uc/plugins/commit/7792f9f0e6b9aa4148bdbd6fb3513c7843177be6) Thanks [@moonmeister](https://github.com/moonmeister)! - docs: Change docs to correctly direct user to ENV vars for changing host address. Solves #265
-
-- [#260](https://github.com/gatsby-uc/plugins/pull/260) [`7c07006`](https://github.com/gatsby-uc/plugins/commit/7c07006c0464a4219d89f0885d5811d01d8459ba) Thanks [@moonmeister](https://github.com/moonmeister)! - Adding Type checking for all TS files and fixing type issues.
-
-- [#249](https://github.com/gatsby-uc/plugins/pull/249) [`b11a1b0`](https://github.com/gatsby-uc/plugins/commit/b11a1b04ac3cb7b9304545af82f2ff1aae5b04bd) Thanks [@renovate](https://github.com/apps/renovate)! - Update testing configs and implementation for speed and Jest 29 update.
-
-## 0.9.3
-
-### Patch Changes
-
-- [#258](https://github.com/gatsby-uc/plugins/pull/258) [`ca806e9`](https://github.com/gatsby-uc/plugins/commit/ca806e94b03d7ecbe3f529d397151096175fa04d) Thanks [@moonmeister](https://github.com/moonmeister)! - fix(gatsby-plugin-fastify): Fix https://github.com/gatsby-uc/plugins/issues/257 where passing query parameters to SSR routes was causing 500.
-
-## 0.9.2
-
-### Patch Changes
-
-- [#253](https://github.com/gatsby-uc/plugins/pull/253) [`d7ace2d`](https://github.com/gatsby-uc/plugins/commit/d7ace2dc1076feb3ef60e5c132cd86c8701c6908) Thanks [@klyngen](https://github.com/klyngen)! - Fallback routes get SSR-support
-
-## 0.9.1
-
-### Patch Changes
-
-- [#217](https://github.com/gatsby-uc/plugins/pull/217) [`029cab4`](https://github.com/gatsby-uc/plugins/commit/029cab4ede52db8c7ac315a124d73536c2155bfd) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update dependency @types/node to ^14.18.28
-
-## 0.9.0
-
-### Minor Changes
-
-- [#245](https://github.com/gatsby-uc/plugins/pull/245) [`5f4decc`](https://github.com/gatsby-uc/plugins/commit/5f4decc6554ad6755e51daf01a4192307158956d) Thanks [@moonmeister](https://github.com/moonmeister)! - Upgraded fastify to v4 and bumped majors on related and unrelated packages.
-
- ## Breaking Changes
-
- - Logging no longer defaults to "pretty print" unless the environment variable`NODE_ENV` equals `development`.
-
- - Changes were made to the static file servers config. This fixed issues introduced by fastify updates. While this didn't break tests or knowingly intoduce bugs please let us know if you see any behavior changes.
-
-### Patch Changes
-
-- [#243](https://github.com/gatsby-uc/plugins/pull/243) [`8116411`](https://github.com/gatsby-uc/plugins/commit/8116411db4130b8c33ad27da9994095f4323e2eb) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major dependency versions
-
-- [#241](https://github.com/gatsby-uc/plugins/pull/241) [`35ba22d`](https://github.com/gatsby-uc/plugins/commit/35ba22de4d10f1402b113880567f561aff4056ab) Thanks [@renovate](https://github.com/apps/renovate)! - chore(all-build-deps): update build tooling
-
-- [#227](https://github.com/gatsby-uc/plugins/pull/227) [`a08f176`](https://github.com/gatsby-uc/plugins/commit/a08f176070950d0bc63b00ec74c173f14c50b4bf) Thanks [@tsdexter](https://github.com/tsdexter)! - chore(gatsby-plugin-fastify): Update README.md
-
-## 0.8.1
-
-### Patch Changes
-
-- [#202](https://github.com/gatsby-uc/plugins/pull/202) [`9ced9cb`](https://github.com/gatsby-uc/plugins/commit/9ced9cbc77b2eac88790ced90d8dcf401e258a55) Thanks [@moonmeister](https://github.com/moonmeister)! - Implemented the new "Gatsby Image CDN" from Gatsby Cloud. See the docs for getting started.
-
-## 0.8.0
-
-### Minor Changes
-
-- [#176](https://github.com/gatsby-uc/plugins/pull/176) [`f556171`](https://github.com/gatsby-uc/plugins/commit/f556171cfbd44a379960a9bceb9f52b081f9ef8c) Thanks [@moonmeister](https://github.com/moonmeister)! - This plugin's focus is on serving the web app. Compression should be handled by an edge server (e.g. Nginx). Therefore we are removing this feature, this should not break an existing config, though you may see a warning during build if you explicitly set the compression setting in your `gatsby-config.js`.
-
-* [#200](https://github.com/gatsby-uc/plugins/pull/200) [`4a291b1`](https://github.com/gatsby-uc/plugins/commit/4a291b16d9fab8989ae045845a6ac95b11d1a7d3) Thanks [@moonmeister](https://github.com/moonmeister)! - We're nolonger treating the fastify plugins as public API. They've been removed from docs. If you're using them you may continue to do so at your own risk. If you'd like to contribute to help make these publically maintainable please open an issue.
-
-### Patch Changes
-
-- [#199](https://github.com/gatsby-uc/plugins/pull/199) [`eec780b`](https://github.com/gatsby-uc/plugins/commit/eec780bc8643bc5b2b5da9b85fc221c14cec743b) Thanks [@moonmeister](https://github.com/moonmeister)! - Did some reworking of redirects and added support for Gatsby's new Reverse Proxy functionality.
-
-## 0.7.5
-
-### Patch Changes
-
-- [#187](https://github.com/gatsby-uc/plugins/pull/187) [`48c3369`](https://github.com/gatsby-uc/plugins/commit/48c336942ad638f1fb7483460ceb8fc4607ef3cc) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major dependency versions
-
-## 0.7.4
-
-### Patch Changes
-
-- [#177](https://github.com/gatsby-uc/plugins/pull/177) [`4c1365d`](https://github.com/gatsby-uc/plugins/commit/4c1365d639ecb1f0409d72db4e15593706d82639) Thanks [@jrotering](https://github.com/jrotering)! - Updated broken fastify documentation links & fixed typo
-
-## 0.7.3
-
-### Patch Changes
-
-- [#163](https://github.com/gatsby-uc/plugins/pull/163) [`a3c5e55`](https://github.com/gatsby-uc/plugins/commit/a3c5e55542ad0b3dd97afcc04d686a00d44bdbe3) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update gatsby monorepo (major)
-
-* [#150](https://github.com/gatsby-uc/plugins/pull/150) [`1d9f473`](https://github.com/gatsby-uc/plugins/commit/1d9f4732872028be5cd8e77e7af15c478d392311) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major dependency versions
-
-## 0.7.2
-
-### Patch Changes
-
-- [`5d1f1bf`](https://github.com/gatsby-uc/plugins/commit/5d1f1bf7989c119540760dc40ae7bc4dcf822836) Thanks [@moonmeister](https://github.com/moonmeister)! - Update package dependencies
-
-## 0.7.1
-
-### Patch Changes
-
-- [#128](https://github.com/gatsby-uc/plugins/pull/128) [`331bf7d`](https://github.com/gatsby-uc/plugins/commit/331bf7d2464701f8dab39c8e680efa3c996f056b) Thanks [@renovate](https://github.com/apps/renovate)! - fix(gatsby-plugin-fastify): update non-major dependency versions
-
-## 0.7.0
-
-### Minor Changes
-
-- [#124](https://github.com/gatsby-uc/plugins/pull/124) [`e93dc62`](https://github.com/gatsby-uc/plugins/commit/e93dc62044ce2ac2069d80c339247901b4416ece) Thanks [@moonmeister](https://github.com/moonmeister)! - Updated "client path" name to "client routes" for consistency. Imports changed to `import { handleClientOnlyRoutes } from "./clientRoutes";`
-
-* [#124](https://github.com/gatsby-uc/plugins/pull/124) [`e93dc62`](https://github.com/gatsby-uc/plugins/commit/e93dc62044ce2ac2069d80c339247901b4416ece) Thanks [@moonmeister](https://github.com/moonmeister)! - Remove fastify plugins from peer deps to normal dependencies. Only Gatsby and fastify are peer deps now.
-
-- [#123](https://github.com/gatsby-uc/plugins/pull/123) [`acbf356`](https://github.com/gatsby-uc/plugins/commit/acbf356b305eff55f4ef96c77fbb47b2360319da) Thanks [@moonmeister](https://github.com/moonmeister)! - Set the HTTP response code when `status` is returned from `getServerData`. https://www.gatsbyjs.com/docs/reference/release-notes/v4.2/#getserverdata-improvements
-
-## 0.6.1
-
-### Patch Changes
-
-- [#112](https://github.com/gatsby-uc/plugins/pull/112) [`529590e`](https://github.com/gatsby-uc/plugins/commit/529590eb9e83ec4188ad9ef23eca9c9d14fb8729) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major dependency versions
-
-## 0.6.0
-
-### Minor Changes
-
-- [#68](https://github.com/gatsby-uc/plugins/pull/68) [`e736248`](https://github.com/gatsby-uc/plugins/commit/e736248513e6bdbeb29cbedd06b79ed40ac0294f) Thanks [@moonmeister](https://github.com/moonmeister)! - feat: much improved logging
-
-* [#68](https://github.com/gatsby-uc/plugins/pull/68) [`e736248`](https://github.com/gatsby-uc/plugins/commit/e736248513e6bdbeb29cbedd06b79ed40ac0294f) Thanks [@moonmeister](https://github.com/moonmeister)! - feat: add support for Gatsby 500 error if SSR/DSG throws an error.
-
-- [#68](https://github.com/gatsby-uc/plugins/pull/68) [`e736248`](https://github.com/gatsby-uc/plugins/commit/e736248513e6bdbeb29cbedd06b79ed40ac0294f) Thanks [@moonmeister](https://github.com/moonmeister)! - Support for Gatsby v4's DSG and SSR routes.
-
-### Patch Changes
-
-- [#68](https://github.com/gatsby-uc/plugins/pull/68) [`e736248`](https://github.com/gatsby-uc/plugins/commit/e736248513e6bdbeb29cbedd06b79ed40ac0294f) Thanks [@moonmeister](https://github.com/moonmeister)! - Fix: SSR/DSG routes throwing non-fatal error when returning file.
-
-* [#68](https://github.com/gatsby-uc/plugins/pull/68) [`e736248`](https://github.com/gatsby-uc/plugins/commit/e736248513e6bdbeb29cbedd06b79ed40ac0294f) Thanks [@moonmeister](https://github.com/moonmeister)! - fix: handle situations where dev doesn't provide 404 page by falling back to generic 404.
-
-## 0.5.0
-
-### Minor Changes
-
-- [#100](https://github.com/gatsby-uc/plugins/pull/100) [`fec2c31`](https://github.com/gatsby-uc/plugins/commit/fec2c31d1d64a51d6b99297ff0c1345ec2f4bad3) Thanks [@moonmeister](https://github.com/moonmeister)! - Implemented better logging. This means we removed teh "verbose" flag from the CLI in favor of a "logLevel" flag. See docs for more info.
-
-* [#97](https://github.com/gatsby-uc/plugins/pull/97) [`09bb2c2`](https://github.com/gatsby-uc/plugins/commit/09bb2c272f7127a732e1ad54d2b8fb38db054523) Thanks [@moonmeister](https://github.com/moonmeister)! - Implemented testing and that came with some minor changes and fixes.
-
-## 0.4.5
-
-### Patch Changes
-
-- [#95](https://github.com/gatsby-uc/plugins/pull/95) [`7007934`](https://github.com/gatsby-uc/plugins/commit/700793427bf754a8449717179d51dabe76096d81) Thanks [@moonmeister](https://github.com/moonmeister)! - Add 404 handler for Gatsby functions to not use default Gatsby 404. thus any unknown route under "/api" now just returns a 404 and not found text.
-
-## 0.4.4
-
-### Patch Changes
-
-- [#87](https://github.com/gatsby-uc/plugins/pull/87) [`5529aad`](https://github.com/gatsby-uc/plugins/commit/5529aadf0f65c4b0c193131d606c3ce7d8d06651) Thanks [@moonmeister](https://github.com/moonmeister)! - Update main server execution to use async/await from callbacks
-
-## 0.4.3
-
-### Patch Changes
-
-- [#82](https://github.com/gatsby-uc/plugins/pull/82) [`eb12e74`](https://github.com/gatsby-uc/plugins/commit/eb12e74e05268ee7778f00711772749cd7d8ab6c) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major dependency versions
-
-* [#85](https://github.com/gatsby-uc/plugins/pull/85) [`80aa8f3`](https://github.com/gatsby-uc/plugins/commit/80aa8f39c79bed433b47dad39810767710d0bdd2) Thanks [@moonmeister](https://github.com/moonmeister)! - chore(gatsby-plugin-fastify): Misc cleanup and typing improvements
-
-## 0.4.2
-
-### Patch Changes
-
-- [#77](https://github.com/gatsby-uc/plugins/pull/77) [`30f7ac4`](https://github.com/gatsby-uc/plugins/commit/30f7ac4bb5c39374b79ed900b3aab60f9c44774a) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): bump non-major package updates. This includes important security fixes for `fastify-static`.
-
-## 0.4.1
-
-### Patch Changes
-
-- [#62](https://github.com/gatsby-uc/plugins/pull/62) [`79a49d6`](https://github.com/gatsby-uc/plugins/commit/79a49d63ef6fbb9ad997545e9e692f16b9e04ec3) Thanks [@renovate](https://github.com/apps/renovate)! - chore(gatsby-plugin-fastify): update non-major updates
- Updated patch/minor updates in dependencies
diff --git a/packages/gatsby-plugin-fastify/CONTRIBUTING.md b/packages/gatsby-plugin-fastify/CONTRIBUTING.md
deleted file mode 100644
index 823f475e2..000000000
--- a/packages/gatsby-plugin-fastify/CONTRIBUTING.md
+++ /dev/null
@@ -1,11 +0,0 @@
-## Intro
-
-Thanks for your interest. There are two important things to know.
-
-## Testing
-
-Running `yarn test` will run tests. Make sure they pass when you start, and then keep them passing as you fix things and add features. If you're fixing a specific bug I'd recommend creating a test that fails before it is fixed so keep the bug from regressing. If you're adding a new feature, please write tests for the new feature.
-
-## Benchmarks
-
-When fixing bugs or adding features it'simportant to make sure our servers are fast. You can run benchmarks by building `integration-tests/plugin-fastify` via `yarn build` then run benchmarks with `yarn benchmark` from the `integration-tests/plugin-fastify` folder. To keep things consistent, shutdown as many other applications as possible.
diff --git a/packages/gatsby-plugin-fastify/README.md b/packages/gatsby-plugin-fastify/README.md
deleted file mode 100644
index 83fc22339..000000000
--- a/packages/gatsby-plugin-fastify/README.md
+++ /dev/null
@@ -1,257 +0,0 @@
-
-
-
-
-
gatsby-plugin-fastify
-
-
-
- Gatsby plugin for easy integration with Fastify.
-
-
-
-
-
-
-
-
-
-# About
-
-`gatsby-plugin-fastify` gives you a way to integrate your Gatsby site with a Node.js server using Fastify. Use to serve a standard Gatsby.js site normally - the plugin will take care of everything:
-
-- Serving [Gatsby Functions](https://www.gatsbyjs.com/docs/reference/functions/)
-- Serving [static files](https://www.gatsbyjs.com/docs/caching/#static-files)
-- Serving [DSG](https://www.gatsbyjs.com/docs/reference/rendering-options/deferred-static-generation/)/[SSR](https://www.gatsbyjs.com/docs/reference/rendering-options/server-side-rendering/) Routes
-- Gatsby [404 page](https://www.gatsbyjs.com/docs/how-to/adding-common-features/add-404-page/)
-- Gatsby [500 page](https://www.gatsbyjs.com/docs/how-to/adding-common-features/add-500-page/)
-- Gatsby [redirects](https://www.gatsbyjs.com/docs/reference/config-files/actions/#createRedirect)
-- Gatsby [reverse proxy](https://support.gatsbyjs.com/hc/en-us/articles/1500003051241-Working-with-Redirects-and-Rewrites)
-- [Client-only routes](https://www.gatsbyjs.com/docs/how-to/routing/client-only-routes-and-user-authentication)
-- Serving the site with [pathPrefix](https://www.gatsbyjs.com/docs/how-to/previews-deploys-hosting/path-prefix/) - set it up inside `gatsby-config.js`, the plugin will take care of it
-- Etags, and more.
-
-# Installation
-
-Install the plugin using npm or yarn
-
-```sh
-npm install gatsby-plugin-fastify fastify
-```
-
-and add it to your `gatsby-config.js`
-
-```js
-module.exports = {
- /* Site config */
- plugins: [
- /* Rest of the plugins */
- {
- resolve: `gatsby-plugin-fastify`,
- options: {
- /* discussed below */
- }, // All options are optional
- },
- ],
-};
-```
-
-# Serving your site
-
-Node and Fastify are great for building application specific web servers but generally should not be used on the edge. Meaning, most folks will use a fully fledged web server (e.g. [Nginx](https://www.nginx.com/) or [Caddy](https://caddyserver.com/) that handles traffic before passing it back to the Node server. This edge server may handle caching, TLS/SSL, load balancing, compression, etc. Then the Node server only worries about the application. A CDN (e.g. Fastly or CloudFlare ) is also often used for performance and scalability.
-
-## Server CLI (expected)
-
-This plugin implements a server that's ready to go. To use this you can configure a `start`(or whatever you prefer) command in your `package.json`:
-
-```json
-{
- "scripts": {
- "start": "gserve"
- }
-}
-```
-
-### CLI Config
-
-```
- Server
- -p, --port Port to run the server on [number] [default: "8080"]
- -h, --host Host to run the server on [string] [default: "127.0.0.1"]
- -o, --open Open the browser [boolean] [default: false]
-
-Options:
- --help Show help [boolean]
- --version Show version number [boolean]
- -l, --logLevel set logging level
- [string] [choices: "trace", "debug", "info", "warn", "error", "fatal"]
- [default: "info"]
-```
-
-All settings may be change via environment variables prefixed with `GATSBY_SERVER_` and the flag name.
-
-```sh
-# For example:
-export GATSBY_SERVER_PORT=3000
-export GATSBY_SERVER_HOST=0.0.0.0
-# cammelCase is converted to SCREAMING_SNAKE_CASE.
-export GATSBY_SERVER_LOG_LEVEL=debug
-```
-
-### Logging
-
-For info on logging see Fastify's [documentation on logging](https://www.fastify.io/docs/latest/Reference/Logging/).
-
-## Fastify Server Options
-
-You may directly [configure the Fastify server](https://www.fastify.io/docs/latest/Reference/Server/#factory) from the plugin options in Gatsby config. While many options fastify provides are safe to modify, it's very possible to break your server with these as well, test well. Outside the defaults any values passed are not type checked by Gatsby for compatibility, make sure you are passing valid values as defined in the [Fastify server factory docs](https://www.fastify.io/docs/latest/Reference/Server/#factory).
-
-```js
-module.exports = {
- /* Site config */
- plugins: [
- /* Rest of the plugins */
- {
- resolve: `gatsby-plugin-fastify`,
- /* Default option value shown */
- options: {
- fastify: {
- logger: { level: /* defaults to info by CLI params*/ },
- ignoreTralingSlash: true,
- maxParamLength: 500,
- // for complete options see https://www.fastify.io/docs/latest/Reference/Server/#factory
- },
- },
- },
- ],
-};
-```
-
-## Features
-
-Some features can be disabled through the plugin options. This will not provide increased performance but is probided as an option to control features in certain deploys or to handoff certain features to an edge server or CDN as desired.
-
-```js
-module.exports = {
- /* Site config */
- plugins: [
- /* Rest of the plugins */
- {
- resolve: `gatsby-plugin-fastify`,
- /* Default option value shown */
- options: {
- features: {
- redirects: true,
- reverseProxy: true,
- imageCdn: false, // Feature in Beta, use with caution
- },
- },
- },
- ],
-};
-```
-
-### Gatsby Image CDN (BETA)
-
-> **BETA:** This feature is under going active development to fix bugs and extend functionality by the Gatsby team. I'm releasing this feature here with compatability for `gatsby@4.12.1`, `gatsby-source-wordpres@6.12.1`, and `gatsby-source-contentful@7.10.0` No guarantee it works on newer or older versions.
-
-While not strictly a CDN in our case this still implements the ability for Images to be transformed outside of build time.
-
-> Please note that this writes generated images to the `/public/\_gatsby folder. This must be writeable in production.
-
-This will be enabled by default if your version of Gatsby supports the image CDN. You may manually disable it in the config if you don't need it.
-
-### Gatsby Reverse Proxy
-
-Building on top of the `createRedirects` API Gatsby Cloud now supports reverse proxies. We've implemented this feature here as well.
-
-```js
-// gatsby-node.js
-createRedirect({
- fromPath: `/docs/`,
- toPath: `https://www.awesomesite.com/docs/`,
- statusCode: 200, // The 200 is required to denote a proxy response as opposed to a redirect
-});
-```
-
-> The Gatsby docs note ending the to and from paths with `*`. This is not allowed in this plugin. If included they are stripped for compatibility.
-
-### Gatsby Redirects
-
-We support the use of `statusCode` but do not currently support `conditions`, `ignoreCase`, or `force` as discussed in the [`createRedirect` docs](https://www.gatsbyjs.com/docs/reference/config-files/actions/#createRedirect).
-
-For various reasons discussed in [this article](https://kinsta.com/knowledgebase/307-redirect/), the `isPermanent` boolean toggles HTTP `307 Temporray Redirect` and `308 Permanent Redirect` instead of `301 Moved Permanently` and `302 Found`. If you need to use `statusCode` onyour redirects to explicitly set the response code.
-
-Our implementation supports dynamic redirects as shown by [Gatsby Cloud Docs](https://www.gatsbyjs.com/docs/how-to/cloud/working-with-redirects-and-rewrites/).
-
-Basic, splat, wildcard, and Querystring splat redirects should all work. e.g. :
-
-```js
-createRedirect({
- fromPath: "/perm-redirect",
- toPath: "/posts/page-1",
-});
-createRedirect({
- fromPath: "/redirect/:letter", // `/redirect/a`
- toPath: "/app/:letter", // `/app/a`
-});
-createRedirect({
- fromPath: "/redirect-query?example=:example", // `/redirect-query?example=test`
- toPath: "/app/:example", // `/app/test`
-});
-createRedirect({
- fromPath: "/redirect-query-query?example=:example", // `/redirect-query-query?example=test`
- fromPath: "/redirect-query-query?example=:example", // `/app?example=test`
- toPath: "/app?example=:example",
-});
-createRedirect({
- fromPath: "/redirect-all/*", // `/redirect-all/example`
- toPath: "/app/*", // `/app/example`
-});
-createRedirect({
- fromPath: "/redirect-all2/*", // `/redirect-all2/abc/124` | `/redirect-all2/abc/152`
- toPath: "/app/", // `/app/`
-});
-```
-
-Due to router diferences we have to handle non-splat style query string redirects specially. But they cannot be combined with splat or wildcard routes e.g.
-
-```js
-// This works
-createRedirect({
- fromPath: "/redirect-query-specific?id=2",
- toPath: "/file.pdf",
-});
-
-// These will not work
-createRedirect({
- fromPath: "/redirect-query-specific?id=2&example=:example",
- toPath: "/:example/file.pdf",
-});
-createRedirect({
- fromPath: "/redirect-query-specific/*?id=2",
- toPath: "/*file.pdf",
-});
-```
-
-> **Note:** While these combos don't currently work it's not imposible to implement such a feature. If you need this feature please consider contributing.
-
-### Gatsby Functions
-
-Gatsby's [function docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) suggest that the `Request` and `Response` objects for your Gatsby functions will be _Express like_ and provide the types from the Gatsby core for these.
-
-> **THIS IS NOT TRUE FOR THIS PLUGIN**
-
-Because we're not using Express or Gatsby's own cloud offering functions will need to use Fastify's own [`Request`](https://www.fastify.io/docs/latest/Reference/Request/) and [`Reply`](https://www.fastify.io/docs/latest/Reference/Reply/) API.
-
-```ts
-import type { FastifyRequest, FastifyReply } from "fastify";
-
-export default function handler(req: FastifyRequest, res: FastifyReply) {
- res.send(`I am TYPESCRIPT`);
-}
-```
-
-### Gatsby Routing
-
-We have implemented a compatability layer to support the Gatsby flavor of routing for [Gatsby Functions](https://www.gatsbyjs.com/docs/reference/functions/routing/) and [File System Routing API](https://www.gatsbyjs.com/docs/reference/routing/file-system-route-api/#syntax-client-only-routes). This should be transparent and if you follow the Gatsby docs for routing we should now support all those modes. This very well might not be perfect, if you have issues with routing please file a bug with a reproduction.
diff --git a/packages/gatsby-plugin-fastify/gatsby-node.js b/packages/gatsby-plugin-fastify/gatsby-node.js
deleted file mode 100644
index 80bdcf994..000000000
--- a/packages/gatsby-plugin-fastify/gatsby-node.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require("./dist/gatsby-node");
diff --git a/packages/gatsby-plugin-fastify/index.js b/packages/gatsby-plugin-fastify/index.js
deleted file mode 100644
index 48d277392..000000000
--- a/packages/gatsby-plugin-fastify/index.js
+++ /dev/null
@@ -1 +0,0 @@
-//noop
diff --git a/packages/gatsby-plugin-fastify/jest.config.js b/packages/gatsby-plugin-fastify/jest.config.js
deleted file mode 100644
index ff9acd3fa..000000000
--- a/packages/gatsby-plugin-fastify/jest.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-// For a detailed explanation regarding each configuration property, visit:
-// https://jestjs.io/docs/en/configuration.html
-
-const sharedConfig = require("../../shared/jest.config");
-
-module.exports = {
- ...sharedConfig,
- transformIgnorePatterns: ["/query-engine/", "/page-ssr/"],
- coveragePathIgnorePatterns: ["/query-engine/", "/page-ssr/"],
- setupFilesAfterEnv: ["/src/__tests__/__utils__/setup-file.js"],
-};
diff --git a/packages/gatsby-plugin-fastify/logo.png b/packages/gatsby-plugin-fastify/logo.png
deleted file mode 100644
index e13248170..000000000
Binary files a/packages/gatsby-plugin-fastify/logo.png and /dev/null differ
diff --git a/packages/gatsby-plugin-fastify/package.json b/packages/gatsby-plugin-fastify/package.json
deleted file mode 100644
index 2834e5b10..000000000
--- a/packages/gatsby-plugin-fastify/package.json
+++ /dev/null
@@ -1,70 +0,0 @@
-{
- "name": "gatsby-plugin-fastify",
- "description": "Gatsby plugin for integration serving gatsby on Node.js using Fastify.",
- "version": "0.13.4",
- "homepage": "https://github.com/gatsby-uc/plugins/blob/main/packages/gatsby-plugin-fastify/README.md",
- "repository": {
- "type": "git",
- "url": "https://github.com/gatsby-uc/plugins.git",
- "directory": "packages/gatsby-plugin-fastify"
- },
- "contributors": [
- "Alex Moon "
- ],
- "license": "MIT",
- "keywords": [
- "gatsby",
- "gatsby-plugin",
- "gatsby-plugin-fastify",
- "nodejs",
- "server",
- "fastify"
- ],
- "bin": {
- "gserve": "./dist/cli.js"
- },
- "scripts": {
- "build": "babel src --out-dir ./dist --ignore \"**/__tests__,**/*.d.ts\" --extensions \".ts,.js\"",
- "pretest": "cd ../../integration-tests/plugin-fastify/ && yarn run build",
- "test:disable": "jest --coverage",
- "watch": "yarn build --watch"
- },
- "dependencies": {
- "@babel/runtime": "^7.25.7",
- "@fastify/accepts": "^4.3.0",
- "@fastify/http-proxy": "^8.4.0",
- "@fastify/middie": "^8.3.3",
- "@fastify/static": "^6.12.0",
- "fastify-plugin": "^4.5.1",
- "fs-extra": "^11.2.0",
- "gatsby-core-utils": "^4.13.1",
- "gatsby-plugin-utils": "^4.13.1",
- "http-status-codes": "^2.3.0",
- "mime": "^3.0.0",
- "open": "^8.4.2",
- "picomatch": "^2.3.1",
- "yargs": "^17.7.2"
- },
- "devDependencies": {
- "@babel/cli": "^7.25.7",
- "@babel/core": "^7.25.8",
- "@types/connect": "^3.4.38",
- "@types/fs-extra": "^11.0.4",
- "@types/jest": "^29.5.13",
- "@types/mime": "^3.0.4",
- "@types/node": "^20.16.11",
- "@types/picomatch": "^2.3.4",
- "@types/yargs": "^17.0.33",
- "babel-jest": "^29.7.0",
- "babel-preset-gatsby-package": "^3.13.1",
- "cross-env": "^7.0.3",
- "jest": "^29.7.0"
- },
- "peerDependencies": {
- "fastify": "^4.5.3",
- "gatsby": "^4.2.0 || ^5.0.0"
- },
- "engines": {
- "node": ">=14.15.0"
- }
-}
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/404.html b/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/404.html
deleted file mode 100644
index 58c988e2c..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/404.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- Gatsby Plugin Fastify
-
-
-
-
Page Not Found
-
-
-
\ No newline at end of file
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/app/[...]/index.html b/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/app/[...]/index.html
deleted file mode 100644
index a6e9a619b..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/app/[...]/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- Gatsby Plugin Fastify - Client Side Route
-
-
-
-
Welcome to the CSR!
-
-
-
\ No newline at end of file
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/index.html b/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/index.html
deleted file mode 100644
index cf3c3aeb5..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- Gatsby Plugin Fastify
-
-
-
-
Hello World
-
-
-
\ No newline at end of file
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/posts/page-1/index.html b/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/posts/page-1/index.html
deleted file mode 100644
index 7d75c6c93..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/__files__/public/posts/page-1/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
- Gatsby Plugin Fastify
-
-
-
-
-
-
-"
-`;
-
-exports[`Client Side Routes Should handle sub routes 1`] = `
-"
-
-
-
-
-
- Gatsby Plugin Fastify - Client Side Route
-
-
-
-
Welcome to the CSR!
-
-
-"
-`;
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/functions.js.snap b/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/functions.js.snap
deleted file mode 100644
index 53aebb96e..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/functions.js.snap
+++ /dev/null
@@ -1,7 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Gatsby Functions Should 404 on bad function route 1`] = `"Function not found."`;
-
-exports[`Gatsby Functions Should serve function route 1`] = `"[{"_id":"612d652f43f0c05240ed09b1","index":0,"guid":"ced90cbd-3fad-4c66-bd8d-678eebb3f319","isActive":true,"balance":"$3,289.14","picture":"http://placehold.it/32x32","age":34,"eyeColor":"blue","name":"Mcclure Cohen","gender":"male","company":"ONTALITY","email":"mcclurecohen@ontality.com","phone":"+1 (876) 555-3658","address":"933 Conklin Avenue, Joes, Indiana, 9109","about":"Do labore fugiat exercitation esse commodo dolor voluptate proident ullamco mollit eu. Dolor aliqua incididunt ex consectetur qui labore in laborum dolore mollit fugiat. Occaecat nisi ea nulla deserunt dolore aliqua consequat ipsum fugiat aliqua est sunt anim cillum. Nulla culpa dolore reprehenderit quis aliquip.\\r\\n","registered":"2016-03-02T03:01:11 +08:00","latitude":-13.438572,"longitude":116.414307,"tags":["Lorem","dolore","anim","mollit","ullamco","magna","elit"],"friends":[{"id":0,"name":"Burnett Farley"},{"id":1,"name":"Glenn Osborn"},{"id":2,"name":"Berry Schwartz"}],"greeting":"Hello, Mcclure Cohen! You have 7 unread messages.","favoriteFruit":"banana"},{"_id":"612d652f366d8330fa996824","index":1,"guid":"7101122e-8cea-4a02-b1b8-ae910c0802af","isActive":false,"balance":"$3,387.50","picture":"http://placehold.it/32x32","age":32,"eyeColor":"blue","name":"Geneva Valdez","gender":"female","company":"LIQUICOM","email":"genevavaldez@liquicom.com","phone":"+1 (974) 495-2314","address":"615 Waldorf Court, Belleview, New Jersey, 4579","about":"Sint anim sunt enim ea ea exercitation officia adipisicing aute. Cillum aliquip dolor mollit sunt sint. Sint excepteur sit ut eu culpa aute voluptate est non est sint do nostrud ut. Nostrud officia amet consectetur exercitation aliquip nulla occaecat. Irure voluptate aute irure quis aute ipsum.\\r\\n","registered":"2019-10-23T07:06:59 +07:00","latitude":4.157784,"longitude":79.800439,"tags":["Lorem","enim","sint","commodo","minim","tempor","consectetur"],"friends":[{"id":0,"name":"Teri Crane"},{"id":1,"name":"Colleen Burns"},{"id":2,"name":"Pierce Stafford"}],"greeting":"Hello, Geneva Valdez! You have 5 unread messages.","favoriteFruit":"banana"},{"_id":"612d652fac8efd8e645f7305","index":2,"guid":"9e49d2b8-2684-4a2b-8d34-2db63470105e","isActive":true,"balance":"$1,648.73","picture":"http://placehold.it/32x32","age":39,"eyeColor":"green","name":"Beth Pitts","gender":"female","company":"QUIZKA","email":"bethpitts@quizka.com","phone":"+1 (967) 452-3934","address":"209 Elm Avenue, Soham, South Dakota, 6752","about":"Excepteur est et cupidatat id nisi quis occaecat est non cillum. Dolore aliquip elit aliquip exercitation anim ad aliqua sint enim mollit anim. Nulla veniam amet labore consectetur nulla non culpa laboris non ea. Irure fugiat fugiat reprehenderit aute labore. Commodo enim velit sit sunt in eu adipisicing proident aliqua sit officia. Et cupidatat mollit est voluptate adipisicing ullamco ullamco. Elit in sint velit laboris fugiat.\\r\\n","registered":"2018-07-10T08:23:13 +07:00","latitude":-41.232792,"longitude":14.620843,"tags":["ipsum","voluptate","reprehenderit","fugiat","nulla","elit","dolore"],"friends":[{"id":0,"name":"Rosa Case"},{"id":1,"name":"Charlene Wilkinson"},{"id":2,"name":"Wilcox Shannon"}],"greeting":"Hello, Beth Pitts! You have 4 unread messages.","favoriteFruit":"apple"},{"_id":"612d652f86b888292e0537ea","index":3,"guid":"ae58b78c-46a4-4a09-b636-d86ebc84870c","isActive":false,"balance":"$1,820.92","picture":"http://placehold.it/32x32","age":38,"eyeColor":"blue","name":"Mack Parker","gender":"male","company":"GRONK","email":"mackparker@gronk.com","phone":"+1 (942) 455-3698","address":"340 Village Court, Spokane, Iowa, 7827","about":"Officia occaecat eu duis officia amet in ea ad mollit ut. Mollit non anim ex do. In esse commodo esse ullamco irure laborum officia enim deserunt et. Ut adipisicing aliqua qui anim fugiat duis magna culpa aliqua nisi ex tempor Lorem cupidatat. Aute Lorem ut fugiat reprehenderit fugiat velit. Eu occaecat esse sit anim ad.\\r\\n","registered":"2017-10-26T05:06:57 +07:00","latitude":62.176215,"longitude":50.081649,"tags":["eiusmod","esse","adipisicing","deserunt","minim","dolor","sint"],"friends":[{"id":0,"name":"Corinne Cleveland"},{"id":1,"name":"Janell Stevenson"},{"id":2,"name":"Ruiz Dalton"}],"greeting":"Hello, Mack Parker! You have 5 unread messages.","favoriteFruit":"banana"},{"_id":"612d652f918c5464a5d1badc","index":4,"guid":"16de477f-8260-4dbf-803a-0b9af672a7a3","isActive":false,"balance":"$2,015.74","picture":"http://placehold.it/32x32","age":40,"eyeColor":"brown","name":"Benton Garza","gender":"male","company":"CODACT","email":"bentongarza@codact.com","phone":"+1 (978) 544-3959","address":"723 Linden Street, Loma, Hawaii, 2183","about":"Veniam voluptate eiusmod est exercitation magna dolor cillum veniam. Anim culpa veniam adipisicing consequat sint adipisicing. Minim velit eu tempor enim nulla enim adipisicing id elit irure ex. Voluptate duis cupidatat fugiat amet dolore veniam. Adipisicing ad occaecat velit cillum.\\r\\n","registered":"2016-05-12T08:32:44 +07:00","latitude":41.639383,"longitude":-33.102296,"tags":["excepteur","et","duis","velit","laboris","pariatur","dolor"],"friends":[{"id":0,"name":"Ryan Waters"},{"id":1,"name":"Robbie Rosario"},{"id":2,"name":"Gracie Freeman"}],"greeting":"Hello, Benton Garza! You have 1 unread messages.","favoriteFruit":"strawberry"},{"_id":"612d652f1dd2eb98a16e0a3d","index":5,"guid":"856875e2-24fa-426c-a1cd-5447ea2abeb9","isActive":false,"balance":"$1,889.99","picture":"http://placehold.it/32x32","age":37,"eyeColor":"brown","name":"Tommie Durham","gender":"female","company":"EVIDENDS","email":"tommiedurham@evidends.com","phone":"+1 (866) 570-3407","address":"694 Barlow Drive, Lithium, Tennessee, 1100","about":"Enim nostrud ea ea quis. Commodo commodo reprehenderit ea minim officia enim. Velit laboris incididunt commodo esse commodo ea excepteur in deserunt deserunt. Fugiat ad exercitation aliqua minim ea sunt pariatur est commodo sunt nisi ex. Ipsum ad enim ut et culpa pariatur.\\r\\n","registered":"2018-03-01T06:21:31 +08:00","latitude":52.298302,"longitude":-22.076203,"tags":["laboris","labore","officia","in","est","deserunt","ad"],"friends":[{"id":0,"name":"Francis Park"},{"id":1,"name":"Schmidt Williamson"},{"id":2,"name":"Adkins Shields"}],"greeting":"Hello, Tommie Durham! You have 6 unread messages.","favoriteFruit":"apple"},{"_id":"612d652f8e1b1bc30f3585ec","index":6,"guid":"eb70d15e-fee8-4e76-8c90-049d3d6dac43","isActive":false,"balance":"$1,139.14","picture":"http://placehold.it/32x32","age":21,"eyeColor":"brown","name":"Lee Good","gender":"male","company":"LIMAGE","email":"leegood@limage.com","phone":"+1 (945) 414-3105","address":"652 Hendrickson Street, Wilsonia, Arizona, 9156","about":"Amet ullamco adipisicing velit cillum quis minim nulla sint dolor. Labore magna quis nulla occaecat cupidatat anim irure. Anim duis nisi ipsum sint.\\r\\n","registered":"2017-10-14T04:22:31 +07:00","latitude":85.591186,"longitude":51.21934,"tags":["ipsum","ad","exercitation","mollit","magna","irure","elit"],"friends":[{"id":0,"name":"Delacruz Vaughn"},{"id":1,"name":"Kari Figueroa"},{"id":2,"name":"Kris Marsh"}],"greeting":"Hello, Lee Good! You have 7 unread messages.","favoriteFruit":"strawberry"}]"`;
-
-exports[`Gatsby Functions Should serve function splat route 1`] = `"{"splat":"doesThisWork"}"`;
diff --git a/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/gatsby.js.snap b/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/gatsby.js.snap
deleted file mode 100644
index 7846fb44e..000000000
--- a/packages/gatsby-plugin-fastify/src/__tests__/plugins/__snapshots__/gatsby.js.snap
+++ /dev/null
@@ -1,18 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Test Gatsby Server Gatsby Path Prefix Should be served at prefix 1`] = `
-"
-
-
-
-
-
- Gatsby Plugin Fastify
-
-
-
-