update.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "$schema": "http://json-schema.org/schema",
  3. "$id": "ng-cli://commands/update.json",
  4. "description": "Updates your application and its dependencies. See https://update.angular.io/",
  5. "$longDescription": "./update-long.md",
  6. "$scope": "all",
  7. "$aliases": [],
  8. "$type": "schematics",
  9. "$impl": "./update-impl#UpdateCommand",
  10. "type": "object",
  11. "allOf": [
  12. {
  13. "$ref": "./definitions.json#/definitions/base"
  14. },
  15. {
  16. "type": "object",
  17. "properties": {
  18. "packages": {
  19. "description": "The names of package(s) to update.",
  20. "type": "array",
  21. "items": {
  22. "type": "string"
  23. },
  24. "$default": {
  25. "$source": "argv"
  26. }
  27. },
  28. "force": {
  29. "description": "If false, will error out if installed packages are incompatible with the update.",
  30. "default": false,
  31. "type": "boolean"
  32. },
  33. "all": {
  34. "description": "Whether to update all packages in package.json.",
  35. "default": false,
  36. "type": "boolean"
  37. },
  38. "next": {
  39. "description": "Use the largest version, including beta and RCs.",
  40. "default": false,
  41. "type": "boolean"
  42. },
  43. "migrateOnly": {
  44. "description": "Only perform a migration, does not update the installed version.",
  45. "type": "boolean"
  46. },
  47. "from": {
  48. "description": "Version from which to migrate from. Only available with a single package being updated, and only on migration only.",
  49. "type": "string"
  50. },
  51. "to": {
  52. "description": "Version up to which to apply migrations. Only available with a single package being updated, and only on migrations only. Requires from to be specified. Default to the installed version detected.",
  53. "type": "string"
  54. },
  55. "allowDirty": {
  56. "description": "Whether to allow updating when the repository contains modified or untracked files.",
  57. "type": "boolean"
  58. },
  59. "verbose": {
  60. "description": "Display additional details about internal operations during execution.",
  61. "type": "boolean",
  62. "default": false
  63. }
  64. }
  65. }
  66. ]
  67. }