From c85742716e440654f4821bd8b1a9dec01b2cc564 Mon Sep 17 00:00:00 2001 From: Dimitri Mitropoulos Date: Tue, 20 Aug 2024 11:00:02 -0400 Subject: [PATCH] use local JSON Schema for turbo repo --- .vscode/settings.json | 8 +++++++- turbo.json | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9831b3ea05226d..72f8e97302afac 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,5 +18,11 @@ "files.insertFinalNewline": false, "files.trimTrailingWhitespace": false }, - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "json.schemas": [ + { + "fileMatch": ["turbo.json"], + "url": "./packages/turbo-types/schemas/schema.json" + } + ] } diff --git a/turbo.json b/turbo.json index e9596dd78886ad..c8249e9b4fcab9 100644 --- a/turbo.json +++ b/turbo.json @@ -1,5 +1,4 @@ { - "$schema": "https://turbo.build/schema.json", "ui": "tui", // The following are used by tools such as pnpm, gh actions to setup pnpm, etc. "globalPassThroughEnv": [