From c3c2bf9b7e60d052fe7874ea540046ac711de181 Mon Sep 17 00:00:00 2001 From: sushi-chaaaan Date: Sun, 21 Apr 2024 05:23:45 +0900 Subject: [PATCH 1/2] feat: add react, nextjs tsconfig --- packages/tsconfig/nextjs.json | 13 +++++++++++++ packages/tsconfig/react.json | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 packages/tsconfig/nextjs.json create mode 100644 packages/tsconfig/react.json diff --git a/packages/tsconfig/nextjs.json b/packages/tsconfig/nextjs.json new file mode 100644 index 0000000..44f4289 --- /dev/null +++ b/packages/tsconfig/nextjs.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Next.js", + "extends": "./base.json", + "compilerOptions": { + "plugins": [{ "name": "next" }], + "module": "ESNext", + "moduleResolution": "Bundler", + "allowJs": true, + "jsx": "preserve", + "noEmit": true + } +} diff --git a/packages/tsconfig/react.json b/packages/tsconfig/react.json new file mode 100644 index 0000000..c3a1b26 --- /dev/null +++ b/packages/tsconfig/react.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "./base.json", + "compilerOptions": { + "jsx": "react-jsx" + } +} From 6ca258d2100fd2f59991a37b689cfbd9ddea259b Mon Sep 17 00:00:00 2001 From: sushi-chaaaan Date: Sun, 21 Apr 2024 05:25:00 +0900 Subject: [PATCH 2/2] chore: changeset --- .changeset/great-onions-accept.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/great-onions-accept.md diff --git a/.changeset/great-onions-accept.md b/.changeset/great-onions-accept.md new file mode 100644 index 0000000..999a2c2 --- /dev/null +++ b/.changeset/great-onions-accept.md @@ -0,0 +1,5 @@ +--- +"@virtual-live-lab/tsconfig": patch +--- + +Add tsconfig for react and Next.js