Skip to content

Interface: UpdateNotifierPluginOptions

Defined in: packages/plugin-update-notifier/src/index.ts:8

Extends

  • EnhancedNotifierSettings

Properties

PropertyTypeDescriptionInherited fromDefined in

distTag?

string

Which dist-tag to use to find the latest version

Default

ts
"latest";
ts
EnhancedNotifierSettings.distTag;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:24

notify?

EnhancedNotifyOptions

packages/plugin-update-notifier/src/index.ts:9

packageName?

string

Deprecated

use pkg.name

ts
EnhancedNotifierSettings.packageName;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:29

packageVersion?

string

Deprecated

use pkg.version

ts
EnhancedNotifierSettings.packageVersion;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:33

pkg

Package

ts
EnhancedNotifierSettings.pkg;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:25

shouldNotifyInNpmScript?

boolean

Allows notification to be shown when running as an npm script

ts
EnhancedNotifierSettings.shouldNotifyInNpmScript;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:37

updateCheckInterval?

number

How often to check for updates

ts
EnhancedNotifierSettings.updateCheckInterval;

node_modules/.pnpm/@types+update-notifier@6.0.8/node_modules/@types/update-notifier/update-notifier.d.ts:35

Released under the MIT license