@mhmdhammoud/meritt-utils 1.4.2 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,5 +39,5 @@ jobs:
39
39
  password: ${{ secrets.EMAIL_PASSWORD }}
40
40
  subject: ${{ github.event.head_commit.message }} ${{ github.job }} job of ${{ github.repository }} has ${{ job.status }}
41
41
  body: ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }}
42
- to: mohammad.hammoud.lb@hotmail.com,steef12009@gmail.com,sawwas.omar@gmail.com
42
+ to: mohammad.hammoud.lb@hotmail.com,steef12009@gmail.com
43
43
  from: Github Action
@@ -11,7 +11,7 @@ jobs:
11
11
  with:
12
12
  node-version: 16
13
13
  - run: npm ci
14
- - run: npm run types
14
+ - run: npm run test:types
15
15
  notify:
16
16
  needs: [type-check]
17
17
  runs-on: ubuntu-latest
@@ -25,5 +25,5 @@ jobs:
25
25
  password: ${{ secrets.EMAIL_PASSWORD }}
26
26
  subject: ${{ github.event.head_commit.message }} ${{ github.job }} job of ${{ github.repository }} has ${{ job.status }}
27
27
  body: ${{ github.job }} job in worflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }}
28
- to: mohammad.hammoud.lb@hotmail.com,steef12009@gmail.com,sawwas.omar@gmail.com
28
+ to: mohammad.hammoud.lb@hotmail.com,steef12009@gmail.com
29
29
  from: Github Action
package/.husky/pre-commit CHANGED
@@ -45,7 +45,7 @@ echo -ne '\n'
45
45
 
46
46
  echo -e "${yellow}Running types...${clear}"
47
47
  echo -ne '\n'
48
- npm run types
48
+ npm run test:types
49
49
  echo -ne '\n'
50
50
 
51
51
  echo -e "${green}types passed...${clear} ✅"
@@ -63,7 +63,7 @@ function getLogger(elasticConfig) {
63
63
  }
64
64
  else {
65
65
  transports.push(pino_1.pino.destination({
66
- minLength: 1024,
66
+ minLength: 128,
67
67
  sync: false,
68
68
  }));
69
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhmdhammoud/meritt-utils",
3
- "version": "1.4.2",
3
+ "version": "1.5.0",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "private": false,
@@ -13,11 +13,11 @@
13
13
  "access": "public"
14
14
  },
15
15
  "scripts": {
16
- "dev-ts": "ts-node-dev --respawn --transpile-only src/index.ts | pino-pretty",
16
+ "start:dev": "ts-node-dev --respawn --transpile-only src/index.ts | pino-pretty",
17
17
  "dev": "nodemon ./dist/index.js",
18
18
  "watch": "tsc --watch",
19
19
  "build": "tsc",
20
- "types": "tsc --noemit",
20
+ "test:types": "tsc --noemit",
21
21
  "prepare": "husky install",
22
22
  "lint": "eslint src --fix",
23
23
  "prepublish": "npm run build",
package/src/lib/logger.ts CHANGED
@@ -40,7 +40,7 @@ function getLogger(elasticConfig?: ElasticConfig): PinoLogger {
40
40
  } else {
41
41
  transports.push(
42
42
  pino.destination({
43
- minLength: 1024,
43
+ minLength: 128,
44
44
  sync: false,
45
45
  })
46
46
  )