update.d.ts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. * Updates your application and its dependencies. See https://update.angular.io/
  3. */
  4. export interface Schema {
  5. /**
  6. * Whether to update all packages in package.json.
  7. */
  8. all?: boolean;
  9. /**
  10. * Whether to allow updating when the repository contains modified or untracked files.
  11. */
  12. allowDirty?: boolean;
  13. /**
  14. * If false, will error out if installed packages are incompatible with the update.
  15. */
  16. force?: boolean;
  17. /**
  18. * Version from which to migrate from. Only available with a single package being updated,
  19. * and only on migration only.
  20. */
  21. from?: string;
  22. /**
  23. * Shows a help message for this command in the console.
  24. */
  25. help?: HelpUnion;
  26. /**
  27. * Only perform a migration, does not update the installed version.
  28. */
  29. migrateOnly?: boolean;
  30. /**
  31. * Use the largest version, including beta and RCs.
  32. */
  33. next?: boolean;
  34. /**
  35. * The names of package(s) to update.
  36. */
  37. packages?: string[];
  38. /**
  39. * Version up to which to apply migrations. Only available with a single package being
  40. * updated, and only on migrations only. Requires from to be specified. Default to the
  41. * installed version detected.
  42. */
  43. to?: string;
  44. /**
  45. * Display additional details about internal operations during execution.
  46. */
  47. verbose?: boolean;
  48. }
  49. /**
  50. * Shows a help message for this command in the console.
  51. */
  52. export declare type HelpUnion = boolean | HelpEnum;
  53. export declare enum HelpEnum {
  54. HelpJson = "JSON",
  55. Json = "json"
  56. }