Compare commits

..

2 Commits

Author SHA1 Message Date
b4a04d2e8e
chore: remove not needed npm engine requirement 2024-11-11 20:34:22 +01:00
54e45d3e5d
build(deps): update latest 2024-11-11 13:24:45 +01:00
8 changed files with 1768 additions and 827 deletions

View File

@ -1,4 +0,0 @@
{
"extends": ["conventions"],
"plugins": ["promise", "unicorn"]
}

View File

@ -15,7 +15,7 @@ jobs:
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
with:
node-version: "22.x"
node-version: "lts/*"
cache: "npm"
- name: "Install dependencies"
@ -25,7 +25,7 @@ jobs:
- run: "node --run lint:markdown"
- run: "node --run lint:eslint"
- run: "node --run lint:prettier"
- run: "node --run lint:javascript"
- run: "node --run lint:typescript"
commitlint:
runs-on: "ubuntu-latest"

View File

@ -21,7 +21,7 @@ jobs:
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
with:
node-version: "22.x"
node-version: "lts/*"
cache: "npm"
- name: "Install dependencies"

View File

@ -15,7 +15,7 @@ jobs:
- name: "Setup Node.js"
uses: "actions/setup-node@v4.0.3"
with:
node-version: "22.x"
node-version: "lts/*"
cache: "npm"
- name: "Install dependencies"

13
eslint.config.mjs Normal file
View File

@ -0,0 +1,13 @@
import typescriptESLint from "typescript-eslint"
import configConventions from "eslint-config-conventions"
export default typescriptESLint.config(...configConventions, {
files: ["**/*.ts", "**/*.tsx"],
languageOptions: {
parser: typescriptESLint.parser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
})

2538
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,15 +26,14 @@
"provenance": true
},
"engines": {
"node": ">=16.0.0",
"npm": ">=9.0.0"
"node": ">=16.0.0"
},
"scripts": {
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint-cli2",
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
"lint:prettier": "prettier . --check --ignore-path .gitignore",
"lint:javascript": "tsc --project jsconfig.json --noEmit",
"lint:eslint": "eslint . --max-warnings 0",
"lint:prettier": "prettier . --check",
"lint:typescript": "tsc --noEmit",
"test": "node --test",
"release": "semantic-release"
},
@ -43,16 +42,19 @@
},
"devDependencies": {
"@types/markdown-it": "14.1.2",
"@types/node": "20.12.12",
"editorconfig-checker": "5.1.8",
"eslint": "8.57.0",
"eslint-config-conventions": "14.4.0",
"@types/node": "22.9.0",
"editorconfig-checker": "6.0.0",
"eslint": "9.14.0",
"eslint-config-conventions": "17.0.0",
"eslint-plugin-promise": "7.1.0",
"eslint-plugin-unicorn": "55.0.0",
"markdownlint": "0.35.0",
"markdownlint-cli2": "0.14.0",
"eslint-plugin-unicorn": "56.0.0",
"eslint-plugin-import-x": "4.4.0",
"globals": "15.12.0",
"markdownlint": "0.36.1",
"markdownlint-cli2": "0.15.0",
"prettier": "3.3.3",
"semantic-release": "23.1.1",
"typescript": "5.5.4"
"typescript-eslint": "8.13.0",
"typescript": "5.6.3"
}
}

View File

@ -2,8 +2,8 @@
"compilerOptions": {
"lib": ["ESNext"],
"target": "ESNext",
"module": "CommonJS",
"moduleResolution": "Node",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"checkJs": true,
"allowJs": true,
"noEmit": true,