Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: resolves deprecated typescript configs

towfiqib13454c87d99
diff --git a/backend/tsconfig.json b/backend/tsconfig.json
index 5984b56..2fc2f1f 100644
--- a/backend/tsconfig.json
+++ b/backend/tsconfig.json
@@ -2,8 +2,7 @@
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
- "moduleResolution": "node",
- "baseUrl": ".",
+ "moduleResolution": "bundler",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
@@ -15,8 +14,7 @@
"declaration": true,
"declarationMap": true,
"sourceMap": true,
- "typeRoots": ["./node_modules/@types", "./src/types"],
- "ignoreDeprecations": "6.0"
+ "typeRoots": ["./node_modules/@types", "./src/types"]
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "__tests__", "**/*.test.ts"]
diff --git a/backend/tsconfig.test.json b/backend/tsconfig.test.json
index 22f91d4..7813af2 100644
--- a/backend/tsconfig.test.json
+++ b/backend/tsconfig.test.json
@@ -5,20 +5,13 @@
"moduleResolution": "bundler",
"noEmit": true,
"types": ["node", "jest"],
- "baseUrl": ".",
- "paths": {
- "pluton-core-backend/notifications/channels/NotificationChannelResolver": [
- "./src/notifications/channels/NotificationChannelResolver.ts"
- ]
- },
"esModuleInterop": true,
"allowImportingTsExtensions": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
- "noErrorTruncation": true,
- "ignoreDeprecations": "6.0"
+ "noErrorTruncation": true
},
"include": ["__tests__/**/*", "src/**/*"]
}
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index b99b116..18592b2 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -1,17 +1,8 @@
{
"files": [],
"references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }],
- "module": "esnext",
- "moduleResolution": "node",
-
- "resolveJsonModule": true,
"exclude": ["node_modules"],
"compilerOptions": {
- "baseUrl": ".",
- "paths": {
- "@/*": ["./src/*"]
- },
- "target": "esnext",
- "ignoreDeprecations": "6.0"
+ "target": "esnext"
}
}
diff --git a/frontend/tsconfig.lib.json b/frontend/tsconfig.lib.json
index f79dac4..0c58963 100644
--- a/frontend/tsconfig.lib.json
+++ b/frontend/tsconfig.lib.json
@@ -4,7 +4,7 @@
"target": "ES2020",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
- "moduleResolution": "node",
+ "moduleResolution": "bundler",
"skipLibCheck": true,
/* Emit */