diff --git a/.gitignore b/.gitignore index e35f65bc..9f2c3c09 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ public/images-custom/* temp/wmf/ temp/config.* temp/*.csv + +types/*.js \ No newline at end of file diff --git a/public-typescript/tsconfig.json b/public-typescript/tsconfig.json deleted file mode 100644 index 2814a8fd..00000000 --- a/public-typescript/tsconfig.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "compilerOptions": { - "target": "ES6", - "module": "CommonJS", - "moduleResolution": "Node", - "isolatedModules": false, - "declaration": true, - "noImplicitAny": false, - "removeComments": true, - "allowUnreachableCode": false - }, - "compileOnSave": true, - "buildOnSave": true, - "atom": { - "rewriteTsconfig": false, - "formatOnSave": true - }, - "formatCodeOptions": { - "indentSize": 2, - "tabSize": 2, - "insertSpaceAfterCommaDelimiter": true, - "insertSpaceAfterSemicolonInForStatements": true, - "insertSpaceBeforeAndAfterBinaryOperators": true, - "insertSpaceAfterKeywordsInControlFlowStatements": true, - "insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, - "placeOpenBraceOnNewLineForFunctions": false, - "placeOpenBraceOnNewLineForControlBlocks": false - } -} diff --git a/tsconfig.client.json b/tsconfig.client.json new file mode 100644 index 00000000..34d0bf59 --- /dev/null +++ b/tsconfig.client.json @@ -0,0 +1,37 @@ +{ + "compilerOptions": { + "target": "ES6", + "module": "CommonJS", + "moduleResolution": "Node", + "isolatedModules": false, + "declaration": true, + "noImplicitAny": false, + "removeComments": true, + "allowUnreachableCode": false + }, + "files": [ + "public-typescript/adminCleanup.ts", + "public-typescript/adminFees.ts", + "public-typescript/adminLotTypes.ts", + "public-typescript/adminOccupancyTypes.ts", + "public-typescript/adminTables.ts", + "public-typescript/dashboard.ts", + "public-typescript/lotEdit.ts", + "public-typescript/lotOccupancyEdit.ts", + "public-typescript/lotOccupancySearch.ts", + "public-typescript/lotSearch.ts", + "public-typescript/lotView.ts", + "public-typescript/main.ts", + "public-typescript/mapEdit.ts", + "public-typescript/mapSearch.ts", + "public-typescript/mapView.ts", + "public-typescript/reportSearch.ts", + "public-typescript/workOrderEdit.ts", + "public-typescript/workOrderMilestoneCalendar.ts", + "public-typescript/workOrderOutlook.ts", + "public-typescript/workOrderSearch.ts", + "public-typescript/workOrderView.ts" + ], + "compileOnSave": true, + "buildOnSave": true +} diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 5d3ba08e..00000000 --- a/tsconfig.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "compilerOptions": { - "target": "es2017", - "module": "es2022", - "moduleResolution": "Node", - "isolatedModules": false, - "declaration": true, - "noImplicitAny": false, - "removeComments": true, - "allowUnreachableCode": false, - "allowSyntheticDefaultImports": true, - "resolveJsonModule": true, - "esModuleInterop": true, - "skipLibCheck": true - }, - "compileOnSave": true, - "buildOnSave": true, - "atom": { - "rewriteTsconfig": false, - "formatOnSave": true - }, - "formatCodeOptions": { - "indentSize": 2, - "tabSize": 2, - "insertSpaceAfterCommaDelimiter": true, - "insertSpaceAfterSemicolonInForStatements": true, - "insertSpaceBeforeAndAfterBinaryOperators": true, - "insertSpaceAfterKeywordsInControlFlowStatements": true, - "insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, - "placeOpenBraceOnNewLineForFunctions": false, - "placeOpenBraceOnNewLineForControlBlocks": false - }, - "exclude": [ - "node_modules/*", - "public-typescript/*" - ] -} diff --git a/tsconfig.server.json b/tsconfig.server.json new file mode 100644 index 00000000..df89d8f9 --- /dev/null +++ b/tsconfig.server.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es2017", + "module": "es2022", + "moduleResolution": "Node", + "isolatedModules": false, + "declaration": true, + "noImplicitAny": false, + "removeComments": true, + "allowUnreachableCode": false, + "allowSyntheticDefaultImports": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "skipLibCheck": true + }, + "compileOnSave": true, + "buildOnSave": true, + "exclude": ["node_modules/*", "public-typescript/*"] +}