Skip to content

Commit

Permalink
Explicitly support Node v12+
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherny committed Mar 2, 2024
1 parent f1eec6c commit 82cade9
Show file tree
Hide file tree
Showing 4 changed files with 807 additions and 1,015 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["prettier", "unused-imports", "@typescript-eslint"],
"plugins": ["prettier", "@typescript-eslint"],
"rules": {
"prefer-rest-params": "off",
"prefer-const": "error",
Expand All @@ -40,7 +40,6 @@
"@typescript-eslint/no-unused-vars": [
"warn",
{ "varsIgnorePattern": "^_", "argsIgnorePattern": "^_", "ignoreRestSiblings": true }
],
"unused-imports/no-unused-imports-ts": "error"
]
}
}
2 changes: 2 additions & 0 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
- macos-latest
- windows-latest
node:
- 12.x
- 14.x
- 16
- lts/*
- current
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"fs": false
},
"engines": {
"node": ">= 16"
"node": ">= 12"
},
"files": [
"lib",
Expand All @@ -70,9 +70,9 @@
"@types/eslint": "8.44.2",
"@types/js-yaml": "^4.0.6",
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/eslint-plugin-tslint": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"@vitest/coverage-v8": "^0.34.4",
"abortcontroller-polyfill": "^1.7.5",
"cross-env": "^7.0.3",
Expand All @@ -82,7 +82,6 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-unused-imports": "^3.0.0",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"node-fetch": "^3.3.2",
Expand Down
Loading

0 comments on commit 82cade9

Please sign in to comment.