@samet-it/be-base-common 1.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/LICENSE +24 -0
- package/README.md +106 -0
- package/dist/assets/.gitkeep +0 -0
- package/dist/config/base-common.config.d.ts +2 -0
- package/dist/config/base-common.config.js +9 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.js +18 -0
- package/dist/config/index.types.d.ts +12 -0
- package/dist/config/index.types.js +2 -0
- package/dist/error/base.exception.d.ts +7 -0
- package/dist/error/base.exception.js +11 -0
- package/dist/error/error.handler.d.ts +2 -0
- package/dist/error/error.handler.js +217 -0
- package/dist/error/index.d.ts +8 -0
- package/dist/error/index.js +24 -0
- package/dist/error/index.types.d.ts +31 -0
- package/dist/error/index.types.js +2 -0
- package/dist/error/initialization.exception.d.ts +4 -0
- package/dist/error/initialization.exception.js +11 -0
- package/dist/error/page-not-found.exception.d.ts +4 -0
- package/dist/error/page-not-found.exception.js +10 -0
- package/dist/error/record-duplicated.exception.d.ts +4 -0
- package/dist/error/record-duplicated.exception.js +18 -0
- package/dist/error/record-not-found.exception.d.ts +4 -0
- package/dist/error/record-not-found.exception.js +13 -0
- package/dist/error/validation.exception.d.ts +4 -0
- package/dist/error/validation.exception.js +23 -0
- package/dist/exit/exit-handler.impl.d.ts +2 -0
- package/dist/exit/exit-handler.impl.js +13 -0
- package/dist/exit/index.d.ts +2 -0
- package/dist/exit/index.js +18 -0
- package/dist/exit/index.types.d.ts +4 -0
- package/dist/exit/index.types.js +2 -0
- package/dist/generator/generator.d.ts +2 -0
- package/dist/generator/generator.js +417 -0
- package/dist/generator/index.d.ts +2 -0
- package/dist/generator/index.js +18 -0
- package/dist/generator/index.types.d.ts +616 -0
- package/dist/generator/index.types.js +2 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +21 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.js +17 -0
- package/dist/shared/index.types.d.ts +11 -0
- package/dist/shared/index.types.js +2 -0
- package/package.json +70 -0
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@samet-it/be-base-common",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Backend Base Common",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/samet-digital/be-base-common.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"email": "mustafay@samet.com.tr",
|
|
11
|
+
"url": "https://github.com/samet-digital/be-base-common/issues"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/samet-digital/be-base-common#readme",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Mustafa Yelmer",
|
|
16
|
+
"email": "mustafay@samet.com.tr"
|
|
17
|
+
},
|
|
18
|
+
"main": "dist/index.js",
|
|
19
|
+
"type": "commonjs",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"clear": "rimraf dist && rimraf coverage",
|
|
22
|
+
"clear:nm": "rimraf node_modules && npm run clear",
|
|
23
|
+
"lint": "eslint src/**/*.ts --quiet",
|
|
24
|
+
"lint:verbose": "eslint src/**/*.ts",
|
|
25
|
+
"asset": "node -r ts-node/register commands/assets.ts",
|
|
26
|
+
"build": "npm run clear && tsc && npm run asset",
|
|
27
|
+
"test": "jest --config=jest.json --detectOpenHandles",
|
|
28
|
+
"coverage": "rimraf coverage && jest --config=jest.json --coverage --coverageDirectory=coverage",
|
|
29
|
+
"sample": "node -r ts-node/register src/sample.ts",
|
|
30
|
+
"publish:public": "npm run build && npm publish -access=public"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist/*"
|
|
34
|
+
],
|
|
35
|
+
"license": "ISC",
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@babel/preset-env": "^7.28.0",
|
|
38
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
39
|
+
"@eslint/js": "^9.33.0",
|
|
40
|
+
"@types/jest": "^30.0.0",
|
|
41
|
+
"@types/node": "^24.2.1",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.39.1",
|
|
43
|
+
"@typescript-eslint/parser": "^8.39.1",
|
|
44
|
+
"eslint": "^9.33.0",
|
|
45
|
+
"eslint-config-prettier": "^10.1.8",
|
|
46
|
+
"eslint-config-standard": "^17.1.0",
|
|
47
|
+
"eslint-plugin-import": "^2.32.0",
|
|
48
|
+
"eslint-plugin-jsdoc": "^54.0.0",
|
|
49
|
+
"eslint-plugin-node": "^11.1.0",
|
|
50
|
+
"husky": "^9.1.7",
|
|
51
|
+
"jest": "^29.7.0",
|
|
52
|
+
"prettier": "^3.6.2",
|
|
53
|
+
"rimraf": "^6.0.1",
|
|
54
|
+
"test": "^3.3.0",
|
|
55
|
+
"ts-jest": "^29.4.1",
|
|
56
|
+
"ts-node": "^10.9.2",
|
|
57
|
+
"typescript": "^5.9.2",
|
|
58
|
+
"typescript-eslint": "^8.39.1"
|
|
59
|
+
},
|
|
60
|
+
"overrides": {
|
|
61
|
+
"eslint-config-standard": {
|
|
62
|
+
"eslint": "^9.33.0"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@leyyo/common": "^1.0.13",
|
|
67
|
+
"@leyyo/env": "^1.0.7",
|
|
68
|
+
"stacktrace-parser": "^0.1.11"
|
|
69
|
+
}
|
|
70
|
+
}
|