diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3988a3a..a165e28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci-mysql.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci-mysql.yml@v4.1.0 with: license-check: true lint: true diff --git a/.taprc b/.taprc index 55d8dd2..343ddd5 100644 --- a/.taprc +++ b/.taprc @@ -1,7 +1,3 @@ -jobs: 1 -jsx: false -ts: false -flow: false - +disable-coverage: true files: - test/**/*.test.js diff --git a/index.js b/index.js index e972401..e24754b 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,8 @@ function isMySQLPromiseConnection (obj) { } module.exports = fp(fastifyMysql, { - fastify: '4.x', + // DISABLED UNTIL v5 RELEASE: + // fastify: '4.x', name: '@fastify/mysql' }) module.exports.default = fastifyMysql diff --git a/package.json b/package.json index 3738280..6e81efb 100644 --- a/package.json +++ b/package.json @@ -33,15 +33,15 @@ }, "homepage": "https://github.com/fastify/fastify-mysql#readme", "dependencies": { - "fastify-plugin": "^4.0.0", + "fastify-plugin": "^4.5.1", "mysql2": "^3.9.7" }, "devDependencies": { - "@types/node": "^20.1.0", - "fastify": "^4.0.0-rc.2", - "standard": "^17.0.0", - "tap": "^16.0.0", - "tsd": "^0.31.0" + "@types/node": "^20.11.30", + "fastify": "^5.0.0-alpha.1", + "standard": "^17.1.0", + "tap": "^19.2.5", + "tsd": "^0.31.1" }, "publishConfig": { "access": "public"