Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit c0ff832

Browse files
committed
fix: remove notify
1 parent 5fbbf70 commit c0ff832

File tree

4 files changed

+2
-47
lines changed

4 files changed

+2
-47
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"fs-extra": "^5.0.0",
1616
"indent-string": "^3.2.0",
1717
"lodash": "^4.17.4",
18-
"node-notifier": "^5.2.1",
1918
"password-prompt": "^1.0.4",
2019
"semver": "^5.5.0",
2120
"strip-ansi": "^4.0.0",
@@ -33,7 +32,6 @@
3332
"@types/mocha": "^2.2.48",
3433
"@types/nock": "^9.1.2",
3534
"@types/node": "^9.4.0",
36-
"@types/node-notifier": "^0.0.28",
3735
"@types/read-pkg": "^3.0.0",
3836
"@types/semver": "^5.5.0",
3937
"@types/strip-ansi": "^3.0.0",

src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import * as EventEmitter from 'events'
2-
import {NodeNotifier} from 'node-notifier'
32

43
import {ActionBase} from './action/base'
54
import deps from './deps'
65
import Errors, {CLIError, Options as ErrorOptions} from './errors'
76
import {ExitError} from './exit'
87
import * as Logger from './logger'
9-
import notify, {Notification, NotificationCallback} from './notify'
108
import Output from './output'
119
import {IPromptOptions} from './prompt'
1210
import * as Table from './styled/table'
@@ -30,7 +28,6 @@ export const cli = {
3028
fatal: errors('fatal'),
3129

3230
exit(code = 1, error?: Error) { throw new ExitError(code, error) },
33-
notify,
3431

3532
get prompt() { return deps.prompt.prompt },
3633
get confirm() { return deps.prompt.confirm },
@@ -54,9 +51,6 @@ export {
5451
CLIError,
5552
Config,
5653
ErrorOptions,
57-
NodeNotifier,
58-
Notification,
59-
NotificationCallback,
6054
Errors,
6155
ExitError,
6256
IPromptOptions,

test/notify.test.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

yarn.lock

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@
5757
dependencies:
5858
"@types/node" "*"
5959

60-
"@types/node-notifier@^0.0.28":
61-
version "0.0.28"
62-
resolved "https://registry.yarnpkg.com/@types/node-notifier/-/node-notifier-0.0.28.tgz#86ba3d3aa8d918352cc3191d88de328b20dc93c1"
63-
dependencies:
64-
"@types/node" "*"
65-
6660
"@types/node@*", "@types/node@^9.4.0":
6761
version "9.4.0"
6862
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1"
@@ -674,10 +668,6 @@ growl@1.10.3:
674668
version "1.10.3"
675669
resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f"
676670

677-
growly@^1.3.0:
678-
version "1.3.0"
679-
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
680-
681671
has-ansi@^0.1.0:
682672
version "0.1.0"
683673
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e"
@@ -934,15 +924,6 @@ natural-compare@^1.4.0:
934924
version "1.4.0"
935925
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
936926

937-
node-notifier@^5.2.1:
938-
version "5.2.1"
939-
resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.2.1.tgz#fa313dd08f5517db0e2502e5758d664ac69f9dea"
940-
dependencies:
941-
growly "^1.3.0"
942-
semver "^5.4.1"
943-
shellwords "^0.1.1"
944-
which "^1.3.0"
945-
946927
normalize-path@^1.0.0:
947928
version "1.0.0"
948929
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379"
@@ -1119,7 +1100,7 @@ semver@5.3.0:
11191100
version "5.3.0"
11201101
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
11211102

1122-
semver@^5.3.0, semver@^5.4.1, semver@^5.5.0:
1103+
semver@^5.3.0, semver@^5.5.0:
11231104
version "5.5.0"
11241105
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
11251106

@@ -1133,10 +1114,6 @@ shebang-regex@^1.0.0:
11331114
version "1.0.0"
11341115
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
11351116

1136-
shellwords@^0.1.1:
1137-
version "0.1.1"
1138-
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
1139-
11401117
signal-exit@^3.0.2:
11411118
version "3.0.2"
11421119
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
@@ -1392,7 +1369,7 @@ v8flags@^3.0.0:
13921369
dependencies:
13931370
homedir-polyfill "^1.0.1"
13941371

1395-
which@^1.2.9, which@^1.3.0:
1372+
which@^1.2.9:
13961373
version "1.3.0"
13971374
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
13981375
dependencies:

0 commit comments

Comments
 (0)