Skip to content

Commit 73ed2a7

Browse files
authored
Merge pull request #2694 from opossum-tool/chore-remove-ts-node-dependency
chore: remove ts-node dependency
2 parents f1b2b22 + 1519544 commit 73ed2a7

5 files changed

+49
-972
lines changed

eslint.config.mjs

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com>
33
//
44
// SPDX-License-Identifier: Apache-2.0
5-
// @ts-check
65
import { fixupPluginRules } from '@eslint/compat';
76
import eslint from '@eslint/js';
87
import eslintPluginQuery from '@tanstack/eslint-plugin-query';
@@ -46,7 +45,7 @@ export default tseslint.config(
4645
'commitlint.config.ts',
4746
'eslint.config.mjs',
4847
'index.html',
49-
'jest.config.ts',
48+
'jest.config.mjs',
5049
'notices.template.html',
5150
'tools',
5251
'vite.config.mts',
@@ -65,7 +64,6 @@ export default tseslint.config(
6564
version: 'detect',
6665
},
6766
},
68-
// @ts-ignore
6967
rules: {
7068
...eslintPluginQuery.configs.recommended.rules,
7169
...eslintPluginReactHooks.configs.recommended.rules,

jest.config.ts jest.config.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// SPDX-FileCopyrightText: TNG Technology Consulting GmbH <https://www.tngtech.com>
33
//
44
// SPDX-License-Identifier: Apache-2.0
5-
import type { Config } from 'jest';
65

7-
const config: Config = {
6+
/** @type {import('jest').Config} */
7+
const config = {
88
testEnvironment: 'jsdom',
99
resetMocks: false,
1010
transformIgnorePatterns: ['/node_modules/(?!d3-*|internmap|axios)'],

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
"prettier-plugin-sh": "^0.14.0",
100100
"run-script-os": "^1.1.6",
101101
"start-server-and-test": "^2.0.9",
102-
"ts-node": "^10.9.2",
103102
"typescript": "^5.7.2",
104103
"typescript-eslint": "^8.18.2",
105104
"unimported": "^1.31.1",

renovate.json5

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
'spdx-license-ids',
6565
'start-server-and-test',
6666
'stream-json',
67-
'ts-node',
6867
'typescript',
6968
'typescript-eslint',
7069
'upath',

0 commit comments

Comments
 (0)