From b2501126204f0acc44ca24fc9b308e9328eb2a8d Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Sat, 10 Feb 2024 16:10:05 +0100 Subject: [PATCH] Update version in json schema --- packages/docs/src/content/docs/overview/configuration.md | 2 +- packages/docs/src/content/docs/reference/configuration.md | 4 ++-- packages/knip/schema-jsonc.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/docs/src/content/docs/overview/configuration.md b/packages/docs/src/content/docs/overview/configuration.md index 6f401e4e2..9a458d737 100644 --- a/packages/docs/src/content/docs/overview/configuration.md +++ b/packages/docs/src/content/docs/overview/configuration.md @@ -50,7 +50,7 @@ files in the `scripts` folder: ```json title="knip.json" { - "$schema": "https://unpkg.com/knip@4/schema.json", + "$schema": "https://unpkg.com/knip@5/schema.json", "entry": ["src/index.ts", "scripts/{build,create}.js"], "project": ["src/**/*.ts", "scripts/**/*.js"] } diff --git a/packages/docs/src/content/docs/reference/configuration.md b/packages/docs/src/content/docs/reference/configuration.md index 050fc2054..8179388b2 100644 --- a/packages/docs/src/content/docs/reference/configuration.md +++ b/packages/docs/src/content/docs/reference/configuration.md @@ -17,7 +17,7 @@ In JSON, you can use the provided JSON schema: ```json title="knip.json" { - "$schema": "https://unpkg.com/knip@4/schema.json" + "$schema": "https://unpkg.com/knip@5/schema.json" } ``` @@ -25,7 +25,7 @@ In JSONC, you can use the provided JSONC schema: ```json title="knip.jsonc" { - "$schema": "https://unpkg.com/knip@4/schema-jsonc.json" + "$schema": "https://unpkg.com/knip@5/schema-jsonc.json" } ``` diff --git a/packages/knip/schema-jsonc.json b/packages/knip/schema-jsonc.json index ff808280c..6d34daf1b 100644 --- a/packages/knip/schema-jsonc.json +++ b/packages/knip/schema-jsonc.json @@ -4,7 +4,7 @@ "description": "See https://github.com/webpro/knip", "allOf": [ { - "$ref": "https://unpkg.com/knip@4/schema.json" + "$ref": "https://unpkg.com/knip@5/schema.json" } ], "allowTrailingCommas": true