From dfd7e85d5de70f642ca3cbef7a1a1535fd108362 Mon Sep 17 00:00:00 2001 From: Terra Date: Tue, 11 Nov 2025 22:43:25 +0900 Subject: [PATCH] Replace deprecated json.schemastore.org with www.schemastore.org (#42336) Release Notes: - N/A According to [microsoft/vscode#254689](https://github.com/microsoft/vscode/issues/254689), the json.schemastore.org domain has been deprecated and should now use www.schemastore.org (or schemastore.org) instead. This PR updates all occurrences of the old domain within the Zed codebase, including code, documentation, and configuration files. --- .github/ISSUE_TEMPLATE/config.yml | 2 +- crates/json_schema_store/src/schemas/package.json | 14 +++++++------- crates/json_schema_store/src/schemas/tsconfig.json | 2 +- docs/src/languages/deno.md | 2 +- docs/src/languages/yaml.md | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3d0b2ce0af79944c9c86dba6187b0fd7d91c5b8c..8602daf90ddd0fe49d9db27c39f3d52d6e7da032 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json +# yaml-language-server: $schema=https://www.schemastore.org/github-issue-config.json blank_issues_enabled: false contact_links: - name: Feature Request diff --git a/crates/json_schema_store/src/schemas/package.json b/crates/json_schema_store/src/schemas/package.json index a24583fa8848891d661114291951d4df28f463fd..0906dcf36e30dcc9bdb64153a963368d3647a6d9 100644 --- a/crates/json_schema_store/src/schemas/package.json +++ b/crates/json_schema_store/src/schemas/package.json @@ -1030,22 +1030,22 @@ "$ref": "#" }, "eslintConfig": { - "$ref": "https://json.schemastore.org/eslintrc.json" + "$ref": "https://www.schemastore.org/eslintrc.json" }, "prettier": { - "$ref": "https://json.schemastore.org/prettierrc.json" + "$ref": "https://www.schemastore.org/prettierrc.json" }, "stylelint": { - "$ref": "https://json.schemastore.org/stylelintrc.json" + "$ref": "https://www.schemastore.org/stylelintrc.json" }, "ava": { - "$ref": "https://json.schemastore.org/ava.json" + "$ref": "https://www.schemastore.org/ava.json" }, "release": { - "$ref": "https://json.schemastore.org/semantic-release.json" + "$ref": "https://www.schemastore.org/semantic-release.json" }, "jscpd": { - "$ref": "https://json.schemastore.org/jscpd.json" + "$ref": "https://www.schemastore.org/jscpd.json" }, "pnpm": { "description": "Defines pnpm specific configuration.", @@ -1305,5 +1305,5 @@ ] } ], - "$id": "https://json.schemastore.org/package.json" + "$id": "https://www.schemastore.org/package.json" } diff --git a/crates/json_schema_store/src/schemas/tsconfig.json b/crates/json_schema_store/src/schemas/tsconfig.json index 4b9088725401e27dfc24c14d7c58acfae4355631..9484c027df59c2efe0d2c4024046fb6a839e78a9 100644 --- a/crates/json_schema_store/src/schemas/tsconfig.json +++ b/crates/json_schema_store/src/schemas/tsconfig.json @@ -1466,7 +1466,7 @@ } } }, - "id": "https://json.schemastore.org/tsconfig", + "id": "https://www.schemastore.org/tsconfig", "title": "JSON schema for the TypeScript compiler's configuration file", "type": "object" } diff --git a/docs/src/languages/deno.md b/docs/src/languages/deno.md index a4192257765d6aa131232ff8a80a3af452a38d57..0fa645291e4c4788ae126bc3ccb0120f26a78cb0 100644 --- a/docs/src/languages/deno.md +++ b/docs/src/languages/deno.md @@ -78,7 +78,7 @@ To get completions for `deno.json` or `package.json` you can add the following t "fileMatch": [ "package.json" ], - "url": "http://json.schemastore.org/package" + "url": "https://www.schemastore.org/package" } ] } diff --git a/docs/src/languages/yaml.md b/docs/src/languages/yaml.md index 477d197d11fa4f0ad0e62ee25e416eee7c35ee67..33b92df94ec59f6f4cdf9a0afe83c3ad74dc3bda 100644 --- a/docs/src/languages/yaml.md +++ b/docs/src/languages/yaml.md @@ -19,7 +19,7 @@ You can configure various [yaml-language-server settings](https://github.com/red "singleQuote": true }, "schemas": { - "http://json.schemastore.org/composer": ["/*"], + "https://getcomposer.org/schema.json": ["/*"], "../relative/path/schema.json": ["/config*.yaml"] } } @@ -70,7 +70,7 @@ By default yaml-language-server will attempt to determine the correct schema for You can override any auto-detected schema via the `schemas` settings key (demonstrated above) or by providing an [inlined schema](https://github.com/redhat-developer/yaml-language-server#using-inlined-schema) reference via a modeline comment at the top of your yaml file: ```yaml -# yaml-language-server: $schema=https://json.schemastore.org/github-action.json +# yaml-language-server: $schema=https://www.schemastore.org/github-action.json name: Issue Assignment on: issues: