node-workflow.d.ts 855 B

12345678910111213141516171819202122232425
  1. /**
  2. * @license
  3. * Copyright Google Inc. 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.io/license
  7. */
  8. import { Path, schema, virtualFs } from '@angular-devkit/core';
  9. import { workflow } from '@angular-devkit/schematics';
  10. import { FileSystemEngine } from '../description';
  11. import { NodeModulesEngineHost } from '../node-module-engine-host';
  12. /**
  13. * A workflow specifically for Node tools.
  14. */
  15. export declare class NodeWorkflow extends workflow.BaseWorkflow {
  16. constructor(host: virtualFs.Host, options: {
  17. force?: boolean;
  18. dryRun?: boolean;
  19. root?: Path;
  20. packageManager?: string;
  21. registry?: schema.CoreSchemaRegistry;
  22. });
  23. readonly engine: FileSystemEngine;
  24. readonly engineHost: NodeModulesEngineHost;
  25. }