schema.d.ts 976 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * Creates a new generic library project in the current workspace.
  3. */
  4. export interface Schema {
  5. /**
  6. * The path at which to create the library's public API file, relative to the workspace root.
  7. */
  8. entryFile?: string;
  9. /**
  10. * When true, applies lint fixes after generating the library.
  11. */
  12. lintFix?: boolean;
  13. /**
  14. * The name of the library.
  15. */
  16. name?: string;
  17. /**
  18. * A prefix to apply to generated selectors.
  19. */
  20. prefix?: string;
  21. /**
  22. * When true, does not install dependency packages.
  23. */
  24. skipInstall?: boolean;
  25. /**
  26. * When true, does not add dependencies to the "package.json" file.
  27. */
  28. skipPackageJson?: boolean;
  29. /**
  30. * When true, does not update "tsconfig.json" to add a path mapping for the new library. The
  31. * path mapping is needed to use the library in an app, but can be disabled here to simplify
  32. * development.
  33. */
  34. skipTsConfig?: boolean;
  35. }