From 7714b0ac5d5d28971655223bddcb6bb69ec4aef7 Mon Sep 17 00:00:00 2001 From: Ross Phillips <12723297+rphillips-cc@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:23:11 +1300 Subject: [PATCH] fix: corrected schema URL --- package.json | 2 +- src/configuration.d.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9fba45e..268b01b 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "scripts": { "prebuild": "rimraf dist && mkdir -p dist", - "build": "ts-json-schema-generator --no-top-ref --markdown-description --path src/index.d.ts --type Configuration --out dist/cloudcannon-config.schema.json --id 'https://schema.cloudcannon.com/cloudcannon-config.schema.json'", + "build": "ts-json-schema-generator --no-top-ref --markdown-description --path src/index.d.ts --type Configuration --out dist/cloudcannon-config.schema.json --id 'https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-config.schema.json'", "lint": "npm run lint:tsc && npm run lint:format", "lint:tsc": "tsc --noEmit", "lint:format": "prettier -c src", diff --git a/src/configuration.d.ts b/src/configuration.d.ts index 2b85263..3ca7749 100644 --- a/src/configuration.d.ts +++ b/src/configuration.d.ts @@ -1598,6 +1598,9 @@ export type SsgKey = | 'legacy' | 'other'; +/** + * The base format for the configuration file. + */ export interface Configuration extends Cascade, WithSnippets, WithPaths { /** * Base path to your site source files, relative to the root folder.