@bearei/server-common 0.0.104 → 0.0.106
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/dist/action-log/action-log.service.js +5 -1
- package/dist/action-log/action-log.service.js.map +1 -1
- package/dist/base/base.service.js +9 -7
- package/dist/base/base.service.js.map +1 -1
- package/dist/decorator/is-captcha.decorator.d.ts +1 -1
- package/dist/decorator/is-captcha.decorator.js.map +1 -1
- package/dist/decorator/is-nanoid.decorator.d.ts +1 -1
- package/dist/decorator/is-nanoid.decorator.js.map +1 -1
- package/dist/decorator/is-password.decorator.d.ts +1 -1
- package/dist/decorator/is-password.decorator.js.map +1 -1
- package/dist/decorator/is-version.decorator.d.ts +1 -1
- package/dist/decorator/is-version.decorator.js.map +1 -1
- package/dist/permission/permission.interface.d.ts +12 -0
- package/dist/permission/permission.interface.js +12 -0
- package/dist/permission/permission.interface.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +34 -35
package/package.json
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bearei/server-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.106",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"author": "bearei <bear_ei@outlook.com>",
|
|
7
7
|
"description": "Bearei project's common service",
|
|
8
8
|
"license": "MIT",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"!dist/app.controller.d.ts",
|
|
12
|
+
"!dist/app.controller.js.map",
|
|
13
|
+
"!dist/app.controller.js",
|
|
14
|
+
"!dist/app.module.d.ts",
|
|
15
|
+
"!dist/app.module.js.map",
|
|
16
|
+
"!dist/app.module.js",
|
|
17
|
+
"!dist/app.service.d.ts",
|
|
18
|
+
"!dist/app.service.js.map",
|
|
19
|
+
"!dist/app.service.js",
|
|
20
|
+
"!dist/main.d.ts",
|
|
21
|
+
"!dist/main.js.map",
|
|
22
|
+
"!dist/main.js"
|
|
23
|
+
],
|
|
25
24
|
"dependencies": {
|
|
26
25
|
"@fastify/helmet": "^11.1.1",
|
|
27
26
|
"@nestjs/axios": "^3.0.3",
|
|
@@ -57,7 +56,6 @@
|
|
|
57
56
|
"@types/supertest": "^6.0.0",
|
|
58
57
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
59
58
|
"@typescript-eslint/parser": "^8.7.0",
|
|
60
|
-
"@typescript-eslint/typescript-estree": "^8.7.0",
|
|
61
59
|
"eslint": "^9.11.1",
|
|
62
60
|
"eslint-config-prettier": "^9.0.0",
|
|
63
61
|
"eslint-plugin-prettier": "^5.0.0",
|
|
@@ -72,7 +70,7 @@
|
|
|
72
70
|
"ts-node": "^10.9.1",
|
|
73
71
|
"tsconfig-paths": "^4.2.0",
|
|
74
72
|
"typescript": "5.5.4",
|
|
75
|
-
"typescript-eslint": "^8.
|
|
73
|
+
"typescript-eslint": "^8.7.0"
|
|
76
74
|
},
|
|
77
75
|
"jest": {
|
|
78
76
|
"moduleFileExtensions": [
|
|
@@ -91,20 +89,21 @@
|
|
|
91
89
|
"coverageDirectory": "../coverage",
|
|
92
90
|
"testEnvironment": "node"
|
|
93
91
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
"dist",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
92
|
+
"scripts": {
|
|
93
|
+
"build": "yarn lint && yarn clean && nest build",
|
|
94
|
+
"clean": "shx rm -rf dist",
|
|
95
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
96
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
97
|
+
"publish": "yarn build && yarn npm publish --access public",
|
|
98
|
+
"start:debug": "nest start --debug --watch",
|
|
99
|
+
"start:dev": "nest start --watch",
|
|
100
|
+
"start:prod": "node dist/main",
|
|
101
|
+
"start": "nest start",
|
|
102
|
+
"test:cov": "jest --coverage",
|
|
103
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
104
|
+
"test:e2e": "jest --config ./test/jest-e2e.json",
|
|
105
|
+
"test:watch": "jest --watch",
|
|
106
|
+
"test": "jest"
|
|
107
|
+
},
|
|
108
|
+
"packageManager": "yarn@4.4.0"
|
|
110
109
|
}
|