@bombillazo/error-x 0.1.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/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@bombillazo/error-x",
3
+ "version": "0.1.1",
4
+ "description": "A simple and consistent error handling library for TypeScript applications. Provides type-safe error handling with great DX, solving common pain points like unknown error types, lost stack traces, async error handling, and error serialization. Isomorphic and framework-agnostic.",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "keywords": [
20
+ "error",
21
+ "typescript",
22
+ "error-handling",
23
+ "type-safe",
24
+ "isomorphic",
25
+ "async",
26
+ "promise"
27
+ ],
28
+ "author": "",
29
+ "license": "MIT",
30
+ "devDependencies": {
31
+ "@biomejs/biome": "^2.2.0",
32
+ "@commitlint/cli": "^19.8.1",
33
+ "@commitlint/config-conventional": "^19.8.1",
34
+ "@microsoft/api-extractor": "^7.52.10",
35
+ "@types/node": "^24.3.0",
36
+ "@vitest/coverage-v8": "^3.2.4",
37
+ "commitizen": "^4.3.1",
38
+ "cz-customizable": "^7.5.0",
39
+ "husky": "^9.1.7",
40
+ "tsup": "^8.5.0",
41
+ "typescript": "^5.9.2",
42
+ "vitest": "^3.2.4"
43
+ },
44
+ "engines": {
45
+ "node": ">=18"
46
+ },
47
+ "config": {
48
+ "commitizen": {
49
+ "path": "cz-customizable"
50
+ },
51
+ "cz-customizable": {
52
+ "config": ".cz-config.cjs"
53
+ }
54
+ },
55
+ "dependencies": {
56
+ "safe-stringify": "^1.2.0"
57
+ },
58
+ "scripts": {
59
+ "build": "tsup",
60
+ "dev": "tsup --watch",
61
+ "test": "vitest run",
62
+ "test:watch": "vitest --watch",
63
+ "test:coverage": "vitest --coverage",
64
+ "lint": "biome lint .",
65
+ "format": "biome format --write .",
66
+ "check": "biome check .",
67
+ "typecheck": "tsc --noEmit",
68
+ "api-docs": "api-extractor run --local",
69
+ "api-docs:build": "pnpm build && mkdir -p ./etc && pnpm api-docs && rm -rf ./etc ./temp",
70
+ "commit": "cz",
71
+ "commit:lint": "commitlint --edit"
72
+ }
73
+ }