refactor(pbf): check status

This commit is contained in:
dancingCycle 2023-07-10 16:06:15 +02:00
parent 4f72a0b9e2
commit 58eee355bb
3 changed files with 16 additions and 16 deletions

View File

@ -1,19 +1,16 @@
## Overview ## Overview
tbc read pbf file from file system and print content to console
## Preparation ## Preparation
Run the following command in your favorite terminal to install dependenies.
``` ```
npm i npm i
``` ```
## Development setup ## Development setup
Run the following command if you fancy log messages for debugging.
``` ```
export DEBUG=$DEBUG,debug,pbf export DEBUG=$DEBUG,debug,pbf
```
Run the following command to start the service in development mode.
```
npm run dev npm run dev
``` ```
## Production deployment ## Production deployment

21
pbf/package-lock.json generated
View File

@ -10,9 +10,9 @@
"license": "GPL-3.0", "license": "GPL-3.0",
"dependencies": { "dependencies": {
"debug": "4.3.4", "debug": "4.3.4",
"dotenv": "16.0.3", "dotenv": "16.3.1",
"fs": "^0.0.1-security", "fs": "0.0.1-security",
"pbf": "^3.2.1" "pbf": "3.2.1"
}, },
"devDependencies": { "devDependencies": {
"nodemon": "2.0.19" "nodemon": "2.0.19"
@ -124,11 +124,14 @@
} }
}, },
"node_modules/dotenv": { "node_modules/dotenv": {
"version": "16.0.3", "version": "16.3.1",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
"integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==", "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
"engines": { "engines": {
"node": ">=12" "node": ">=12"
},
"funding": {
"url": "https://github.com/motdotla/dotenv?sponsor=1"
} }
}, },
"node_modules/fill-range": { "node_modules/fill-range": {
@ -536,9 +539,9 @@
} }
}, },
"dotenv": { "dotenv": {
"version": "16.0.3", "version": "16.3.1",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
"integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==" "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ=="
}, },
"fill-range": { "fill-range": {
"version": "7.0.1", "version": "7.0.1",

View File

@ -15,7 +15,7 @@
}, },
"dependencies": { "dependencies": {
"debug": "4.3.4", "debug": "4.3.4",
"dotenv": "16.0.3", "dotenv": "16.3.1",
"fs": "0.0.1-security", "fs": "0.0.1-security",
"pbf": "3.2.1" "pbf": "3.2.1"
} }