From 6342101135a80669023996d81a772835269b8fe1 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 3 Apr 2024 13:17:48 -0400 Subject: [PATCH] chore: Bump logging version and add colored docker output --- Dockerfile | 1 + package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44847d5..64f76a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,7 @@ FROM base as app COPY --chown=abc:abc . /app ENV NODE_ENV="production" +ENV COLORED_STD=true RUN npm install --omit=dev \ && npm cache clean --force \ diff --git a/package-lock.json b/package-lock.json index 5a876a7..fa08d26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "MIT", "dependencies": { - "@foxxmd/logging": "^0.1.13", + "@foxxmd/logging": "^0.2.0", "@isaacs/ttlcache": "^1.4.1", "@logdna/tail-file": "^3.0.1", "ajv": "^8.12.0", @@ -640,9 +640,9 @@ } }, "node_modules/@foxxmd/logging": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/@foxxmd/logging/-/logging-0.1.13.tgz", - "integrity": "sha512-BEw20UxCQxvKdw76uIEPq2fpvr9rquC8tjp8SVeD6pTy9M7AIVpHwbeRv8+Kk2pDgEoJogkIIJrFCbPIcqwa9Q==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@foxxmd/logging/-/logging-0.2.0.tgz", + "integrity": "sha512-pnHW5iEW7vxwAsCK4TxL1m3kO61dzgWyO8/9qG2C6SmaBpkWRQL9USWym/VSQo2gAvCl1eKZWPPYGX3ZuvwDmg==", "dependencies": { "pino": "^8.19.0", "pino-abstract-transport": "^1.1.0", diff --git a/package.json b/package.json index 457de79..a2ed628 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/FoxxMD/endlessh-notifications#readme", "dependencies": { - "@foxxmd/logging": "^0.1.13", + "@foxxmd/logging": "^0.2.0", "@isaacs/ttlcache": "^1.4.1", "@logdna/tail-file": "^3.0.1", "ajv": "^8.12.0",