From f2fd2b6b919ddb3448c1fd8acac9e81a0c7b175e Mon Sep 17 00:00:00 2001 From: orta Date: Tue, 27 Jun 2023 18:19:41 +0100 Subject: [PATCH] Major semver to all of them --- README.md | 4 ++++ bases/create-react-app.json | 2 +- bases/docusaurus.json | 1 + bases/next.json | 3 ++- bases/node-lts.json | 2 +- bases/node18.json | 2 +- bases/nuxt.json | 3 ++- bases/remix.json | 2 ++ 8 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 95c1cf9..306b714 100644 --- a/README.md +++ b/README.md @@ -355,6 +355,10 @@ to start from a Node 18 + Strictest base config, you can install both You can see the result of the combined configs via `tsc --showConfig`. +### What about `@tsconfig/esm`? + +We deprecated it in favour of setting [module/moduleResolution](https://github.com/tsconfig/bases/pull/197) to node/bundler. + ### Contributing ```sh diff --git a/bases/create-react-app.json b/bases/create-react-app.json index 073d0fd..fb5b166 100644 --- a/bases/create-react-app.json +++ b/bases/create-react-app.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Create React App", - + "_version": "2.0.0", "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], diff --git a/bases/docusaurus.json b/bases/docusaurus.json index c4fb27a..f130384 100644 --- a/bases/docusaurus.json +++ b/bases/docusaurus.json @@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "display": "Docusaurus v2", "docs": "https://v2.docusaurus.io/docs/typescript-support", + "_version": "2.0.0", "compilerOptions": { "allowJs": true, diff --git a/bases/next.json b/bases/next.json index 303efe1..2baab07 100644 --- a/bases/next.json +++ b/bases/next.json @@ -1,8 +1,9 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Next.js", + "_version": "2.0.0", + "compilerOptions": { - "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, diff --git a/bases/node-lts.json b/bases/node-lts.json index f8ed894..7c3d0ef 100644 --- a/bases/node-lts.json +++ b/bases/node-lts.json @@ -3,7 +3,7 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Node LTS", - "_version": "2.0.0", + "_version": "18.1.0", "compilerOptions": { "lib": [ "es2023" diff --git a/bases/node18.json b/bases/node18.json index 6c784d8..9589794 100644 --- a/bases/node18.json +++ b/bases/node18.json @@ -2,7 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "display": "Node 18", - "_version": "18.1.0", + "_version": "18.2.0", "compilerOptions": { "lib": ["es2023"], diff --git a/bases/nuxt.json b/bases/nuxt.json index c15006b..bb6ff56 100644 --- a/bases/nuxt.json +++ b/bases/nuxt.json @@ -1,7 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Nuxt", - + "_version": "2.0.0", + "compilerOptions": { "target": "ES2018", "module": "ESNext", diff --git a/bases/remix.json b/bases/remix.json index caaa64c..270e2fe 100644 --- a/bases/remix.json +++ b/bases/remix.json @@ -1,6 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "Remix", + "_version": "2.0.0", + "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2019"], "isolatedModules": true,