Skip to content

Commit 84a18aa

Browse files
chore(deps): update dependency typescript to v6 (#349)
* chore(deps): update dependency typescript to v6 * fix: update configs --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniëlle Huisman <danielle@nixy.software>
1 parent 3b21d53 commit 84a18aa

8 files changed

Lines changed: 171 additions & 148 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ repos:
99
rev: v3.1.0
1010
hooks:
1111
- id: prettier
12+
language: node
1213
additional_dependencies:
1314
- '@trivago/prettier-plugin-sort-imports@^5.0.0'
1415
- prettier@^3.4.2
@@ -25,6 +26,7 @@ repos:
2526
rev: v9.39.1
2627
hooks:
2728
- id: eslint
29+
language: node
2830
entry: bash -c 'cd packages/supermarket-authenticator && eslint'
2931
types: [file]
3032
types_or: [javascript, jsx, ts, tsx]
@@ -41,6 +43,7 @@ repos:
4143
rev: v9.24.0
4244
hooks:
4345
- id: commitlint
46+
language: node
4447
stages: [commit-msg]
4548
additional_dependencies:
4649
- '@commitlint/cli@^19.6.1'

package-lock.json

Lines changed: 155 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/supermarket-authenticator/eslint-plugin-import.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
declare module 'eslint-plugin-import' {
2-
import type { TSESLint } from '@typescript-eslint/utils';
2+
import type { Linter } from 'eslint';
33

44
const plugin: {
55
flatConfigs: {
6-
recommended: TSESLint.FlatConfig.Config;
7-
typescript: TSESLint.FlatConfig.Config;
6+
recommended: Linter.Config;
7+
typescript: Linter.Config;
88
};
99
};
1010

packages/supermarket-authenticator/eslint-plugin-react.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
declare module 'eslint-plugin-react' {
2-
import type { TSESLint } from '@typescript-eslint/utils';
2+
import type { Linter } from 'eslint';
33

44
const plugin: {
55
configs: {
66
flat: {
7-
all: TSESLint.FlatConfig.Config;
8-
recommended: TSESLint.FlatConfig.Config;
9-
'jsx-runtime': TSESLint.FlatConfig.Config;
7+
all: Linter.Config;
8+
recommended: Linter.Config;
9+
'jsx-runtime': Linter.Config;
1010
};
1111
};
1212
};

packages/supermarket-authenticator/eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import eslintImport from 'eslint-plugin-import';
44
import jsxA11y from 'eslint-plugin-jsx-a11y';
55
import react from 'eslint-plugin-react';
66
import reactHooks from 'eslint-plugin-react-hooks';
7+
import { defineConfig } from 'eslint/config';
78
import tseslint from 'typescript-eslint';
89

9-
export default tseslint.config(
10+
export default defineConfig(
1011
{
1112
ignores: ['.vite/', 'build/', 'coverage/', 'dist/'],
1213
},

packages/supermarket-authenticator/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@types/react-dom": "^19.0.3",
4343
"electron": "41.2.1",
4444
"eslint": "^9.15.0",
45-
"eslint-import-resolver-typescript": "^4.0.0",
45+
"eslint-import-resolver-typescript": "^4.4.4",
4646
"eslint-plugin-import": "^2.31.0",
4747
"eslint-plugin-jsx-a11y": "^6.10.2",
4848
"eslint-plugin-react": "^7.37.2",
@@ -51,8 +51,8 @@
5151
"tailwindcss": "^4.1.13",
5252
"ts-node": "^10.0.0",
5353
"tw-animate-css": "^1.3.8",
54-
"typescript": "^5.7.3",
55-
"typescript-eslint": "^8.16.0",
54+
"typescript": "^6.0.0",
55+
"typescript-eslint": "^8.59.0",
5656
"vite": "^7.3.2",
5757
"vite-tsconfig-paths": "^6.0.0"
5858
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module '~assets/css/index.css';

packages/supermarket-authenticator/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"allowImportingTsExtensions": false,
4-
"baseUrl": ".",
54
"jsx": "react-jsx",
65
"lib": ["ESNext", "DOM", "DOM.Iterable"],
76
"module": "ESNext",

0 commit comments

Comments
 (0)