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:
William Valentin
2025-09-07 15:21:27 -07:00
parent c5d3631cb6
commit 2814237e71
3 changed files with 301 additions and 493 deletions

786
bun.lock

File diff suppressed because it is too large Load Diff

View File

@@ -63,6 +63,9 @@
"uuid": "^12.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@playwright/test": "^1.55.0",
"@secretlint/node": "^11.2.3",
"@secretlint/secretlint-rule-preset-recommend": "^11.2.3",
@@ -70,9 +73,11 @@
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/node": "^22.14.0",
"@types/node-fetch": "^2.6.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"babel-jest": "^30.1.2",
"dockerfilelint": "^1.8.0",
"eclint": "^2.8.1",
"eslint": "^9.35.0",
@@ -83,6 +88,7 @@
"jest-environment-jsdom": "^30.1.2",
"lint-staged": "^16.1.6",
"markdownlint-cli2": "^0.18.1",
"node-fetch": "^3.3.2",
"prettier": "^3.6.2",
"shelljs": "^0.10.0",
"ts-jest": "^29.4.1",

View File

@@ -6,6 +6,8 @@
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": ["node", "jest", "@playwright/test"],
"moduleResolution": "bundler",
"isolatedModules": true,