@trayio/cdk-cli 4.20.0 → 4.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,7 +19,7 @@ $ npm install -g @trayio/cdk-cli
19
19
  $ tray-cdk COMMAND
20
20
  running command...
21
21
  $ tray-cdk (--version|-v)
22
- @trayio/cdk-cli/4.20.0 linux-x64 node-v18.20.3
22
+ @trayio/cdk-cli/4.21.0 linux-x64 node-v18.20.3
23
23
  $ tray-cdk --help [COMMAND]
24
24
  USAGE
25
25
  $ tray-cdk COMMAND
@@ -52,6 +52,7 @@ USAGE
52
52
  * [`tray-cdk plugins uninstall [PLUGIN]`](#tray-cdk-plugins-uninstall-plugin)
53
53
  * [`tray-cdk plugins unlink [PLUGIN]`](#tray-cdk-plugins-unlink-plugin)
54
54
  * [`tray-cdk plugins update`](#tray-cdk-plugins-update)
55
+ * [`tray-cdk update [CHANNEL]`](#tray-cdk-update-channel)
55
56
  * [`tray-cdk version`](#tray-cdk-version)
56
57
 
57
58
  ## `tray-cdk .`
@@ -605,6 +606,43 @@ DESCRIPTION
605
606
 
606
607
  _See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.11/src/commands/plugins/update.ts)_
607
608
 
609
+ ## `tray-cdk update [CHANNEL]`
610
+
611
+ update the tray-cdk CLI
612
+
613
+ ```
614
+ USAGE
615
+ $ tray-cdk update [CHANNEL] [-a] [--force] [-i | -v <value>]
616
+
617
+ FLAGS
618
+ -a, --available See available versions.
619
+ -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
620
+ -v, --version=<value> Install a specific version.
621
+ --force Force a re-download of the requested version.
622
+
623
+ DESCRIPTION
624
+ update the tray-cdk CLI
625
+
626
+ EXAMPLES
627
+ Update to the stable channel:
628
+
629
+ $ tray-cdk update stable
630
+
631
+ Update to a specific version:
632
+
633
+ $ tray-cdk update --version 1.0.0
634
+
635
+ Interactively select version:
636
+
637
+ $ tray-cdk update --interactive
638
+
639
+ See available versions:
640
+
641
+ $ tray-cdk update --available
642
+ ```
643
+
644
+ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.3.3/src/commands/update.ts)_
645
+
608
646
  ## `tray-cdk version`
609
647
 
610
648
  ```
@@ -430,5 +430,5 @@
430
430
  ]
431
431
  }
432
432
  },
433
- "version": "4.20.0"
433
+ "version": "4.21.0"
434
434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trayio/cdk-cli",
3
- "version": "4.20.0",
3
+ "version": "4.21.0",
4
4
  "description": "A CLI for connector development",
5
5
  "exports": {
6
6
  "./*": "./dist/*.js"
@@ -18,14 +18,16 @@
18
18
  "@oclif/plugin-autocomplete": "3.0.5",
19
19
  "@oclif/plugin-help": "6.0.21",
20
20
  "@oclif/plugin-plugins": "^5",
21
+ "@oclif/plugin-update": "^4.3.3",
21
22
  "@oclif/plugin-version": "2.0.11",
23
+ "@oclif/plugin-warn-if-update-available": "^3.1.4",
22
24
  "@oclif/test": "3.1.12",
23
- "@trayio/axios": "4.20.0",
24
- "@trayio/cdk-build": "4.20.0",
25
- "@trayio/commons": "4.20.0",
26
- "@trayio/generator": "4.20.0",
27
- "@trayio/tray-client": "4.20.0",
28
- "@trayio/tray-openapi": "4.20.0",
25
+ "@trayio/axios": "4.21.0",
26
+ "@trayio/cdk-build": "4.21.0",
27
+ "@trayio/commons": "4.21.0",
28
+ "@trayio/generator": "4.21.0",
29
+ "@trayio/tray-client": "4.21.0",
30
+ "@trayio/tray-openapi": "4.21.0",
29
31
  "chalk": "4.1.2",
30
32
  "inquirer": "8.2.6"
31
33
  },
@@ -54,7 +56,9 @@
54
56
  "@oclif/plugin-help",
55
57
  "@oclif/plugin-autocomplete",
56
58
  "@oclif/plugin-plugins",
57
- "@oclif/plugin-version"
59
+ "@oclif/plugin-version",
60
+ "@oclif/plugin-warn-if-update-available",
61
+ "@oclif/plugin-update"
58
62
  ],
59
63
  "additionalHelpFlags": [
60
64
  "-h"
@@ -72,6 +76,10 @@
72
76
  "permissions": {
73
77
  "description": "Commands for managing connector permissions"
74
78
  }
79
+ },
80
+ "warn-if-update-available": {
81
+ "timeoutInDays": 3,
82
+ "message": "<%= config.name %> update available from <%= chalk.greenBright(config.version) %> to <%= chalk.greenBright(latest) %>."
75
83
  }
76
84
  },
77
85
  "scripts": {