Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodeLinker: node-modules
nodeLinker: pnpm
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing nodeLinker from node-modules to pnpm is a significant install/runtime behavior change and doesn’t match the PR’s stated scope of dependency bumps. If this is intentional, related docs/CI expectations should be updated and the change called out explicitly; if not, revert to node-modules to avoid unexpected breakage for contributors and pipelines.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Revert the change please.


plugins:
# Yarn plugin to enforce engine constraints
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,39 @@
"license": "MIT",
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/cors": "^11.1.0",
"@fastify/mongodb": "^9.0.2",
"@fastify/cors": "^11.2.0",
"@fastify/mongodb": "^10.0.0",
"@fastify/sensible": "^6.0.4",
"@fastify/swagger": "^9.6.1",
"@fastify/swagger-ui": "^5.2.3",
"@fastify/type-provider-typebox": "^5.2.0",
"@scalar/fastify-api-reference": "^1.40.0",
"@sinclair/typebox": "^0.34.41",
"fastify": "^5.7.3",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.5",
"@fastify/type-provider-typebox": "^6.1.0",
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fastify/type-provider-typebox was bumped to v6, but its lock entry now declares a peer dependency on the typebox package (not @sinclair/typebox). The repo currently depends on @sinclair/typebox, and there is no typebox package in the lockfile, so TypeScript resolution / runtime imports from the type-provider may fail. Either add/align the required typebox dependency and update imports accordingly, or keep @fastify/type-provider-typebox on a version compatible with @sinclair/typebox.

Suggested change
"@fastify/type-provider-typebox": "^6.1.0",
"@fastify/type-provider-typebox": "^5.0.0",

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Use typebox instead of @sinclair/typebox then.

"@scalar/fastify-api-reference": "^1.44.15",
"@sinclair/typebox": "^0.34.48",
"fastify": "^5.7.4",
"fastify-cli": "^7.4.1",
"fastify-plugin": "^5.1.0",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.2.0",
"openid-client": "^6.8.1"
"jsonwebtoken": "^9.0.3",
"jwks-rsa": "^3.2.2",
"openid-client": "^6.8.2"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.39.1",
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@eslint/js": "^10.0.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^24.10.1",
"@types/node": "^25.2.2",
"concurrently": "^9.2.1",
"eslint": "^9.39.1",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-prettier": "^5.5.5",
"fastify-tsconfig": "^3.0.0",
"globals": "^16.5.0",
"globals": "^17.3.0",
"husky": "^9.1.7",
"prettier": "^3.7.4",
"prettier-plugin-jsdoc": "^1.7.0",
"prettier": "^3.8.1",
"prettier-plugin-jsdoc": "^1.8.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1"
"typescript-eslint": "^8.54.0"
},
"packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
}
4 changes: 2 additions & 2 deletions src/plugins/init-mongo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fp from "fastify-plugin";

// import { Collection } from "mongodb";
// import { Collection, Document } from "mongodb";

export type InitMongoPluginOptions = Record<never, unknown>;

Expand All @@ -18,7 +18,7 @@ export default fp<InitMongoPluginOptions>(async (fastify, opts) => {
// declare module "fastify" {
// export interface FastifyInstance {
// collections: {
// example: Collection<unknown>;
// example: Collection<Document>;
// };
// }
// }
Loading
Loading