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 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"] }