@darraghor/nest-backend-libs 1.7.0 → 1.8.0
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"target": "es2019",
|
|
5
|
+
"lib": ["es2019", "dom"],
|
|
6
|
+
"module": "esnext",
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"isolatedModules": true,
|
|
9
|
+
"outDir": "dist",
|
|
10
|
+
"typeRoots": ["node_modules/@types"]
|
|
11
|
+
},
|
|
12
|
+
"exclude": ["dist", "node_modules"]
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shared-api-client",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "OpenAPI client for shared-api-client",
|
|
5
|
+
"author": "OpenAPI-Generator",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"typings": "./dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"prepare": "yarn build"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"typescript": "^3.6"
|
|
15
|
+
}
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darraghor/nest-backend-libs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Some helpers for personal projects",
|
|
5
5
|
"homepage": "https://github.com/darraghoriordan/nest-backend-libs",
|
|
6
6
|
"repository": {
|
|
@@ -28,15 +28,16 @@
|
|
|
28
28
|
"license": "ISC",
|
|
29
29
|
"scripts": {
|
|
30
30
|
"clean": "rm -Rf ./dist/",
|
|
31
|
-
"build:ci": "
|
|
32
|
-
"build": "
|
|
31
|
+
"build:ci": "yarn build",
|
|
32
|
+
"build": "yarn clean && mkdir ./dist && tsc --project tsconfig.build.json && yarn copyOpenApiGenerationModule",
|
|
33
33
|
"lint": "npx eslint -c .eslintrc.js --ext .ts './src/**/*.ts' './tests/**/*.ts' --no-error-on-unmatched-pattern",
|
|
34
34
|
"test": "export NODE_OPTIONS=\"--max-old-space-size=8192\" && npx jest --runInBand --color --reporters=default --no-cache --coverage=false --passWithNoTests",
|
|
35
35
|
"pre-commit": "npx lint-staged",
|
|
36
36
|
"prettier": "prettier --write src/*",
|
|
37
37
|
"prepare": "husky install",
|
|
38
38
|
"release": "npx semantic-release",
|
|
39
|
-
"semantic-release": "semantic-release"
|
|
39
|
+
"semantic-release": "semantic-release",
|
|
40
|
+
"copyOpenApiGenerationModule": "copyfiles --error --up 1 src/open-api-generation/**/* dist"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"@nestjs/common": "^7.6.18",
|
|
@@ -47,10 +48,10 @@
|
|
|
47
48
|
"@nestjs/swagger": "^4.8.2",
|
|
48
49
|
"@nestjs/typeorm": "^7.1.5",
|
|
49
50
|
"auth0": "^2.36.1",
|
|
50
|
-
"dotenv": "^10.0.0",
|
|
51
51
|
"class-transformer": "0.4.0",
|
|
52
52
|
"class-validator": "0.13.1",
|
|
53
53
|
"date-fns": "^2.23.0",
|
|
54
|
+
"dotenv": "^10.0.0",
|
|
54
55
|
"jwks-rsa": "^2.0.4",
|
|
55
56
|
"nodemailer": "^6.6.3",
|
|
56
57
|
"passport": "^0.4.1",
|
|
@@ -61,27 +62,29 @@
|
|
|
61
62
|
"resource": "^0.8.1",
|
|
62
63
|
"rimraf": "^3.0.2",
|
|
63
64
|
"rxjs": "^7.3.0",
|
|
64
|
-
"tslog": "^3.2.1",
|
|
65
65
|
"swagger-ui-express": "^4.1.6",
|
|
66
|
+
"tslog": "^3.2.1",
|
|
66
67
|
"typeorm": "^0.2.37"
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
|
-
"@darraghor/eslint-plugin-nestjs-typed": "3.2.0",
|
|
70
70
|
"@commitlint/cli": "12.1.1",
|
|
71
71
|
"@commitlint/config-conventional": "12.1.1",
|
|
72
|
-
"@
|
|
73
|
-
"@semantic-release/exec": "5.0.0",
|
|
72
|
+
"@darraghor/eslint-plugin-nestjs-typed": "3.2.0",
|
|
74
73
|
"@nestjs/cli": "^7.6.0",
|
|
75
74
|
"@nestjs/schematics": "^7.3.1",
|
|
75
|
+
"@semantic-release/changelog": "5.0.1",
|
|
76
|
+
"@semantic-release/exec": "5.0.0",
|
|
76
77
|
"@types/auth0": "^2.33.4",
|
|
77
78
|
"@types/express": "^4.17.13",
|
|
78
79
|
"@types/jest": "^26.0.24",
|
|
79
80
|
"@types/node": "16.11.6",
|
|
80
81
|
"@types/nodemailer": "^6.4.4",
|
|
81
82
|
"@types/passport-jwt": "^3.0.6",
|
|
83
|
+
"@types/rimraf": "^3.0.2",
|
|
82
84
|
"@types/supertest": "^2.0.11",
|
|
83
85
|
"@typescript-eslint/eslint-plugin": "5.2.0",
|
|
84
86
|
"@typescript-eslint/parser": "5.2.0",
|
|
87
|
+
"copyfiles": "2.4.1",
|
|
85
88
|
"eslint": "8.1.0",
|
|
86
89
|
"eslint-config-prettier": "8.3.0",
|
|
87
90
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
@@ -93,11 +96,11 @@
|
|
|
93
96
|
"eslint-plugin-sonarjs": "0.10.0",
|
|
94
97
|
"eslint-plugin-unicorn": "37.0.1",
|
|
95
98
|
"husky": "6.0.0",
|
|
96
|
-
"lint-staged": "11.0.0",
|
|
97
99
|
"jest": "^27.0.6",
|
|
98
|
-
"semantic-release": "17.4.3",
|
|
99
100
|
"jest-create-mock-instance": "^1.1.0",
|
|
101
|
+
"lint-staged": "11.0.0",
|
|
100
102
|
"prettier": "^2.3.2",
|
|
103
|
+
"semantic-release": "17.4.3",
|
|
101
104
|
"ts-jest": "^27.0.4",
|
|
102
105
|
"ts-loader": "^9.2.5",
|
|
103
106
|
"ts-node": "^10.2.0",
|