Skip to content

Commit

Permalink
Remove update-notifier
Browse files Browse the repository at this point in the history
Fixes #91
  • Loading branch information
sindresorhus committed Jun 3, 2021
1 parent f94f918 commit 3c3c755
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
"globby": "^11.0.1",
"meow": "^9.0.0",
"path-exists": "^4.0.0",
"read-pkg-up": "^7.0.0",
"update-notifier": "^4.1.0"
"read-pkg-up": "^7.0.0"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@types/node": "^14.0.0",
"@types/react": "^16.9.2",
"@types/update-notifier": "^4.1.0",
"ava": "^3.8.2",
"cpy-cli": "^3.0.0",
"del-cli": "^3.0.0",
Expand Down
3 changes: 0 additions & 3 deletions source/cli.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env node
import * as meow from 'meow';
import * as updateNotifier from 'update-notifier';
import formatter from './lib/formatter';
import tsd from './lib';

Expand All @@ -18,8 +17,6 @@ const cli = meow(`
`);

(async () => { // tslint:disable-line:no-floating-promises
updateNotifier({pkg: cli.pkg as updateNotifier.Package}).notify();

try {
const options = cli.input.length > 0 ? {cwd: cli.input[0]} : undefined;

Expand Down

0 comments on commit 3c3c755

Please sign in to comment.