mirror of https://github.com/microsoft/vscode.git
Merge pull request #254690 from madskristensen/schemastore-subdomain-fix
Updated references to schemastore.org
This commit is contained in:
commit
6dd2b84fa2
|
@ -83,7 +83,7 @@
|
|||
"fileMatch": [
|
||||
"cgmanifest.json"
|
||||
],
|
||||
"url": "https://json.schemastore.org/component-detection-manifest.json",
|
||||
"url": "https://www.schemastore.org/component-detection-manifest.json",
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
|
|
|
@ -158,7 +158,7 @@ async function getSchemaRequestService(context: ExtensionContext, log: LogOutput
|
|||
|
||||
return {
|
||||
getContent: async (uri: string) => {
|
||||
if (cache && /^https?:\/\/json\.schemastore\.org\//.test(uri)) {
|
||||
if (cache && /^https?:\/\/(json|www)\.schemastore\.org\//.test(uri)) {
|
||||
const content = await cache.getSchemaIfUpdatedSince(uri, retryTimeoutInHours);
|
||||
if (content) {
|
||||
if (log.logLevel === LogLevel.Trace) {
|
||||
|
|
|
@ -90,7 +90,7 @@ The server supports the following settings:
|
|||
"foo.json",
|
||||
"*.superfoo.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/foo",
|
||||
"url": "http://www.schemastore.org/foo",
|
||||
"schema": {
|
||||
"type": "array"
|
||||
}
|
||||
|
|
|
@ -336,11 +336,11 @@
|
|||
"jsonValidation": [
|
||||
{
|
||||
"fileMatch": "package.json",
|
||||
"url": "https://json.schemastore.org/package"
|
||||
"url": "https://www.schemastore.org/package"
|
||||
},
|
||||
{
|
||||
"fileMatch": "bower.json",
|
||||
"url": "https://json.schemastore.org/bower"
|
||||
"url": "https://www.schemastore.org/bower"
|
||||
}
|
||||
],
|
||||
"taskDefinitions": [
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.json",
|
||||
"url": "https://json.schemastore.org/tsconfig"
|
||||
"url": "https://www.schemastore.org/tsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.json",
|
||||
|
@ -89,7 +89,7 @@
|
|||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.*.json",
|
||||
"url": "https://json.schemastore.org/tsconfig"
|
||||
"url": "https://www.schemastore.org/tsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig-*.json",
|
||||
|
@ -97,7 +97,7 @@
|
|||
},
|
||||
{
|
||||
"fileMatch": "tsconfig-*.json",
|
||||
"url": "https://json.schemastore.org/tsconfig"
|
||||
"url": "https://www.schemastore.org/tsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.*.json",
|
||||
|
@ -105,27 +105,27 @@
|
|||
},
|
||||
{
|
||||
"fileMatch": "typings.json",
|
||||
"url": "https://json.schemastore.org/typings"
|
||||
"url": "https://www.schemastore.org/typings"
|
||||
},
|
||||
{
|
||||
"fileMatch": ".bowerrc",
|
||||
"url": "https://json.schemastore.org/bowerrc"
|
||||
"url": "https://www.schemastore.org/bowerrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": ".babelrc",
|
||||
"url": "https://json.schemastore.org/babelrc"
|
||||
"url": "https://www.schemastore.org/babelrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": ".babelrc.json",
|
||||
"url": "https://json.schemastore.org/babelrc"
|
||||
"url": "https://www.schemastore.org/babelrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": "babel.config.json",
|
||||
"url": "https://json.schemastore.org/babelrc"
|
||||
"url": "https://www.schemastore.org/babelrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": "jsconfig.json",
|
||||
"url": "https://json.schemastore.org/jsconfig"
|
||||
"url": "https://www.schemastore.org/jsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "jsconfig.json",
|
||||
|
@ -133,7 +133,7 @@
|
|||
},
|
||||
{
|
||||
"fileMatch": "jsconfig.*.json",
|
||||
"url": "https://json.schemastore.org/jsconfig"
|
||||
"url": "https://www.schemastore.org/jsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "jsconfig.*.json",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/mocharc",
|
||||
"$schema": "https://www.schemastore.org/mocharc",
|
||||
"ui": "tdd",
|
||||
"timeout": 10000
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/mocharc",
|
||||
"$schema": "https://www.schemastore.org/mocharc",
|
||||
"ui": "bdd",
|
||||
"timeout": 10000
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue