Skip to content

Commit

Permalink
Merge pull request #22 from CloudCannon/fix/output-url
Browse files Browse the repository at this point in the history
fix: corrected schema URL
  • Loading branch information
bglw authored Nov 21, 2024
2 parents 05e4eaa + 7714b0a commit 7dae9f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions src/configuration.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7dae9f4

Please sign in to comment.