Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate tsconfig files #2136

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
"lint-quiet": "npx eslint --quiet src",
"build": "npm run build-all",
"build-all": "tsc -p ./tsconfig.json",
"build-login-2015": "tsc -p ./tsconfigs/tsconfig-2015-login.json",
"build-login-2016": "tsc -p ./tsconfigs/tsconfig-2016-login.json",
"build-zone-2015": "tsc -p ./tsconfigs/tsconfig-2015-zone.json",
"build-zone-2016": "tsc -p ./tsconfigs/tsconfig-2016-zone.json",
"build-tests": "npx tsc -p tsconfigs/tsconfig-tests.json",
"build-benchs": "npx tsc -p ./benchmarks/tsconfig.json",
"build-login-2015": "tsc -p ./tsconfig.json",
"build-login-2016": "tsc -p ./tsconfig.json",
"build-zone-2015": "tsc -p ./tsconfig.json",
"build-zone-2016": "tsc -p ./tsconfig.json",
"build-tests": "npx tsc -p ./tsconfig.json",
"build-benchs": "npx tsc -p ./tsconfig.json",
"build-docker-images": "npx ts-node ./docker/buildDocker.ts",
"test-mongo": "npm run build && npm run build-tests && MONGO_TESTS='true' node --test",
"test": "npm run build && npm run build-tests && node --test",
Expand Down
31 changes: 20 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
{
"compilerOptions": {
"target": "ES2023" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "Node16" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"target": "ES2023",
"module": "Node16",
"moduleResolution": "Node16",
"allowJs": true /* Allow javascript files to be compiled. */,
"declaration": true /* Generates corresponding '.d.ts' file. */,
"outDir": "./out/" /* Redirect output structure to the directory. */,
"strict": true /* Enable all strict type-checking options. */,
"allowJs": true,
"declaration": true,
"outDir": "./out/",
"strict": true,
"sourceMap": true,
"baseUrl": "./src" /* Base directory to resolve non-absolute module names. */,
"baseUrl": "./src",
"paths": {
"@h1z1-server/*": ["../*"]
},
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"experimentalDecorators": true,
"types": ["node"]
},
"include": ["src/"]
"include": ["src/", "tests/"],
"exclude": [
"node_modules/",
"out/",
"tests_out/",
"benchmarks_out/",
"bin/*.exe",
".vs/",
"config.yaml"
]
}
15 changes: 0 additions & 15 deletions tsconfigs/tsconfig-2015-login.json

This file was deleted.

10 changes: 0 additions & 10 deletions tsconfigs/tsconfig-2015-zone.json

This file was deleted.

9 changes: 0 additions & 9 deletions tsconfigs/tsconfig-2015.json

This file was deleted.

15 changes: 0 additions & 15 deletions tsconfigs/tsconfig-2016-login.json

This file was deleted.

10 changes: 0 additions & 10 deletions tsconfigs/tsconfig-2016-zone.json

This file was deleted.

8 changes: 0 additions & 8 deletions tsconfigs/tsconfig-2016.json

This file was deleted.

16 changes: 0 additions & 16 deletions tsconfigs/tsconfig-tests.json

This file was deleted.

Loading