Skip to content

Commit

Permalink
chore: Require Node.js 20
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

Node.js 18 is no longer supported
  • Loading branch information
sapegin committed May 1, 2024
1 parent 5266814 commit 0ac8371
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
132 changes: 66 additions & 66 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
{
"name": "textlint-rule-terminology",
"version": "0.0.0-development",
"description": "TextLint rule to check correct terms spelling",
"author": {
"name": "Artem Sapegin",
"url": "https://sapegin.me"
},
"homepage": "https://github.com/sapegin/textlint-rule-terminology",
"repository": "sapegin/textlint-rule-terminology",
"license": "MIT",
"engines": {
"node": ">=18"
},
"main": "index.js",
"files": [
"index.js",
"terms.jsonc"
],
"scripts": {
"pretest": "npm run lint",
"test": "npm run test:jest",
"posttest": "npm run format",
"lint": "eslint . --cache --fix",
"test:jest": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"format": "prettier --write \"**/*.{js,md}\""
},
"keywords": [
"textlintrule",
"textlint",
"rule",
"misspelling",
"proofreading",
"terminology",
"terms"
],
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-tamia": "^7.1.1",
"husky": "^4.0.7",
"jest": "^29.1.2",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"textlint-tester": "^5.1.13"
},
"dependencies": {
"lodash": "^4.17.15",
"strip-json-comments": "^3.0.1",
"textlint-rule-helper": "^2.1.1"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
"name": "textlint-rule-terminology",
"version": "0.0.0-development",
"description": "TextLint rule to check correct terms spelling",
"author": {
"name": "Artem Sapegin",
"url": "https://sapegin.me"
},
"homepage": "https://github.com/sapegin/textlint-rule-terminology",
"repository": "sapegin/textlint-rule-terminology",
"license": "MIT",
"engines": {
"node": ">=20"
},
"main": "index.js",
"files": [
"index.js",
"terms.jsonc"
],
"scripts": {
"pretest": "npm run lint",
"test": "npm run test:jest",
"posttest": "npm run format",
"lint": "eslint . --cache --fix",
"test:jest": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"format": "prettier --write \"**/*.{js,md}\""
},
"keywords": [
"textlintrule",
"textlint",
"rule",
"misspelling",
"proofreading",
"terminology",
"terms"
],
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-tamia": "^7.1.1",
"husky": "^4.0.7",
"jest": "^29.1.2",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"textlint-tester": "^5.1.13"
},
"dependencies": {
"lodash": "^4.17.15",
"strip-json-comments": "^3.0.1",
"textlint-rule-helper": "^2.1.1"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
}
}

0 comments on commit 0ac8371

Please sign in to comment.