@emailshepherd/cli 0.2.4 → 0.2.5
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/dist/cli.js +7 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import updateNotifier from "update-notifier";
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "@emailshepherd/cli",
|
|
11
|
-
version: "0.2.
|
|
11
|
+
version: "0.2.5",
|
|
12
12
|
type: "module",
|
|
13
13
|
publishConfig: {
|
|
14
14
|
registry: "https://registry.npmjs.org",
|
|
@@ -566,9 +566,13 @@ function registerRenderCommand(program2) {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
// src/cli.ts
|
|
569
|
-
updateNotifier({
|
|
569
|
+
updateNotifier({
|
|
570
|
+
pkg: package_default,
|
|
571
|
+
updateCheckInterval: 1e3 * 60 * 60 * 4,
|
|
572
|
+
shouldNotifyInNpmScript: true
|
|
573
|
+
}).notify({
|
|
570
574
|
message: `Update available: {currentVersion} \u2192 {latestVersion}
|
|
571
|
-
Run: npm
|
|
575
|
+
Run: npm install @emailshepherd/cli@latest`
|
|
572
576
|
});
|
|
573
577
|
var program = new Command();
|
|
574
578
|
program.name("emailshepherd").description("EmailShepherd CLI - run commands from within an EDS project").version(package_default.version);
|