Skip to content

Commit 5280d8e

Browse files
committed
remove node-notifier from peerDependencies
1 parent 437d1b4 commit 5280d8e

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
### Yalc changelog
22

3+
## 1.0.0-pre.54 (2020-07-24)
4+
5+
- remove `node-notifier` from `peerDependencies`
6+
37
## 1.0.0-pre.54 (2020-07-23)
48

5-
- handle JSX extension
9+
- handle JSX extension, when `allowJs` enabled
610

711
## 1.0.0-pre.53 (2020-07-23)
812

9-
- node-notifier to peerDeps
13+
- move `node-notifier` to `peerDependencies`
1014
- add --script-mode flag handling
1115

1216
## 1.0.0-pre.52

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Look up flags and options can be used [in ts-node's docs](https://github.com/Typ
5757
- `--rs` - Allow to restart with "rs" line entered in stdio, disabled by default.
5858
- `--no-notify` - Do not display desktop-notifications (Notifications are only displayed if `node-notifier` is installed).
5959

60+
**Desktop Notifications**
61+
62+
If you want desktop-notifications you should install `node-notifier` package.
63+
6064
**Caveats and points of notice:**
6165

6266
- Especially for large code bases always consider running with `--transpile-only` flag which is normal for dev workflow and will speed up things greatly. Note, that `ts-node-dev` will not put watch handlers on TS files that contain only types/interfaces (used only for type checking) - this is current limitation by design.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ts-node-dev",
3-
"version": "1.0.0-pre.54",
3+
"version": "1.0.0-pre.55",
44
"description": "Compiles your TS app and restarts when files are modified.",
55
"keywords": [
66
"restart",
@@ -40,8 +40,7 @@
4040
"test-docker": "docker-compose up",
4141
"ci": "yarn test",
4242
"ci-local": "docker run --name travis-debug -dit quay.io/travisci/ci-nodejs",
43-
"manual": "ts-node test/manual/run.ts",
44-
"postinstall": "echo If you want desktop-notifications you can run \"npm i node-notifier@^5.4.0\"!"
43+
"manual": "ts-node test/manual/run.ts"
4544
},
4645
"dependencies": {
4746
"chokidar": "^3.4.0",
@@ -77,7 +76,6 @@
7776
"typescript": "^3.9.5"
7877
},
7978
"peerDependencies": {
80-
"node-notifier": "^5.4.0",
8179
"typescript": "*"
8280
}
8381
}

0 commit comments

Comments
 (0)