Skip to content

Commit 3cc0594

Browse files
author
David Sheldrick
committed
fix usage of update-notifier
1 parent 83d0733 commit 3cc0594

File tree

3 files changed

+7
-20
lines changed

3 files changed

+7
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 3.2.1
4+
5+
- Make update-notifier message show local install
6+
37
## 3.2.0
48

59
- Add update-notifier to notify users of patch-package updates

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
const updateNotifier = require("update-notifier")
44
const pkg = require("./package.json")
55

6-
updateNotifier({ pkg }).notify()
6+
updateNotifier({ pkg }).notify({ isGlobal: false })
77

8-
require("./dist/index.js");
8+
require("./dist/index.js")

yarn.lock

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,10 +1714,6 @@ lazy-cache@^1.0.3:
17141714
version "1.0.4"
17151715
resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
17161716

1717-
lazy-req@^2.0.0:
1718-
version "2.0.0"
1719-
resolved "https://registry.yarnpkg.com/lazy-req/-/lazy-req-2.0.0.tgz#c9450a363ecdda2e6f0c70132ad4f37f8f06f2b4"
1720-
17211717
lcid@^1.0.0:
17221718
version "1.0.0"
17231719
resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
@@ -2872,20 +2868,7 @@ unzip-response@^2.0.1:
28722868
version "2.0.1"
28732869
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
28742870

2875-
update-notifier@^2.1.0:
2876-
version "2.1.0"
2877-
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.1.0.tgz#ec0c1e53536b76647a24b77cb83966d9315123d9"
2878-
dependencies:
2879-
boxen "^1.0.0"
2880-
chalk "^1.0.0"
2881-
configstore "^3.0.0"
2882-
is-npm "^1.0.0"
2883-
latest-version "^3.0.0"
2884-
lazy-req "^2.0.0"
2885-
semver-diff "^2.0.0"
2886-
xdg-basedir "^3.0.0"
2887-
2888-
update-notifier@^2.2.0:
2871+
update-notifier@^2.1.0, update-notifier@^2.2.0:
28892872
version "2.2.0"
28902873
resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.2.0.tgz#1b5837cf90c0736d88627732b661c138f86de72f"
28912874
dependencies:

0 commit comments

Comments
 (0)