Rename jest config to ts

This commit is contained in:
MartinBraquet committed 2026-03-01 04:57:59 +01:00
1 parent 59ddb4360e
commit b3cf542fd5
9 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ export default tseslint.config(
'lib', 'lib',
'coverage', 'coverage',
'eslint.config.mjs', 'eslint.config.mjs',
'jest.config.js', 'jest.config.ts',
'ecosystem.config.js', 'ecosystem.config.js',
], ],
}, },
+2 -2
View File
@@ -22,8 +22,8 @@
"typecheck": "yarn build && npx tsc --noEmit", "typecheck": "yarn build && npx tsc --noEmit",
"regen-types": "cd ../supabase && make ENV=prod regen-types", "regen-types": "cd ../supabase && make ENV=prod regen-types",
"regen-types-dev": "cd ../supabase && make ENV=dev regen-types-dev", "regen-types-dev": "cd ../supabase && make ENV=dev regen-types-dev",
"test": "jest --config jest.config.js", "test": "jest --config jest.config.ts",
"test:coverage": "jest --config jest.config.js --coverage" "test:coverage": "jest --config jest.config.ts --coverage"
}, },
"engines": { "engines": {
"node": ">=20.0.0" "node": ">=20.0.0"
+1 -1
View File
@@ -68,7 +68,7 @@ export default tseslint.config(
'lib', 'lib',
'coverage', 'coverage',
'eslint.config.mjs', 'eslint.config.mjs',
'jest.config.js', 'jest.config.ts',
'ecosystem.config.js', 'ecosystem.config.js',
], ],
}, },
+1 -1
View File
@@ -5,7 +5,7 @@
"scripts": { "scripts": {
"dev": "email dev --port 3001", "dev": "email dev --port 3001",
"build": "tsc -b", "build": "tsc -b",
"test": "jest --config jest.config.js --passWithNoTests", "test": "jest --config jest.config.ts --passWithNoTests",
"lint": "npx eslint . --max-warnings 0", "lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix", "lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit" "typecheck": "npx tsc --noEmit"
+1 -1
View File
@@ -62,6 +62,6 @@ export default tseslint.config(
}, },
}, },
{ {
ignores: ['dist', 'lib', 'coverage', 'eslint.config.mjs', 'jest.config.js'], ignores: ['dist', 'lib', 'coverage', 'eslint.config.mjs', 'jest.config.ts'],
}, },
) )
+1 -1
View File
@@ -8,7 +8,7 @@
"lint": "npx eslint . --max-warnings 0", "lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix", "lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit", "typecheck": "npx tsc --noEmit",
"test": "jest --config jest.config.js --passWithNoTests" "test": "jest --config jest.config.ts --passWithNoTests"
}, },
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
+1 -1
View File
@@ -84,7 +84,7 @@ export default tseslint.config(
}, },
}, },
{ {
ignores: ['lib', 'coverage', 'jest.config.js', 'eslint.config.mjs'], ignores: ['lib', 'coverage', 'jest.config.ts', 'eslint.config.mjs'],
}, },
eslintConfigPrettier, eslintConfigPrettier,
) )
+1 -1
View File
@@ -8,7 +8,7 @@
"lint": "npx eslint . --max-warnings 0", "lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix", "lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit", "typecheck": "npx tsc --noEmit",
"test": "jest --config jest.config.js --passWithNoTests" "test": "jest --config jest.config.ts --passWithNoTests"
}, },
"sideEffects": false, "sideEffects": false,
"dependencies": { "dependencies": {
+1 -1
View File
@@ -17,7 +17,7 @@
"typecheck": "npx tsc --noEmit", "typecheck": "npx tsc --noEmit",
"prettier": "npx prettier --write .", "prettier": "npx prettier --write .",
"format-changed": "cd .. && git diff $(git merge-base --fork-point main) --name-only --diff-filter=d | xargs npx prettier -w", "format-changed": "cd .. && git diff $(git merge-base --fork-point main) --name-only --diff-filter=d | xargs npx prettier -w",
"test": "jest --config jest.config.js --passWithNoTests" "test": "jest --config jest.config.ts --passWithNoTests"
}, },
"dependencies": { "dependencies": {
"@floating-ui/react": "0.19.0", "@floating-ui/react": "0.19.0",