Skip to content

Commit 90d3e48

Browse files
committed
- Use toLocaleString() to format big numbers
- Bump up dependencies - Remove the yam resolution of forcing minimist as the upgrade of node-windows makes it obsolete
1 parent 89c6728 commit 90d3e48

File tree

7 files changed

+319
-306
lines changed

7 files changed

+319
-306
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Git diff Check
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
branches: [main]
10+
11+
jobs:
12+
Analyze:
13+
runs-on: windows-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
with:
19+
fetch-depth: 2
20+
21+
- name: Run git diff check
22+
run: |
23+
git config --global core.whitespace cr-at-eol,tab-in-indent
24+
git diff --check HEAD^

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Disk-Space-Monitor
2-
![Apache 2.0 License](https://img.shields.io/badge/License-Apache%202.0-yellow)
3-
![node.js 10+](https://img.shields.io/badge/node.js-10.16.3-blue?logo=node.js)
4-
![Latest Release](https://img.shields.io/github/v/release/blu3mania/disk-space-monitor)
2+
[![Apache 2.0 License](https://img.shields.io/badge/License-Apache%202.0-yellow)](https://raw.githubusercontent.com/blu3mania/disk-space-monitor/main/LICENSE)
3+
[![node.js 10+](https://img.shields.io/badge/node.js-10.16.3-blue?logo=node.js)](https://nodejs.org/en/)
4+
[![Latest Release](https://img.shields.io/github/v/release/blu3mania/disk-space-monitor)](https://github.com/blu3mania/disk-space-monitor/releases/latest)
55

66
Monitor disk space usage and notify user by email or system notification.
77

package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "disk-space-monitor",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Monitor disk space usage and notify user by email or system notification",
55
"main": "src/app.js",
66
"scripts": {
77
"start": "node src/app.js",
88
"preinstall": "npm install npm-platform-dependencies && npmpd",
9-
"install": "node src/install-service.js",
9+
"postinstall": "node src/install-service.js",
1010
"uninstall": "node src/uninstall-service.js"
1111
},
1212
"keywords": [
13-
"disk-space",
14-
"disk-monitor",
15-
"disk-space-monitor"
13+
"disk space",
14+
"disk monitor",
15+
"disk space monitor"
1616
],
1717
"author": "blu3mania <blu3mania@hotmail.com>",
1818
"license": "Apache-2.0",
@@ -25,22 +25,19 @@
2525
"url": "https://github.com/blu3mania/disk-space-monitor.git"
2626
},
2727
"dependencies": {
28-
"chalk": "^4.1.0",
28+
"chalk": "^4.1.2",
2929
"diskusage": "^1.1.3",
30-
"node-notifier": "^9.0.0",
31-
"nodemailer": "^6.4.17"
30+
"node-notifier": "^10.0.1",
31+
"nodemailer": "^6.7.8"
3232
},
3333
"win32Dependencies": {
34-
"node-windows": "^1.0.0-beta.5"
34+
"node-windows": "^1.0.0-beta.8"
3535
},
3636
"darwinDependencies": {
3737
"node-mac": "^1.0.0"
3838
},
3939
"linuxDependencies": {
4040
"node-linux": "^0.1.12"
4141
},
42-
"devDependencies": {},
43-
"resolutions": {
44-
"minimist": "^1.2.5"
45-
}
42+
"devDependencies": {}
4643
}

0 commit comments

Comments
 (0)