MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createNotifier

Function createNotifier

packages/cli/src/ui/utils/updateCheck.ts:55–64  ·  view source on GitHub ↗
(distTag: 'latest' | 'nightly')

Source from the content-addressed store, hash-verified

53 const { name, version: currentVersion } = packageJson;
54 const isNightly = currentVersion.includes('nightly');
55 const createNotifier = (distTag: 'latest' | 'nightly') =>
56 updateNotifier({
57 pkg: {
58 name,
59 version: currentVersion,
60 },
61 updateCheckInterval: 0,
62 shouldNotifyInNpmScript: true,
63 distTag,
64 });
65
66 if (isNightly) {
67 const [nightlyUpdateInfo, latestUpdateInfo] = await Promise.all([

Callers 1

checkForUpdatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected