Config updates
This commit is contained in:
1 parent
830f033f9b
commit
1abb5f1ea5
11 files changed
+93
-58
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const withTM = require("@vercel/edge-functions-ui/transpile")(["react-timezone-select"]);
|
||||
const withTM = require("@vercel/edge-functions-ui/transpile")([]);
|
||||
const { i18n } = require("./next-i18next.config");
|
||||
|
||||
// So we can test deploy previews preview
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
"pre-commit": "lint-staged",
|
||||
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
|
||||
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
|
||||
"prepare": "husky install",
|
||||
"check-changed-files": "ts-node scripts/ts-check-changed-files.ts"
|
||||
},
|
||||
"engines": {
|
||||
@@ -100,7 +99,7 @@
|
||||
"react-query": "^3.33.7",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-select": "^5.2.1",
|
||||
"react-timezone-select": "^1.1.15",
|
||||
"react-timezone-select": "^1.3.1",
|
||||
"react-use-intercom": "1.4.0",
|
||||
"react-virtualized-auto-sizer": "^1.0.6",
|
||||
"react-window": "^1.8.6",
|
||||
@@ -145,7 +144,6 @@
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"husky": "^7.0.1",
|
||||
"jest": "^26.0.0",
|
||||
"lint-staged": "^11.1.2",
|
||||
"mockdate": "^3.0.5",
|
||||
|
||||
+8
-50
@@ -1,58 +1,16 @@
|
||||
{
|
||||
"extends": "@calcom/tsconfig/nextjs.json",
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": [
|
||||
"dom",
|
||||
"dom.iterable",
|
||||
"esnext"
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@components/*": [
|
||||
"components/*"
|
||||
],
|
||||
"@lib/*": [
|
||||
"lib/*"
|
||||
],
|
||||
"@server/*": [
|
||||
"server/*"
|
||||
],
|
||||
"@ee/*": [
|
||||
"ee/*"
|
||||
]
|
||||
"@components/*": ["components/*"],
|
||||
"@lib/*": ["lib/*"],
|
||||
"@server/*": ["server/*"],
|
||||
"@ee/*": ["ee/*"]
|
||||
},
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"useUnknownInCatchVariables": true,
|
||||
"jsx": "preserve",
|
||||
"typeRoots": ["./types"],
|
||||
"types": [
|
||||
"@types/jest",
|
||||
],
|
||||
"allowJs": true,
|
||||
"incremental": true
|
||||
"types": ["@types/jest"]
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"@types/*.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
],
|
||||
"ts-node": {
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"types": ["node"],
|
||||
}
|
||||
}
|
||||
"include": ["next-env.d.ts", "@types/*.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in new issue
Block a user