From 411221b1f96884c1a3fcab557fff33ce9b72fd5e Mon Sep 17 00:00:00 2001 From: Nicolas DUBIEN Date: Sat, 8 Mar 2025 19:44:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(worker)=20Update=20tsconfig=20to?= =?UTF-8?q?=20common=20config=20(#5810)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** No impact as the main difference between our legacy common configuration (used by worker before that PR) and the one we leverage now is the target being ES2020. This target was already enforced in the worker package. **Checklist** — _Don't delete this checklist and make sure you do the following before opening the PR_ - [x] The name of my PR follows [gitmoji](https://gitmoji.dev/) specification - [x] My PR references one of several related issues (if any) - [x] New features or breaking changes must come with an associated Issue or Discussion - [x] My PR does not add any new dependency without an associated Issue or Discussion - [x] My PR includes bumps details, please run `pnpm run bump` and flag the impacts properly - [x] My PR adds relevant tests and they would have failed without my PR (when applicable) **Advanced** - [x] Category: Build tools - [x] Impacts: No impact --- .changeset/thirty-garlics-press.md | 5 +++++ packages/worker/tsconfig.json | 5 +---- packages/worker/tsconfig.publish.json | 3 +-- packages/worker/tsconfig.publish.types.json | 3 +-- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .changeset/thirty-garlics-press.md diff --git a/.changeset/thirty-garlics-press.md b/.changeset/thirty-garlics-press.md new file mode 100644 index 00000000..ce7c4c7b --- /dev/null +++ b/.changeset/thirty-garlics-press.md @@ -0,0 +1,5 @@ +--- +"@fast-check/worker": patch +--- + +🔧(worker) Update tsconfig to common config diff --git a/packages/worker/tsconfig.json b/packages/worker/tsconfig.json index 29435353..51bf44c3 100644 --- a/packages/worker/tsconfig.json +++ b/packages/worker/tsconfig.json @@ -1,6 +1,3 @@ { - "extends": "../../tsconfig.common.legacy.json", - "compilerOptions": { - "target": "es2020" - } + "extends": "../../tsconfig.common.json" } diff --git a/packages/worker/tsconfig.publish.json b/packages/worker/tsconfig.publish.json index 0fd9cfb2..ed67654f 100644 --- a/packages/worker/tsconfig.publish.json +++ b/packages/worker/tsconfig.publish.json @@ -1,7 +1,6 @@ { - "extends": "../../tsconfig.publish.legacy.json", + "extends": "../../tsconfig.publish.json", "compilerOptions": { - "target": "es2020", "outDir": "lib/" }, "include": ["src/"] diff --git a/packages/worker/tsconfig.publish.types.json b/packages/worker/tsconfig.publish.types.json index 240c928c..e54be824 100644 --- a/packages/worker/tsconfig.publish.types.json +++ b/packages/worker/tsconfig.publish.types.json @@ -1,7 +1,6 @@ { - "extends": "../../tsconfig.publish.types.legacy.json", + "extends": "../../tsconfig.publish.types.json", "compilerOptions": { - "target": "es2020", "outDir": "lib/" }, "include": ["src/"] -- 2.51.2