From d3e80187276c1e32e486f90a38c594838ab9b5e1 Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Wed, 20 Mar 2024 08:31:45 +0100 Subject: [PATCH] Sync tsconfig with base comunica --- package.json | 2 +- tsconfig.json | 31 ++++++++++++++++--------------- yarn.lock | 7 ++++++- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 666a209..1a84e12 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "streamify-string": "^1.0.1", "ts-jest": "^29.0.0", "typedoc": "^0.25.1", - "typescript": "^5.2.2", + "typescript": "^5.3.3", "webpack": "^5.64.4", "webpack-cli": "^5.0.0" }, diff --git a/tsconfig.json b/tsconfig.json index 3853d02..5d47d55 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,33 +1,34 @@ { "compileOnSave": true, "compilerOptions": { - "module": "commonjs", + "target": "es2021", "lib": [ - "es2020", "es2021", "dom" ], - "target": "es2020", - "removeComments": false, - "preserveConstEnums": true, - "sourceMap": true, - "inlineSources": true, - "declaration": true, - "resolveJsonModule": true, - "downlevelIteration": true, + "module": "commonjs", "esModuleInterop": true, + "resolveJsonModule": true, + "strict": true, - "strictFunctionTypes": false, - "strictPropertyInitialization": false + "strictFunctionTypes": true, + "strictPropertyInitialization": false, + "noImplicitOverride": true, + "declaration": true, + "downlevelIteration": true, + "inlineSources": true, + "preserveConstEnums": true, + "removeComments": false, + "sourceMap": true }, "include": [ "engines/*/bin/**/*", "engines/*/lib/**/*", "packages/*/bin/**/*", - "packages/*/lib/**/*" + "packages/*/lib/**/*", + "packages/*/benchmarks/**/*" ], "exclude": [ - "**/node_modules", - "**/test/*" + "**/node_modules" ] } diff --git a/yarn.lock b/yarn.lock index fb81460..ccee687 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11058,11 +11058,16 @@ typedoc@^0.25.1: minimatch "^9.0.3" shiki "^0.14.1" -"typescript@>=3 < 6", typescript@^5.2.2: +"typescript@>=3 < 6": version "5.2.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== +typescript@^5.3.3: + version "5.4.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372" + integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ== + uglify-js@^3.1.4: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"