diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c05548..aa99f7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v1 diff --git a/.gitignore b/.gitignore index 6d44f94..bb038c0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ coverage .nyc_output /lib *.tsbuildinfo +.tap diff --git a/package.json b/package.json index 43177df..616a291 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "build:test": "npm run build && npm test", "build:watch": "npm run build -- --watch", "clean": "rm -rf tsconfig.tsbuildinfo lib", - "coverage": "c8 tap --no-coverage test/*.js", - "coverage:ci": "c8 --reporter lcovonly tap --no-coverage test/*.js", + "coverage": "c8 tap --disable-coverage --allow-empty-coverage test/*.js", + "coverage:ci": "c8 --reporter lcovonly tap --disable-coverage --allow-empty-coverage test/*.js", "lint": "eslint \"test/*.js\" \"src/**/*.ts\" \"src/*.ts\"", "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run build", "publish:minor": "npm version minor && npm publish", "publish:patch": "npm version patch && npm publish", - "test": "tap --no-coverage test/*.js" + "test": "tap --disable-coverage --allow-empty-coverage test/*.js" }, "exports": "./lib/util.js", "types": "./lib/util.d.ts", @@ -45,15 +45,15 @@ "@typescript-eslint/eslint-plugin": "^6.0.0", "c8": "^8.0.0", "eslint": "^8.1.0", - "eslint-config-prettier": "^8.3.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.0.0", "prettier": "^3.0.0", - "tap": "^16.0.0", + "tap": "^18.5.0", "typescript": "^5.0.2" }, "engines": { - "node": ">= 16" + "node": ">= 18" } }