fixed stupid root import bug in typescript

This commit is contained in:
Ari Sosnovsky committed 2021-11-12 10:52:36 -05:00
1 parent 337ba3491e
commit 9694ffb238
5 files changed
+5020 -5044

No files matched your search

+2 -1
View File
@@ -5,4 +5,5 @@ api/venv
**__pycache__**
*.db*
.coverage
api/tests/samples/
api/tests/samples/
.tmp**
+13
View File
@@ -0,0 +1,13 @@
{
"plugins": [
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"~": "./src"
}
}
]
]
}
+1
View File
@@ -16,6 +16,7 @@
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/react-router-dom": "^5.3.2",
"babel-plugin-module-resolver": "^4.1.0",
"concurrently": "^6.3.0",
"husky": "^7.0.4",
"instead": "^1.0.3",
+26 -12
View File
@@ -1,15 +1,29 @@
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"strict": true,
"include": ["src/**/*"],
"compilerOptions": {
"target": "es5",
"jsx": "react-jsx",
"rootDir": "./src",
"module": "commonjs",
"noImplicitThis": true,
"strictNullChecks": true,
"noImplicitAny": true,
"noUnusedLocals": true,
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"esModuleInterop": true,
"lib": ["dom", "es2015"]
},
"include": [
"src/**/*"
]
}
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"pretty": true,
"sourceMap": true,
"rootDir": ".",
"baseUrl": "./src",
"allowJs": false,
"lib": [
"es6", "dom", "es2017"
],
"paths": {
"~/*": ["./*"]
}
}
}
+4978 -5031
View File
File diff suppressed because it is too large. Load diff