diff --git a/.taprc b/.taprc deleted file mode 100644 index 2cc1400a..00000000 --- a/.taprc +++ /dev/null @@ -1,5 +0,0 @@ -ts: true -jsx: false -flow: false -coverage: true -check-coverage: false diff --git a/package.json b/package.json index 1b679b64..66a6f30b 100644 --- a/package.json +++ b/package.json @@ -44,31 +44,30 @@ }, "homepage": "https://github.com/fastify/fastify-autoload#readme", "devDependencies": { - "@fastify/pre-commit": "^2.0.2", - "@fastify/url-data": "^5.0.0", - "@swc-node/register": "^1.5.1", - "@swc/core": "^1.2.129", + "@fastify/pre-commit": "^2.1.0", + "@fastify/url-data": "^5.4.0", + "@swc-node/register": "^1.8.0", + "@swc/core": "^1.4.2", "@swc/register": "^0.1.9", - "@types/jest": "^29.0.0", - "@types/node": "^20.1.0", - "@types/tap": "^15.0.5", - "fastify": "^4.0.0-rc.2", - "fastify-plugin": "^4.0.0", - "jest": "^28.1.3", + "@types/jest": "^29.5.12", + "@types/node": "^20.11.24", + "fastify": "^4.26.2", + "fastify-plugin": "^4.5.1", + "jest": "^29.7.0", "snazzy": "^9.0.0", - "standard": "^17.0.0", - "tap": "^16.0.0", - "ts-jest": "^28.0.7", - "ts-node": "^10.4.0", + "standard": "^17.1.0", + "tap": "^18.0.0", + "ts-jest": "^29.1.2", + "ts-node": "^10.9.2", "ts-node-dev": "^2.0.0", - "tsd": "^0.29.0", - "tsm": "^2.2.1", - "tsx": "^3.7.1", - "typescript": "^5.0.2", - "esbuild": "^0.19.2", - "esbuild-register": "^3.4.1", - "vite": "^5.0.0", - "vitest": "^0.34.1" + "tsd": "^0.30.7", + "tsm": "^2.3.0", + "tsx": "^4.7.1", + "typescript": "^5.3.3", + "esbuild": "^0.20.1", + "esbuild-register": "^3.5.0", + "vite": "^5.1.5", + "vitest": "^1.3.1" }, "dependencies": {}, "standard": { diff --git a/scripts/unit-typescript-esm.js b/scripts/unit-typescript-esm.js index d9d6caec..89e6c934 100644 --- a/scripts/unit-typescript-esm.js +++ b/scripts/unit-typescript-esm.js @@ -6,6 +6,7 @@ const args = [ 'tap', '--node-arg=--loader=ts-node/esm', '--node-arg=--experimental-specifier-resolution=node', + '--', '--no-coverage', 'test/typescript-esm/*.ts' ] diff --git a/scripts/unit-typescript-swc-node-register.js b/scripts/unit-typescript-swc-node-register.js index 2fbf7738..e8488bf8 100644 --- a/scripts/unit-typescript-swc-node-register.js +++ b/scripts/unit-typescript-swc-node-register.js @@ -5,6 +5,7 @@ const { exec } = require('node:child_process') const args = [ 'tap', '--node-arg=--require=@swc-node/register', + '--', '--no-coverage', 'test/typescript/*.ts' ] diff --git a/scripts/unit-typescript-swc.js b/scripts/unit-typescript-swc.js index 4648e021..d6efeb5c 100644 --- a/scripts/unit-typescript-swc.js +++ b/scripts/unit-typescript-swc.js @@ -5,6 +5,7 @@ const { exec } = require('node:child_process') const args = [ 'tap', '--node-arg=--require=@swc/register', + '--', '--no-coverage', 'test/typescript/*.ts' ] diff --git a/scripts/unit-typescript-tsm.js b/scripts/unit-typescript-tsm.js index f2eb48bc..9a24cb76 100644 --- a/scripts/unit-typescript-tsm.js +++ b/scripts/unit-typescript-tsm.js @@ -4,8 +4,10 @@ const { exec } = require('node:child_process') const args = [ 'tap', + '--', '--no-ts', '--node-arg=--require=tsm', + '--', '--no-coverage', 'test/typescript/*.ts' ]