Restructured tsconfig files
This commit is contained in:
		
							parent
							
								
									e6c3904701
								
							
						
					
					
						commit
						68e828e2e5
					
				| @ -1,21 +1,18 @@ | ||||
| { | ||||
|     "extends": "../tsconfig.json", | ||||
|     "compilerOptions": { | ||||
|         "sourceMap": true, | ||||
|         "jsx": "react", | ||||
|         "experimentalDecorators": true, | ||||
|         "target": "es2017", | ||||
|         "lib": [ | ||||
|             "es2017", | ||||
|             "dom", | ||||
|             "scripthost" | ||||
|         ], | ||||
|         "module": "commonjs", | ||||
|         "types": [ | ||||
|             "webpack-env", | ||||
|             "core-js", | ||||
|             "node" | ||||
|         ], | ||||
|         "strict": true, | ||||
|         "baseUrl": "..", | ||||
|         "paths": { | ||||
|             "@common/*": [ | ||||
| @ -26,6 +23,10 @@ | ||||
|             ] | ||||
|         } | ||||
|     }, | ||||
|     "include": [ | ||||
|         "./client/**/*.ts", | ||||
|         "./client/**/*.tsx" | ||||
|     ], | ||||
|     "references": [{ | ||||
|         "path": "../common" | ||||
|     }] | ||||
|  | ||||
| @ -1,16 +1,7 @@ | ||||
| { | ||||
|     "extends": "../tsconfig.json", | ||||
|     "compilerOptions": { | ||||
|         "outDir": "../dist/common", | ||||
|         "experimentalDecorators": true, | ||||
|         "target": "es2017", | ||||
|         "lib": [ | ||||
|             "es2017" | ||||
|         ], | ||||
|         "types": [ | ||||
|             "node" | ||||
|         ], | ||||
|         "module": "commonjs", | ||||
|         "strict": true, | ||||
|         "baseUrl": "..", | ||||
|         "composite": true, | ||||
|         "declaration": true, | ||||
|  | ||||
| @ -1,15 +1,9 @@ | ||||
| import * as path from "path"; | ||||
| import { | ||||
|   Connection, | ||||
|   createConnection, | ||||
|   EntityManager, | ||||
|   getConnectionOptions, | ||||
|   Repository | ||||
| } from "typeorm"; | ||||
| import { Connection, createConnection, getConnectionOptions } from "typeorm"; | ||||
| 
 | ||||
| import logger from "@common/logger"; | ||||
| 
 | ||||
| import { SprinklersDevice, User } from "./entities"; | ||||
| import { User } from "./entities"; | ||||
| import { SprinklersDeviceRepository, UserRepository } from "./repositories/"; | ||||
| 
 | ||||
| export class Database { | ||||
|  | ||||
| @ -1,19 +1,9 @@ | ||||
| { | ||||
|     "extends": "../tsconfig.json", | ||||
|     "compilerOptions": { | ||||
|         "outDir": "../dist", | ||||
|         "sourceMap": true, | ||||
|     "experimentalDecorators": true, | ||||
|         "emitDecoratorMetadata": true, | ||||
|     "target": "es2017", | ||||
|     "module": "commonjs", | ||||
|     "lib": [ | ||||
|       "es6", | ||||
|       "dom" | ||||
|     ], | ||||
|     "types": [ | ||||
|       "webpack-env", | ||||
|       "node" | ||||
|     ], | ||||
|         "strict": true, | ||||
|         "allowJs": true, | ||||
|         "baseUrl": "..", | ||||
|  | ||||
							
								
								
									
										14
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,14 @@ | ||||
| { | ||||
|     "compilerOptions": { | ||||
|         "experimentalDecorators": true, | ||||
|         "target": "es2017", | ||||
|         "module": "commonjs", | ||||
|         "lib": [ | ||||
|             "es2017" | ||||
|         ], | ||||
|         "types": [ | ||||
|             "node" | ||||
|         ], | ||||
|         "strict": true | ||||
|     } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user