Skip to content

Commit

Permalink
General pkg update, and fix for telegram formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
petersem committed Oct 28, 2024
1 parent 8de99ed commit 1faa0b9
Show file tree
Hide file tree
Showing 20 changed files with 365 additions and 317 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
**/secrets.dev.yaml
**/values.dev.yaml
README.md

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:22-alpine3.18 as builder
FROM node:22-alpine3.18 AS builder
WORKDIR /usr/src/app
COPY ["package.json", "package-lock.json*", "index.js", "./"]
RUN apk add --update nodejs npm

COPY ["package.json", "package-lock.json*", "index.js", "./"]
RUN npm install --omit=dev

FROM alpine:3.18 as deploy
FROM alpine:3.18 AS deploy
RUN apk add --update nodejs npm
COPY --from=builder /usr/src/app /app
WORKDIR /app
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ async function send(message, extTitle) {

switch (msgDetails[0].toLowerCase()) {
case "telegram":
sendTelegram(`<b>` + title + `</b>` + message);
sendTelegram(`<b>` + title + `</b>
` + message);
break;
case "pushbullet":
sendPushbullet(title, message);
Expand Down
289 changes: 152 additions & 137 deletions node_modules/.package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node_modules/debug/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions node_modules/debug/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion node_modules/debug/src/browser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions node_modules/debug/src/node.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/ms/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/ms/license.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions node_modules/ms/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions node_modules/ms/readme.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions node_modules/pump/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion node_modules/pump/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/pump/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions node_modules/ssh2/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions node_modules/ssh2/lib/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions node_modules/ssh2/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1faa0b9

Please sign in to comment.