Skip to content

Commit

Permalink
update tsconfigs to read them from some shared configs
Browse files Browse the repository at this point in the history
  • Loading branch information
yeager-eren committed May 27, 2023
1 parent c844f28 commit 419868f
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"esbuild": "^0.17.19",
"execa": "^7.1.1",
"npm-run-all": "^4.1.5",
"nx": "15.9.2",
"os-browserify": "^0.3.0",
"nx": "^16.2.1",
"prettier": "^2.7.1",
"punycode": "^1.4.1",
"querystring-es3": "^0.2.1",
Expand Down
13 changes: 13 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
{
"compilerOptions": {
"module": "esnext",
// use Node's module resolution algorithm, instead of the legacy TS one
"moduleResolution": "node",
// stricter type-checking for stronger correctness. Recommended by TS
"strict": true,
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
"skipLibCheck": true,
// error out if import and file system have a casing mismatch. Recommended by TS
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
// output .js.map sourcemap files for consumers
"sourceMap": true,
// linter checks for common issues
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
// noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative
"noUnusedLocals": true,
"noUnusedParameters": true,

// ESBuild
"isolatedModules": true,
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"emitDeclarationOnly": true,
// output .d.ts declaration files for consumers
"declaration": true,
// stricter type-checking for stronger correctness. Recommended by TS
"strict": true
"declarationMap": true
}
}
102 changes: 102 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3392,6 +3392,13 @@
dependencies:
nx "15.9.2"

"@nrwl/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-16.2.1.tgz#08bb3dae81e958777268747c385c32a608452c3e"
integrity sha512-mhLkMxGFbnR4hu9UbjMvzdePDXmUpV33mImt1myewP/cY9YZdzv5ntqT+9U+zzVg7Q2ZGosiGQE+IYRm6yeWog==
dependencies:
nx "16.2.1"

"@nrwl/workspace@^15.9.2":
version "15.9.2"
resolved "https://registry.yarnpkg.com/@nrwl/workspace/-/workspace-15.9.2.tgz#258ccbc2e42d4d1cade4652d72c4f7b2a7821f5e"
Expand All @@ -3418,6 +3425,51 @@
yargs "^17.6.2"
yargs-parser "21.1.1"

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.2.1.tgz#8a144a6fd38a2a7179c583c1fc344b2a0de27996"
integrity sha512-xK/dL5T2R8zrcD8/13PeaYH/LBcYeaELIZkXGdGbtQ8WeFHjPJLBfuWo/7Se7KSWIXLIJEeYrVZwyxuei1dOTA==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-16.2.1.tgz#f878b9257bb5ed939c5095b72f1f37fe01bab950"
integrity sha512-J1ZBqy8FtIhvZopcc96JWZY2InZClQ+XHWHnAmX8S1f79hcLUiatpu90FZhvfXmfOfLlpkKsa8aje/kjpnnWhA==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.2.1.tgz#a0f7d2c1f90d78bf30c7beae7c5481a71fb2652a"
integrity sha512-rnujPmWlnkEvzkWARuW85cizVx6uGwQ/gA84tK3cHZQf9ly172WbDtsMtYRS9/CjvysMqDV0zBd7o/YhwpXNZg==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.2.1.tgz#30dead7a96437c7cbb041a45e1c0e7292fb2151a"
integrity sha512-ZcuQN8eaxEI+93ut6UrDrZMPsk61LGlS6yaWPgrv3blKMfcU2+DYBDQ3ois7o5t0bnVad5QYSNhIvnMF2iU+hQ==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.2.1.tgz#31219ecf98f9fe78b5fc06c9e0102d99e335bc5b"
integrity sha512-mMOvkYyBLU4j+mSHobtrj/pIDYXFGIX3Q9FMWxZ5Xz15m0DsbypZ/8v6NWpJaBY4VX6rJhCc+D/pZH+QBT8+/g==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.2.1.tgz#fb89cbbdf852e27093e0296ff7414ccccdf3591a"
integrity sha512-Kyn4dxFTj2PCRv+39tKU8BzDRE6/ru5v435uvodx03GS650F7+OMr4DN57jG4MQWhf//OUX8zPkvbKhsmxjndA==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.2.1.tgz#82b1b5ba04ef6e4d49527841239bf9e0fb1456e3"
integrity sha512-q8iFxLosSLiWkRWsbrioXV/qMG8TgsbqcM0VGz2FFLNMJ9DXvav/E/+8YbgEeHOjvA1MDeRaspIpDF7OMgJYGw==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.2.1.tgz#8a19a0c2db565f6d07a2d0b4a8b8fc6c8c86fadd"
integrity sha512-PpGiYzrMivDY1i10Zwf5Hmnv6oAQ8ACf6ehDgyQ3tByMMXHgyUZJLykfPaoWjoLh0s8wOvMV74WZO+K1LcIxTA==

