Skip to content

Commit 81b663d

Browse files
authored
Merge pull request #53 from tabkram/feature/safe-errors
feat: ensure trace errors are safe, avoid circular references and serialization issues
2 parents 9545c9d + 3aa373f commit 81b663d

7 files changed

Lines changed: 547 additions & 9 deletions

File tree

package-lock.json

Lines changed: 256 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"index.js"
1313
],
1414
"scripts": {
15-
"build": "tsc",
15+
"build": "npm run generate-barrels && tsc",
1616
"test": "jest",
1717
"examples": "for file in examples/*.ts; do ts-node \"$file\"; done\n",
1818
"lint": "eslint src --fix",
1919
"format": "prettier --write src/**/*.ts",
2020
"prepublishOnly": "npm run build",
2121
"prepare": "npm audit",
22-
"commitlint": "commitlint --edit"
22+
"commitlint": "commitlint --edit",
23+
"generate-barrels": "barrelsby --directory src --recursive --delete --exclude \"common\" --exclude \"\\\\.spec\\\\.ts$\" --singleQuotes"
2324
},
2425
"repository": {
2526
"type": "git",
@@ -50,6 +51,7 @@
5051
"@types/uuid": "^10.0.0",
5152
"@typescript-eslint/eslint-plugin": "^8.24.0",
5253
"@typescript-eslint/parser": "^8.24.0",
54+
"barrelsby": "^2.8.1",
5355
"conventional-changelog-cli": "^5.0.0",
5456
"conventional-changelog-conventionalcommits": "^8.0.0",
5557
"eslint": "^9.20.1",

0 commit comments

Comments
 (0)