diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index babd56d..444baa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,6 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.1.0 with: license-check: true diff --git a/.taprc b/.taprc index f86eab8..21536e7 100644 --- a/.taprc +++ b/.taprc @@ -1,6 +1,3 @@ -100: true -ts: false -jsx: false -flow: false -coverage: true -check-coverage: true +disable-coverage: true +plugin: + - "!@tapjs/typescript" diff --git a/package.json b/package.json index 40abc34..ec323fe 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint:fix": "standard --fix | snazzy", "test": "npm run lint && npm run unit && npm run typescript", "test:ci": "npm run lint && npm run coverage && npm run typescript", - "unit": "tap -J \"test/*.test.js\"", + "unit": "tap", "unit:report": "npm run unit -- --coverage-report=html", "unit:verbose": "npm run unit -- -Rspec", "typescript": "tsd" @@ -37,17 +37,17 @@ }, "homepage": "https://github.com/fastify/fastify-helmet#readme", "devDependencies": { - "@fastify/pre-commit": "^2.0.2", - "@types/node": "^20.1.2", - "fastify": "^4.7.0", + "@fastify/pre-commit": "^2.1.0", + "@types/node": "^20.11.30", + "fastify": "^5.0.0-alpha.3", "snazzy": "^9.0.0", - "standard": "^17.0.0", - "tap": "^16.0.0", + "standard": "^17.1.0", + "tap": "^18.7.1", "tsd": "^0.31.0" }, "dependencies": { - "fastify-plugin": "^4.2.1", - "helmet": "^7.0.0" + "fastify-plugin": "^5.0.0-pre.fv5.1", + "helmet": "^7.1.0" }, "tsd": { "directory": "test/types"