From b8fdeaf0133a41a0776277415a9dd198c213165b Mon Sep 17 00:00:00 2001 From: Hans Teh <73771314+HansT01@users.noreply.github.com> Date: Mon, 22 Apr 2024 22:19:42 +1000 Subject: [PATCH 1/2] update type to "vinxi/types/client" --- examples/bare/tsconfig.json | 30 ++++++++++---------- examples/basic/tsconfig.json | 30 ++++++++++---------- examples/experiments/tsconfig.json | 30 ++++++++++---------- examples/hackernews/tsconfig.json | 30 ++++++++++---------- examples/notes/tsconfig.json | 30 ++++++++++---------- examples/todomvc/tsconfig.json | 30 ++++++++++---------- examples/with-auth/tsconfig.json | 30 ++++++++++---------- examples/with-mdx/tsconfig.json | 30 ++++++++++---------- examples/with-prisma/tsconfig.json | 30 ++++++++++---------- examples/with-solid-styled/tsconfig.json | 30 ++++++++++---------- examples/with-tailwindcss/tsconfig.json | 30 ++++++++++---------- examples/with-trpc/tsconfig.json | 30 ++++++++++---------- examples/with-unocss/tsconfig.json | 30 ++++++++++---------- examples/with-vitest/tsconfig.json | 30 ++++++++++---------- packages/start/tsconfig.json | 36 ++++++++++++------------ 15 files changed, 228 insertions(+), 228 deletions(-) diff --git a/examples/bare/tsconfig.json b/examples/bare/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/bare/tsconfig.json +++ b/examples/bare/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/basic/tsconfig.json b/examples/basic/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/basic/tsconfig.json +++ b/examples/basic/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/experiments/tsconfig.json b/examples/experiments/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/experiments/tsconfig.json +++ b/examples/experiments/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/hackernews/tsconfig.json b/examples/hackernews/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/hackernews/tsconfig.json +++ b/examples/hackernews/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/notes/tsconfig.json b/examples/notes/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/notes/tsconfig.json +++ b/examples/notes/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/todomvc/tsconfig.json b/examples/todomvc/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/todomvc/tsconfig.json +++ b/examples/todomvc/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-auth/tsconfig.json b/examples/with-auth/tsconfig.json index 17396af14..b7f7bf60b 100644 --- a/examples/with-auth/tsconfig.json +++ b/examples/with-auth/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client", "node"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client", "node"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-mdx/tsconfig.json b/examples/with-mdx/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/with-mdx/tsconfig.json +++ b/examples/with-mdx/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-prisma/tsconfig.json b/examples/with-prisma/tsconfig.json index 17396af14..b7f7bf60b 100644 --- a/examples/with-prisma/tsconfig.json +++ b/examples/with-prisma/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client", "node"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client", "node"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-solid-styled/tsconfig.json b/examples/with-solid-styled/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/with-solid-styled/tsconfig.json +++ b/examples/with-solid-styled/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-tailwindcss/tsconfig.json b/examples/with-tailwindcss/tsconfig.json index 26560bf6a..e8a0f63da 100644 --- a/examples/with-tailwindcss/tsconfig.json +++ b/examples/with-tailwindcss/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "noEmit": true, - "strict": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "noEmit": true, + "strict": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-trpc/tsconfig.json b/examples/with-trpc/tsconfig.json index 2941bfb0e..6cc3631ef 100644 --- a/examples/with-trpc/tsconfig.json +++ b/examples/with-trpc/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-unocss/tsconfig.json b/examples/with-unocss/tsconfig.json index 26560bf6a..e8a0f63da 100644 --- a/examples/with-unocss/tsconfig.json +++ b/examples/with-unocss/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "noEmit": true, - "strict": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "noEmit": true, + "strict": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/examples/with-vitest/tsconfig.json b/examples/with-vitest/tsconfig.json index 47d0ff21d..6f11292cc 100644 --- a/examples/with-vitest/tsconfig.json +++ b/examples/with-vitest/tsconfig.json @@ -1,19 +1,19 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "strict": true, - "noEmit": true, - "types": ["vinxi/client", "vite/client", "vitest/globals", "@testing-library/jest-dom"], - "isolatedModules": true, - "paths": { + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "strict": true, + "noEmit": true, + "types": ["vinxi/types/client", "vitest/globals", "@testing-library/jest-dom"], + "isolatedModules": true, + "paths": { "~/*": ["./src/*"] } - } + } } diff --git a/packages/start/tsconfig.json b/packages/start/tsconfig.json index 8db42025a..74349c107 100644 --- a/packages/start/tsconfig.json +++ b/packages/start/tsconfig.json @@ -1,20 +1,20 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "strict": true, - "noUncheckedIndexedAccess": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "jsx": "preserve", - "jsxImportSource": "solid-js", - "allowJs": true, - "types": ["vinxi/client", "vite/client"], - "isolatedModules": true, - "outDir": "./dist", - "declaration": true, - "skipLibCheck": true - }, - "include": ["./src", "./env.d.ts"], + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "strict": true, + "noUncheckedIndexedAccess": true, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "jsx": "preserve", + "jsxImportSource": "solid-js", + "allowJs": true, + "types": ["vinxi/types/client"], + "isolatedModules": true, + "outDir": "./dist", + "declaration": true, + "skipLibCheck": true + }, + "include": ["./src", "./env.d.ts"] } From 571564cb7389e4d535549c8daa457337d00eaa23 Mon Sep 17 00:00:00 2001 From: Hans Teh <73771314+HansT01@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:22:33 +1000 Subject: [PATCH 2/2] changeset --- .changeset/ten-pears-jump.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/ten-pears-jump.md diff --git a/.changeset/ten-pears-jump.md b/.changeset/ten-pears-jump.md new file mode 100644 index 000000000..65db5021e --- /dev/null +++ b/.changeset/ten-pears-jump.md @@ -0,0 +1,5 @@ +--- +"@solidjs/start": patch +--- + +fix type error for vinxi client in tsconfig