install-task.d.ts 981 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.dev/license
  7. */
  8. import { TaskConfiguration, TaskConfigurationGenerator } from '../../src';
  9. import { NodePackageTaskOptions } from './options';
  10. interface NodePackageInstallTaskOptions {
  11. packageManager?: string;
  12. packageName?: string;
  13. workingDirectory?: string;
  14. quiet?: boolean;
  15. hideOutput?: boolean;
  16. allowScripts?: boolean;
  17. }
  18. export declare class NodePackageInstallTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
  19. quiet: boolean;
  20. hideOutput: boolean;
  21. allowScripts: boolean;
  22. workingDirectory?: string;
  23. packageManager?: string;
  24. packageName?: string;
  25. constructor(workingDirectory?: string);
  26. constructor(options: NodePackageInstallTaskOptions);
  27. toConfiguration(): TaskConfiguration<NodePackageTaskOptions>;
  28. }
  29. export {};