Skip to content

Commit

Permalink
feat: support install for source options (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Dec 29, 2023
1 parent 6c09735 commit 45dc079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ async function resolveConfig<
}
const cloned = await downloadTemplate(source, {
dir: cloneDir,
install: sourceOptions.install,
...options.giget,
...sourceOptions.giget,
});
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface SourceOptions<
> {
meta?: MT;
giget?: DownloadTemplateOptions;
install?: boolean;
overrides?: T;
[key: string]: any;
}
Expand Down

0 comments on commit 45dc079

Please sign in to comment.