@emailshepherd/cli 0.2.4 → 0.2.6
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/dist/types.d.ts +10 -0
- 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.6",
|
|
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);
|
package/dist/types.d.ts
CHANGED
|
@@ -191,18 +191,28 @@ export type RichTextFieldDefinitionValidations = {
|
|
|
191
191
|
};
|
|
192
192
|
export type RichTextFieldDefinitionMarksBold = {
|
|
193
193
|
enabled: boolean;
|
|
194
|
+
/** @nullable */
|
|
195
|
+
custom_style_name?: string | null;
|
|
194
196
|
};
|
|
195
197
|
export type RichTextFieldDefinitionMarksItalic = {
|
|
196
198
|
enabled: boolean;
|
|
199
|
+
/** @nullable */
|
|
200
|
+
custom_style_name?: string | null;
|
|
197
201
|
};
|
|
198
202
|
export type RichTextFieldDefinitionMarksLink = {
|
|
199
203
|
enabled: boolean;
|
|
204
|
+
/** @nullable */
|
|
205
|
+
custom_style_name?: string | null;
|
|
200
206
|
};
|
|
201
207
|
export type RichTextFieldDefinitionMarksBulletList = {
|
|
202
208
|
enabled: boolean;
|
|
209
|
+
/** @nullable */
|
|
210
|
+
custom_style_name?: string | null;
|
|
203
211
|
};
|
|
204
212
|
export type RichTextFieldDefinitionMarksNumberedList = {
|
|
205
213
|
enabled: boolean;
|
|
214
|
+
/** @nullable */
|
|
215
|
+
custom_style_name?: string | null;
|
|
206
216
|
};
|
|
207
217
|
/**
|
|
208
218
|
* @nullable
|