Skip to content

new(gatsby-adapter-fastify): Implement #1866

new(gatsby-adapter-fastify): Implement

new(gatsby-adapter-fastify): Implement #1866

Triggered via pull request December 28, 2023 00:50
Status Failure
Total duration 8m 23s
Artifacts

validate_pr.yml

on: pull_request
Matrix: Setup Dependencies
Validate formating with Prettier
29s
Validate formating with Prettier
Validate types with TypeScript
26s
Validate types with TypeScript
Validate linting with ES Lint
29s
Validate linting with ES Lint
Validate Gatsby exports
38s
Validate Gatsby exports
Matrix: run-tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/cli.ts#L54
Property 'prefix' does not exist on type 'AdapterManifest'.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/decorators.ts#L16
Parameter 'value' implicitly has an 'any' type.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/dynamic.ts#L85
Argument of type 'FastifyRequest<RouteGenericInterface, RawServerDefault, IncomingMessage, FastifySchema, FastifyTypeProviderDefault, unknown, FastifyBaseLogger, ResolveFastifyRequestType<...>>' is not assignable to parameter of type 'GatsbyFunctionRequest<any>'.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/redirects.ts#L9
Type 'StatusCodes.TEMPORARY_REDIRECT | StatusCodes.PERMANENT_REDIRECT | HttpStatusCode' is not assignable to type 'StatusCodes'.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/reverse-proxy.ts#L27
Argument of type '"Reverse Proxy"' is not assignable to parameter of type 'Modules'.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/static.ts#L14
Parameter 'fastify' implicitly has an 'any' type.
Validate types with TypeScript: packages/gatsby-adapter-fastify/src/plugins/static.ts#L14
Binding element 'routes' implicitly has an 'any' type.
Validate formating with Prettier
Process completed with exit code 1.
Validate linting with ES Lint: packages/gatsby-adapter-fastify/src/plugins/dynamic.ts#L22
Unexpected any. Specify a different type
Validate linting with ES Lint: packages/gatsby-adapter-fastify/src/plugins/dynamic.ts#L75
'cache' is assigned a value but never used
Validate linting with ES Lint: packages/gatsby-adapter-fastify/src/plugins/gatsby.ts#L3
'handleRedirects' is defined but never used
Validate linting with ES Lint: packages/gatsby-adapter-fastify/src/utils/routes.ts#L26
Prefer `String#replaceAll()` over `String#replace()`
Validate linting with ES Lint
Process completed with exit code 1.
Run package tests on (Node.js v20)
Process completed with exit code 1.