diff --git a/.vscode/settings.json b/.vscode/settings.json index fae8e3d..9519b6f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,4 @@ { - "typescript.tsdk": "node_modules/typescript/lib", - "typescript.enablePromptUseWorkspaceTsdk": true + "js/ts.tsdk.path": "node_modules/typescript/lib", + "js/ts.tsdk.promptToUseWorkspaceVersion": true } diff --git a/README.md b/README.md index a838d84..60ee0b0 100644 --- a/README.md +++ b/README.md @@ -46,12 +46,12 @@ workspace version of TypeScript. In VSCode you can do so by clicking the bottom when on a TypeScript file or adding a file like [this](https://github.com/0no-co/GraphQLSP/blob/main/packages/example/.vscode/settings.json). > If you are using VSCode ensure that your editor is using [the Workspace Version of TypeScript](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript) -> this can be done by manually selecting it or adding a `.vscode/config.json` with the contents of +> this can be done by manually selecting it or adding a `.vscode/settings.json` with the contents of > > ```json > { -> "typescript.tsdk": "node_modules/typescript/lib", -> "typescript.enablePromptUseWorkspaceTsdk": true +> "js/ts.tsdk.path": "node_modules/typescript/lib", +> "js/ts.tsdk.promptToUseWorkspaceVersion": true > } > ``` diff --git a/packages/example-external-generator/.vscode/settings.json b/packages/example-external-generator/.vscode/settings.json index 25fa621..512ff90 100644 --- a/packages/example-external-generator/.vscode/settings.json +++ b/packages/example-external-generator/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/packages/example-tada/.vscode/settings.json b/packages/example-tada/.vscode/settings.json index 25fa621..512ff90 100644 --- a/packages/example-tada/.vscode/settings.json +++ b/packages/example-tada/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/packages/example/.vscode/settings.json b/packages/example/.vscode/settings.json index 25fa621..512ff90 100644 --- a/packages/example/.vscode/settings.json +++ b/packages/example/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/packages/graphqlsp/README.md b/packages/graphqlsp/README.md index ff36fd1..0c69ca3 100644 --- a/packages/graphqlsp/README.md +++ b/packages/graphqlsp/README.md @@ -43,12 +43,12 @@ workspace version of TypeScript. In VSCode you can do so by clicking the bottom when on a TypeScript file or adding a file like [this](https://github.com/0no-co/GraphQLSP/blob/main/packages/example/.vscode/settings.json). > If you are using VSCode ensure that your editor is using [the Workspace Version of TypeScript](https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript) -> this can be done by manually selecting it or adding a `.vscode/config.json` with the contents of +> this can be done by manually selecting it or adding a `.vscode/settings.json` with the contents of > > ```json > { -> "typescript.tsdk": "node_modules/typescript/lib", -> "typescript.enablePromptUseWorkspaceTsdk": true +> "js/ts.tsdk.path": "node_modules/typescript/lib", +> "js/ts.tsdk.promptToUseWorkspaceVersion": true > } > ``` diff --git a/test/e2e/fixture-project-client-preset/.vscode/settings.json b/test/e2e/fixture-project-client-preset/.vscode/settings.json index 25fa621..512ff90 100644 --- a/test/e2e/fixture-project-client-preset/.vscode/settings.json +++ b/test/e2e/fixture-project-client-preset/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/test/e2e/fixture-project-tada-multi-schema/.vscode/settings.json b/test/e2e/fixture-project-tada-multi-schema/.vscode/settings.json index 25fa621..512ff90 100644 --- a/test/e2e/fixture-project-tada-multi-schema/.vscode/settings.json +++ b/test/e2e/fixture-project-tada-multi-schema/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/test/e2e/fixture-project-tada/.vscode/settings.json b/test/e2e/fixture-project-tada/.vscode/settings.json index 25fa621..512ff90 100644 --- a/test/e2e/fixture-project-tada/.vscode/settings.json +++ b/test/e2e/fixture-project-tada/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/test/e2e/fixture-project-unused-fields/.vscode/settings.json b/test/e2e/fixture-project-unused-fields/.vscode/settings.json index 25fa621..512ff90 100644 --- a/test/e2e/fixture-project-unused-fields/.vscode/settings.json +++ b/test/e2e/fixture-project-unused-fields/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" } diff --git a/test/e2e/fixture-project/.vscode/settings.json b/test/e2e/fixture-project/.vscode/settings.json index 25fa621..512ff90 100644 --- a/test/e2e/fixture-project/.vscode/settings.json +++ b/test/e2e/fixture-project/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib" }