Skip to content

Commit

Permalink
feat!: Drop support for Node 16 (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Feb 27, 2024
1 parent fa7acf9 commit 333a3e9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -13,9 +13,9 @@ jobs:
strategy:
matrix:
node-version:
- 16.x
- 18.x
- 20.x
- 21.x

os:
- ubuntu-latest
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -33,10 +33,10 @@
}
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.19.17",
"@vitest/coverage-istanbul": "^1.3.1",
"prettier": "^3.2.5",
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.base.json
@@ -1,9 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node16",
"sourceMap": true,
"declaration": true,
"noImplicitAny": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.cjs.json
Expand Up @@ -3,8 +3,8 @@
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "dist/compile.cjs.tsbuildInfo",
"module": "Node16",
"moduleResolution": "Node16",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"rootDir": "src",
"outDir": "dist",
"types": ["node"]
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.esm.json
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"composite": true,
"tsBuildInfoFile": "dist/compile.esm.tsbuildInfo",
"module": "ES2020",
"module": "ES2022",
"moduleResolution": "Node",
"rootDir": "src",
"outDir": "dist/esm",
Expand Down

0 comments on commit 333a3e9

Please sign in to comment.