Skip to content

Commit

Permalink
Merge pull request #3 from CloudCannon/ssgkey
Browse files Browse the repository at this point in the history
Narrow the supported SSGs
  • Loading branch information
rphillips-cc authored Jun 25, 2024
2 parents 236e139 + 391cf89 commit 4f58075
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1410,8 +1410,26 @@ export interface CommitTemplate {
extra_data?: Record<string, string>;
}

export type SsgKey =
| 'hugo'
| 'jekyll'
| 'eleventy'
| 'astro'
| 'lume'
| 'mkdocs'
| 'nextjs'
| 'sveltekit'
| 'bridgetown'
| 'docusaurus'
| 'gatsby'
| 'hexo'
| 'nuxtjs'
| 'sphinx'
| 'static'
| 'unknown';

export interface DefaultConfiguration extends Cascade, WithSnippets {
ssg?: string;
ssg?: SsgKey;
/**
* Base path to your site source files, relative to the root folder.
*/
Expand Down

0 comments on commit 4f58075

Please sign in to comment.