updated to typescript-eslint stable release

main
Inga 🏳‍🌈 1 week ago
parent cc9f956b86
commit 7393819e8b
  1. 5
      README.md
  2. 100
      package-lock.json
  3. 2
      package.json

@ -269,10 +269,7 @@ Listed in `package.json`, installed with `npm ci`, not vendored.
* `@tsconfig/strictest`, to avoid having to enable all the strict TS compiler options manually. * `@tsconfig/strictest`, to avoid having to enable all the strict TS compiler options manually.
* `eslint`, for linting. * `eslint`, for linting.
* `prettier`, to ensure common code style. * `prettier`, to ensure common code style.
* `typescript-eslint`, for type-aware and type-checked linting * `typescript-eslint`, for type-aware and type-checked linting.
(fixed at 8.15.1-alpha.7 because we need TypeScript 5.7 for `rewriteRelativeImportExtensions` feature,
and TS 5.7 support is merged but not yet released in `typescript-eslint`:
https://github.com/typescript-eslint/typescript-eslint/pull/10372).
* `copyfiles`, to copy static assets to the `dist` directory so that they can be next to compiled JS for frontend. * `copyfiles`, to copy static assets to the `dist` directory so that they can be next to compiled JS for frontend.
* `rimraf`, to cleanup `dist` directory before building. * `rimraf`, to cleanup `dist` directory before building.

100
package-lock.json generated

@ -28,7 +28,7 @@
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"tap": "^21.0.1", "tap": "^21.0.1",
"typescript": "^5.7.2", "typescript": "^5.7.2",
"typescript-eslint": "^8.15.1-alpha.7" "typescript-eslint": "^8.16.0"
} }
}, },
"node_modules/@alcalzone/ansi-tokenize": { "node_modules/@alcalzone/ansi-tokenize": {
@ -1733,17 +1733,17 @@
} }
}, },
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz",
"integrity": "sha512-IY5QS/z/WBFp3nzoGA649bMiQ7PuMTBOAdSJDvJqfmZZw+GY+kjpx0OQbACLhLYNT7xUmUdEaYgiqQEULxJarg==", "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.10.0", "@eslint-community/regexpp": "^4.10.0",
"@typescript-eslint/scope-manager": "8.15.1-alpha.7", "@typescript-eslint/scope-manager": "8.16.0",
"@typescript-eslint/type-utils": "8.15.1-alpha.7", "@typescript-eslint/type-utils": "8.16.0",
"@typescript-eslint/utils": "8.15.1-alpha.7", "@typescript-eslint/utils": "8.16.0",
"@typescript-eslint/visitor-keys": "8.15.1-alpha.7", "@typescript-eslint/visitor-keys": "8.16.0",
"graphemer": "^1.4.0", "graphemer": "^1.4.0",
"ignore": "^5.3.1", "ignore": "^5.3.1",
"natural-compare": "^1.4.0", "natural-compare": "^1.4.0",
@ -1757,7 +1757,7 @@
"url": "https://opencollective.com/typescript-eslint" "url": "https://opencollective.com/typescript-eslint"
}, },
"peerDependencies": { "peerDependencies": {
"@typescript-eslint/parser": "8.15.1-alpha.7", "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
"eslint": "^8.57.0 || ^9.0.0" "eslint": "^8.57.0 || ^9.0.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
@ -1767,16 +1767,16 @@
} }
}, },
"node_modules/@typescript-eslint/parser": { "node_modules/@typescript-eslint/parser": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz",
"integrity": "sha512-99pljqKN9GbndCBIphuMBuAcLBrU0AUYjinK8Hcc00jsucZn1SU07c7WPBTD7OJdNpv9PBoCDASxnQbb5Nd9FQ==", "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==",
"dev": true, "dev": true,
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "8.15.1-alpha.7", "@typescript-eslint/scope-manager": "8.16.0",
"@typescript-eslint/types": "8.15.1-alpha.7", "@typescript-eslint/types": "8.16.0",
"@typescript-eslint/typescript-estree": "8.15.1-alpha.7", "@typescript-eslint/typescript-estree": "8.16.0",
"@typescript-eslint/visitor-keys": "8.15.1-alpha.7", "@typescript-eslint/visitor-keys": "8.16.0",
"debug": "^4.3.4" "debug": "^4.3.4"
}, },
"engines": { "engines": {
@ -1796,14 +1796,14 @@
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/scope-manager": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz",
"integrity": "sha512-eI2ir0q2v98/t33eFb9TMZoBVCVfZJTS+XplQOYYPElyRMnl/1KQfeojPHYYrj67uyWqwcjAS7y7J5FUu2/yzg==", "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.15.1-alpha.7", "@typescript-eslint/types": "8.16.0",
"@typescript-eslint/visitor-keys": "8.15.1-alpha.7" "@typescript-eslint/visitor-keys": "8.16.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@ -1814,14 +1814,14 @@
} }
}, },
"node_modules/@typescript-eslint/type-utils": { "node_modules/@typescript-eslint/type-utils": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz",
"integrity": "sha512-EA+mZphbvVxCI5zEgS7Rsf5NCVJZUNX7mZo2M1Je28TKdnQ9FbElavMwWH+oYKaA0zyy/nAsyH1bd7g6W/rUbg==", "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/typescript-estree": "8.15.1-alpha.7", "@typescript-eslint/typescript-estree": "8.16.0",
"@typescript-eslint/utils": "8.15.1-alpha.7", "@typescript-eslint/utils": "8.16.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"ts-api-utils": "^1.3.0" "ts-api-utils": "^1.3.0"
}, },
@ -1842,9 +1842,9 @@
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/types": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz",
"integrity": "sha512-jMucfRt+nod/87HtijK0Q4d5ijTl+FHIWhNNBegw5JOE0f0s1YBpGUeZIqQ5uSLuMBbnvMi/wUIe2AsbIip/JQ==", "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@ -1856,14 +1856,14 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz",
"integrity": "sha512-GpfQgWVaXFKIdVuYVPsX88au4WsZMLRh7FWce3ewCMleZL25KLnkBvDVKEPkyC5euI4ucZfYt5O6gVb72AKXeQ==", "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==",
"dev": true, "dev": true,
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.15.1-alpha.7", "@typescript-eslint/types": "8.16.0",
"@typescript-eslint/visitor-keys": "8.15.1-alpha.7", "@typescript-eslint/visitor-keys": "8.16.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"fast-glob": "^3.3.2", "fast-glob": "^3.3.2",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",
@ -1911,16 +1911,16 @@
} }
}, },
"node_modules/@typescript-eslint/utils": { "node_modules/@typescript-eslint/utils": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz",
"integrity": "sha512-45Y+65c3MZBeD/Uz80gu5aW0hTn47EL0e5/AGFU717Hi+Dyb9xeTMFbjwHuGdtLOliRVBuCkw1/94cRNz1IJVA==", "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"@typescript-eslint/scope-manager": "8.15.1-alpha.7", "@typescript-eslint/scope-manager": "8.16.0",
"@typescript-eslint/types": "8.15.1-alpha.7", "@typescript-eslint/types": "8.16.0",
"@typescript-eslint/typescript-estree": "8.15.1-alpha.7" "@typescript-eslint/typescript-estree": "8.16.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@ -1939,13 +1939,13 @@
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz",
"integrity": "sha512-hSqFgLEM7yOSYfHFqLZ5bKUY9NsriiKZ0+eEfvfPfFyMCe1VugDsrCdZNW3HnJlRzXD8dQmWle29HalKQnpBaw==", "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/types": "8.15.1-alpha.7", "@typescript-eslint/types": "8.16.0",
"eslint-visitor-keys": "^4.2.0" "eslint-visitor-keys": "^4.2.0"
}, },
"engines": { "engines": {
@ -6988,15 +6988,15 @@
} }
}, },
"node_modules/typescript-eslint": { "node_modules/typescript-eslint": {
"version": "8.15.1-alpha.7", "version": "8.16.0",
"resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.15.1-alpha.7.tgz", "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.16.0.tgz",
"integrity": "sha512-uvmYWxq6LZqE/QUI1AoBtArxRFxA8gbks/fYqoCkYbOgm9O4aS39sdlE8FuxfPayks9fSiJgFsVHiRt8kbxQvg==", "integrity": "sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "8.15.1-alpha.7", "@typescript-eslint/eslint-plugin": "8.16.0",
"@typescript-eslint/parser": "8.15.1-alpha.7", "@typescript-eslint/parser": "8.16.0",
"@typescript-eslint/utils": "8.15.1-alpha.7" "@typescript-eslint/utils": "8.16.0"
}, },
"engines": { "engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" "node": "^18.18.0 || ^20.9.0 || >=21.1.0"

@ -32,7 +32,7 @@
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"tap": "^21.0.1", "tap": "^21.0.1",
"typescript": "^5.7.2", "typescript": "^5.7.2",
"typescript-eslint": "^8.15.1-alpha.7" "typescript-eslint": "^8.16.0"
}, },
"dependencies": { "dependencies": {
"body-parser": "^1.20.3", "body-parser": "^1.20.3",

Loading…
Cancel
Save