ATL-658: IDE can use any pinned version of CLI.

- Pinned the CLI to the `20201104` nightly.
 - Updated the TS/JS API generator to fall back to forks if configured.
 - Updated the CLI JSON schema.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2020-11-02 16:47:24 +01:00
committed by Akos Kitta
parent c78e474790
commit a96449f557
7 changed files with 208 additions and 56 deletions

View File

@@ -15,6 +15,11 @@ export class ConfigFileValidator {
protected async doValidate(object: object): Promise<boolean> {
const valid = this.function(object);
if (!valid) {
if (Array.isArray(this.function.errors)) {
for (const error of this.function.errors) {
console.log(JSON.stringify(error));
}
}
return false;
}
if (!DefaultCliConfig.is(object)) {