error-message-utils 1.1.4 → 1.1.6

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.
package/README.md CHANGED
@@ -153,7 +153,7 @@ type IDecodedError = {
153
153
  ## Running the Tests
154
154
 
155
155
  ```bash
156
- npm run test:unit
156
+ npm run test
157
157
  ```
158
158
 
159
159
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "error-message-utils",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "The error-message-utils package simplifies error management in your web applications and RESTful APIs. It ensures consistent and scalable handling of error messages, saving you time and effort. Moreover, it gives you the ability to assign custom error codes so all possible cases can be handled accordingly.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "build": "ts-lib-builder --tsconfig=tsconfig.build.json",
10
- "test": "echo \"Error: tests are executed with npm run test:(integration|unit)\" && exit 1",
10
+ "test": "npm run test:unit",
11
11
  "test:integration": "jest --config=jest.test-integration.config.json --no-cache",
12
12
  "test:unit": "jest --config=jest.test-unit.config.json --no-cache"
13
13
  },
@@ -46,7 +46,7 @@
46
46
  "jest": "29.7.0",
47
47
  "prettier": "3.6.2",
48
48
  "ts-jest": "29.2.5",
49
- "ts-lib-builder": "1.0.7",
49
+ "ts-lib-builder": "1.0.8",
50
50
  "typescript": "5.7.2"
51
51
  }
52
52
  }
package/.prettierignore DELETED
@@ -1,35 +0,0 @@
1
- # defaults
2
- **/.git
3
- **/.svn
4
- **/.hg
5
- **/node_modules
6
-
7
- # build and dist Output
8
- dist
9
- build
10
- .out
11
- .next
12
-
13
- # logs
14
- npm-debug.log
15
- yarn-debug.log
16
- yarn-error.log
17
- pnpm-debug.log
18
-
19
- # environment files
20
- .env
21
- .env.local
22
- .env.*.local
23
-
24
- # lockfiles (if using a monorepo or specific package manager setup)
25
- package-lock.json
26
- yarn.lock
27
- pnpm-lock.yaml
28
-
29
- # miscellaneous
30
- coverage/
31
- .DS_Store
32
- *.min.js
33
- public/
34
- tmp/
35
- *.md
package/.prettierrc DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "tabWidth": 2,
5
- "useTabs": false,
6
- "trailingComma": "all",
7
- "printWidth": 100,
8
- "bracketSpacing": true,
9
- "arrowParens": "always",
10
- "endOfLine": "lf",
11
- "singleAttributePerLine": true
12
- }