From 2171a217ea14fbf1b20d4216e0097eabc890b357 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 17 Jan 2024 13:31:03 +0100 Subject: [PATCH] fix: remove update notifier Dependabot is better for this. --- package.json | 2 -- src/index.js | 5 ----- 2 files changed, 7 deletions(-) diff --git a/package.json b/package.json index 707e33257..41a6f52ef 100644 --- a/package.json +++ b/package.json @@ -310,7 +310,6 @@ "typedoc-plugin-missing-exports": "^2.0.0", "typescript": "^5.1.6", "typescript-docs-verifier": "^2.5.0", - "update-notifier": "^7.0.0", "wherearewe": "^2.0.1", "yargs": "^17.1.1", "yargs-parser": "^21.1.1" @@ -331,7 +330,6 @@ "@types/proper-lockfile": "^4.1.1", "@types/semver": "^7.3.4", "@types/strong-log-transformer": "^1.0.2", - "@types/update-notifier": "^6.0.1", "@types/yargs": "^17.0.0", "electron": "^27.0.2", "uint8arrays": "^5.0.1", diff --git a/src/index.js b/src/index.js index b576a25e5..c5c3db23e 100755 --- a/src/index.js +++ b/src/index.js @@ -2,7 +2,6 @@ /* eslint-disable no-console */ import { readPackageUpSync } from 'read-pkg-up' -import updateNotifier from 'update-notifier' import yargs from 'yargs' import { hideBin } from 'yargs/helpers' import buildCmd from './cmds/build.js' @@ -46,10 +45,6 @@ async function main () { throw new Error('Could not read package.json') } - updateNotifier({ - pkg: pkg.packageJson - }).notify() - const userConfig = await loadUserConfig() const res = yargs(hideBin(process.argv))