Replace ts-jest with @swc/jest

This commit is contained in:
freearhey 2025-01-07 12:56:44 +03:00
parent cfb53d754f
commit e1ffd61618
3 changed files with 109 additions and 242 deletions

View file

@ -27,7 +27,7 @@
"<rootDir>/node_modules/jest-offline"
],
"transform": {
"^.+\\.(ts|js)$": "ts-jest"
"^.+\\.(ts|js)$": "@swc/jest"
},
"testRegex": "(tests|sites)/(.*?/)?.*test.(js|ts)$",
"testTimeout": 10000
@ -41,6 +41,8 @@
"@ntlab/sfetch": "^1.0.0",
"@octokit/plugin-paginate-rest": "^11.3.6",
"@octokit/plugin-rest-endpoint-methods": "^13.2.6",
"@swc/core": "^1.10.4",
"@swc/jest": "^0.2.37",
"@types/cli-progress": "^3.11.3",
"@types/fs-extra": "^11.0.2",
"@types/inquirer": "^9.0.3",
@ -93,7 +95,6 @@
"tabletojson": "^2.0.7",
"tough-cookie": "^5.0.0",
"transliteration": "^2.2.0",
"ts-jest": "^29.1.1",
"tsx": "^4.19.2",
"unzipit": "^1.4.0",
"wildcard-match": "^5.1.2"