"@nx/[email protected]":
version "16.2.1"
resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.2.1.tgz#848b4c5b118f6a6f92f59c1643297e938c439242"
integrity sha512-m5oHCaSKdyydM1n1W9V0m2oxBL8PiF54dZB0+PlKB2fhf1zxiyq8i1hL2hXbKA90IOYcUt5/b7761/BzN5njAw==

"@parcel/[email protected]":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@parcel/bundler-default/-/bundler-default-2.8.3.tgz#d64739dbc2dbd59d6629861bf77a8083aced5229"
Expand Down Expand Up @@ -15423,6 +15475,56 @@ [email protected]:
"@nrwl/nx-win32-arm64-msvc" "15.9.2"
"@nrwl/nx-win32-x64-msvc" "15.9.2"

[email protected], nx@^16.2.1:
version "16.2.1"
resolved "https://registry.yarnpkg.com/nx/-/nx-16.2.1.tgz#8571a4663c79dc9d60c98599b19146b58c59b473"
integrity sha512-O+yGcYIQtYKYagbIuOQFk1P8ki5PHn0BZjdZpsa4K8UZ4pCaRWzlwWwwUL91FUJe6tdhic5710DwAAakbGKP7Q==
dependencies:
"@nrwl/tao" "16.2.1"
"@parcel/watcher" "2.0.4"
"@yarnpkg/lockfile" "^1.1.0"
"@yarnpkg/parsers" "^3.0.0-rc.18"
"@zkochan/js-yaml" "0.0.6"
axios "^1.0.0"
chalk "^4.1.0"
cli-cursor "3.1.0"
cli-spinners "2.6.1"
cliui "^7.0.2"
dotenv "~10.0.0"
enquirer "~2.3.6"
fast-glob "3.2.7"
figures "3.2.0"
flat "^5.0.2"
fs-extra "^11.1.0"
glob "7.1.4"
ignore "^5.0.4"
js-yaml "4.1.0"
jsonc-parser "3.2.0"
lines-and-columns "~2.0.3"
minimatch "3.0.5"
npm-run-path "^4.0.1"
open "^8.4.0"
semver "7.3.4"
string-width "^4.2.3"
strong-log-transformer "^2.1.0"
tar-stream "~2.2.0"
tmp "~0.2.1"
tsconfig-paths "^4.1.2"
tslib "^2.3.0"
v8-compile-cache "2.3.0"
yargs "^17.6.2"
yargs-parser "21.1.1"
optionalDependencies:
"@nx/nx-darwin-arm64" "16.2.1"
"@nx/nx-darwin-x64" "16.2.1"
"@nx/nx-linux-arm-gnueabihf" "16.2.1"
"@nx/nx-linux-arm64-gnu" "16.2.1"
"@nx/nx-linux-arm64-musl" "16.2.1"
"@nx/nx-linux-x64-gnu" "16.2.1"
"@nx/nx-linux-x64-musl" "16.2.1"
"@nx/nx-win32-arm64-msvc" "16.2.1"
"@nx/nx-win32-x64-msvc" "16.2.1"

oauth-sign@~0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
Expand Down

0 comments on commit 419868f

Please sign in to comment.