Skip to content

Commit

Permalink
Update version in json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Feb 10, 2024
1 parent a1bf07a commit b250112
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/content/docs/overview/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/content/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ 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"
}
```

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

Expand Down
2 changes: 1 addition & 1 deletion packages/knip/schema-jsonc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b250112

Please sign in to comment.