deps: add testing dependencies and update configuration
- Add Babel core, presets for env and TypeScript support - Add babel-jest for JavaScript transformation in Jest - Add node-fetch and @types/node-fetch for HTTP testing - Update TypeScript config for better Jest compatibility - Update bun.lock with new dependency resolutions
This commit is contained in:
@@ -63,6 +63,9 @@
|
|||||||
"uuid": "^12.0.0"
|
"uuid": "^12.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/core": "^7.28.4",
|
||||||
|
"@babel/preset-env": "^7.28.3",
|
||||||
|
"@babel/preset-typescript": "^7.27.1",
|
||||||
"@playwright/test": "^1.55.0",
|
"@playwright/test": "^1.55.0",
|
||||||
"@secretlint/node": "^11.2.3",
|
"@secretlint/node": "^11.2.3",
|
||||||
"@secretlint/secretlint-rule-preset-recommend": "^11.2.3",
|
"@secretlint/secretlint-rule-preset-recommend": "^11.2.3",
|
||||||
@@ -70,9 +73,11 @@
|
|||||||
"@testing-library/react": "^16.3.0",
|
"@testing-library/react": "^16.3.0",
|
||||||
"@types/jest": "^30.0.0",
|
"@types/jest": "^30.0.0",
|
||||||
"@types/node": "^22.14.0",
|
"@types/node": "^22.14.0",
|
||||||
|
"@types/node-fetch": "^2.6.13",
|
||||||
"@types/uuid": "^10.0.0",
|
"@types/uuid": "^10.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
||||||
"@typescript-eslint/parser": "^8.42.0",
|
"@typescript-eslint/parser": "^8.42.0",
|
||||||
|
"babel-jest": "^30.1.2",
|
||||||
"dockerfilelint": "^1.8.0",
|
"dockerfilelint": "^1.8.0",
|
||||||
"eclint": "^2.8.1",
|
"eclint": "^2.8.1",
|
||||||
"eslint": "^9.35.0",
|
"eslint": "^9.35.0",
|
||||||
@@ -83,6 +88,7 @@
|
|||||||
"jest-environment-jsdom": "^30.1.2",
|
"jest-environment-jsdom": "^30.1.2",
|
||||||
"lint-staged": "^16.1.6",
|
"lint-staged": "^16.1.6",
|
||||||
"markdownlint-cli2": "^0.18.1",
|
"markdownlint-cli2": "^0.18.1",
|
||||||
|
"node-fetch": "^3.3.2",
|
||||||
"prettier": "^3.6.2",
|
"prettier": "^3.6.2",
|
||||||
"shelljs": "^0.10.0",
|
"shelljs": "^0.10.0",
|
||||||
"ts-jest": "^29.4.1",
|
"ts-jest": "^29.4.1",
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
"types": ["node", "jest", "@playwright/test"],
|
"types": ["node", "jest", "@playwright/test"],
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user