Rename jest config to ts

This commit is contained in:
MartinBraquet
2026-03-01 04:57:59 +01:00
parent 59ddb4360e
commit b3cf542fd5
9 changed files with 10 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ export default tseslint.config(
'lib',
'coverage',
'eslint.config.mjs',
'jest.config.js',
'jest.config.ts',
'ecosystem.config.js',
],
},

View File

@@ -22,8 +22,8 @@
"typecheck": "yarn build && npx tsc --noEmit",
"regen-types": "cd ../supabase && make ENV=prod regen-types",
"regen-types-dev": "cd ../supabase && make ENV=dev regen-types-dev",
"test": "jest --config jest.config.js",
"test:coverage": "jest --config jest.config.js --coverage"
"test": "jest --config jest.config.ts",
"test:coverage": "jest --config jest.config.ts --coverage"
},
"engines": {
"node": ">=20.0.0"

View File

@@ -68,7 +68,7 @@ export default tseslint.config(
'lib',
'coverage',
'eslint.config.mjs',
'jest.config.js',
'jest.config.ts',
'ecosystem.config.js',
],
},

View File

@@ -5,7 +5,7 @@
"scripts": {
"dev": "email dev --port 3001",
"build": "tsc -b",
"test": "jest --config jest.config.js --passWithNoTests",
"test": "jest --config jest.config.ts --passWithNoTests",
"lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit"

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'],
},
)

View File

@@ -8,7 +8,7 @@
"lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit",
"test": "jest --config jest.config.js --passWithNoTests"
"test": "jest --config jest.config.ts --passWithNoTests"
},
"sideEffects": false,
"dependencies": {

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,
)

View File

@@ -8,7 +8,7 @@
"lint": "npx eslint . --max-warnings 0",
"lint-fix": "npx eslint . --fix",
"typecheck": "npx tsc --noEmit",
"test": "jest --config jest.config.js --passWithNoTests"
"test": "jest --config jest.config.ts --passWithNoTests"
},
"sideEffects": false,
"dependencies": {

View File

@@ -17,7 +17,7 @@
"typecheck": "npx tsc --noEmit",
"prettier": "npx prettier --write .",
"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": {
"@floating-ui/react": "0.19.0",