@ballistix.digital/exception-mapper 0.0.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ All notable changes to this package are recorded here. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package
5
+ follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## Unreleased
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+ # @ballistix.digital/exception-mapper
2
+
3
+ A NestJS module that maps any thrown value to a coded `BaseException` and to
4
+ the `ExceptionDto` envelope, for HTTP filters and task processors.
5
+
6
+ The consumer guide follows with the first release.
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@ballistix.digital/exception-mapper",
3
+ "version": "0.0.1",
4
+ "description": "A NestJS module that maps any thrown value to a coded BaseException and to the ExceptionDto envelope, for HTTP filters and task processors.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/layeredprints/exception-mapper.git",
9
+ "directory": "exception-mapper"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "engines": {
15
+ "node": ">=22.12"
16
+ },
17
+ "main": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.js"
23
+ }
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "CHANGELOG.md"
28
+ ],
29
+ "scripts": {
30
+ "build": "rm -rf dist && tsc -p tsconfig.build.json"
31
+ },
32
+ "peerDependencies": {
33
+ "@ballistix.digital/exception-types": "^0.1.0",
34
+ "@nestjs/common": "^11",
35
+ "class-validator": "^0.15.1",
36
+ "reflect-metadata": "^0.2.2",
37
+ "typeorm": ">=0.3.0 <2.0.0"
38
+ }
39
+ }