velociraptor icon indicating copy to clipboard operation
velociraptor copied to clipboard

Extend the script configuration schema

Open umbopepato opened this issue 3 years ago • 0 comments

Add the install and dependencies top-level sections:

interface InstallOptions extends Omit<DenoCliOptions, 'watch'> {
  entry: string;
  name?: string;
  location?: string;
  prompt?: boolean;
  seed?: number;
}

export interface ScriptsConfiguration extends ScriptOptions {
  scripts: Scripts;
  install: InstallOptions;
  dependencies: Record<string, string | InstallOptions>;
}

umbopepato avatar Nov 03 '21 11:11 umbopepato