Skip to content

Commit 1961856

Browse files
committed
refactor(ci): improve prettier configuration
1 parent f577408 commit 1961856

File tree

2 files changed

+56
-58
lines changed

2 files changed

+56
-58
lines changed

Diff for: .prettierignore

-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ dist
44
logs
55
node_modules
66
package-lock.json
7-
# package.json is formatted by package managers, so it is ignored
8-
package.json
97
yarn.lock

Diff for: package.json

+56-56
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
"name": "express-typescript-skeleton",
33
"version": "2.7.1",
44
"description": "🔰🦸 Template to start developing a REST API with Node.js (Express), TypeScript, ESLint, Prettier, Husky, Prisma, etc.",
5-
"author": {
6-
"name": "Borja Paz Rodríguez",
7-
"email": "[email protected]",
8-
"url": "https://bpaz.dev"
9-
},
10-
"license": "MIT",
115
"keywords": [
126
"node",
137
"typescript",
@@ -18,17 +12,19 @@
1812
"makefile"
1913
],
2014
"repository": "https://github.com/borjapazr/express-typescript-skeleton",
15+
"license": "MIT",
16+
"author": {
17+
"name": "Borja Paz Rodríguez",
18+
"email": "[email protected]",
19+
"url": "https://bpaz.dev"
20+
},
2121
"main": "dist/index.js",
2222
"files": [
2323
"dist",
2424
"CHANGELOG.md",
2525
"LICENSE",
2626
"README.md"
2727
],
28-
"engines": {
29-
"node": ">=16.0.0",
30-
"npm": ">=6.7.0"
31-
},
3228
"scripts": {
3329
"dev": "cross-env NODE_ENV=development nodemon",
3430
"build": "run-s build:*",
@@ -65,6 +61,53 @@
6561
"update-deps": "npm-check-updates -u",
6662
"prepare": "husky install"
6763
},
64+
"dependencies": {
65+
"@ngneat/falso": "^7.1.0",
66+
"@prisma/client": "^5.1.1",
67+
"@tsed/ajv": "^7.34.6",
68+
"@tsed/common": "^7.34.6",
69+
"@tsed/components-scan": "^7.34.6",
70+
"@tsed/core": "^7.34.6",
71+
"@tsed/di": "^7.34.6",
72+
"@tsed/exceptions": "^7.34.6",
73+
"@tsed/ioredis": "^7.34.6",
74+
"@tsed/json-mapper": "^7.34.6",
75+
"@tsed/logger": "^6.6.2",
76+
"@tsed/openspec": "^7.34.6",
77+
"@tsed/platform-express": "^7.34.6",
78+
"@tsed/prisma": "^7.34.6",
79+
"@tsed/schema": "^7.34.6",
80+
"@tsed/swagger": "^7.34.6",
81+
"@types/pino": "^7.0.5",
82+
"ajv": "^8.12.0",
83+
"argon2": "^0.31.0",
84+
"body-parser": "^1.20.2",
85+
"compression": "^1.7.4",
86+
"cookie-parser": "^1.4.6",
87+
"cors": "^2.8.5",
88+
"dotenv-defaults": "^5.0.2",
89+
"dotenv-expand": "^10.0.0",
90+
"endent": "^2.1.0",
91+
"express": "4",
92+
"fast-equals": "^5.0.1",
93+
"figlet": "^1.6.0",
94+
"file-stream-rotator": "^1.0.0",
95+
"http-status-codes": "^2.2.0",
96+
"ioredis": "^5.3.2",
97+
"jsonwebtoken": "^9.0.1",
98+
"luxon": "^3.4.0",
99+
"method-override": "^3.0.0",
100+
"multer": "1.4.5-lts.1",
101+
"node-emoji": "^2.1.0",
102+
"pino": "^8.15.0",
103+
"pino-http": "^8.4.0",
104+
"pino-pretty": "^10.2.0",
105+
"read-pkg": "5.2.0",
106+
"reflect-metadata": "^0.1.13",
107+
"source-map-support": "^0.5.21",
108+
"ts-node": "^10.9.1",
109+
"uuid": "^9.0.0"
110+
},
68111
"devDependencies": {
69112
"@commitlint/cli": "^17.7.1",
70113
"@commitlint/config-conventional": "^17.7.0",
@@ -156,52 +199,9 @@
156199
"typescript": "^5.1.6",
157200
"yaml-eslint-parser": "^1.2.2"
158201
},
159-
"dependencies": {
160-
"@ngneat/falso": "^7.1.0",
161-
"@prisma/client": "^5.1.1",
162-
"@tsed/ajv": "^7.34.6",
163-
"@tsed/common": "^7.34.6",
164-
"@tsed/components-scan": "^7.34.6",
165-
"@tsed/core": "^7.34.6",
166-
"@tsed/di": "^7.34.6",
167-
"@tsed/exceptions": "^7.34.6",
168-
"@tsed/ioredis": "^7.34.6",
169-
"@tsed/json-mapper": "^7.34.6",
170-
"@tsed/logger": "^6.6.2",
171-
"@tsed/openspec": "^7.34.6",
172-
"@tsed/platform-express": "^7.34.6",
173-
"@tsed/prisma": "^7.34.6",
174-
"@tsed/schema": "^7.34.6",
175-
"@tsed/swagger": "^7.34.6",
176-
"@types/pino": "^7.0.5",
177-
"ajv": "^8.12.0",
178-
"argon2": "^0.31.0",
179-
"body-parser": "^1.20.2",
180-
"compression": "^1.7.4",
181-
"cookie-parser": "^1.4.6",
182-
"cors": "^2.8.5",
183-
"dotenv-defaults": "^5.0.2",
184-
"dotenv-expand": "^10.0.0",
185-
"endent": "^2.1.0",
186-
"express": "4",
187-
"fast-equals": "^5.0.1",
188-
"figlet": "^1.6.0",
189-
"file-stream-rotator": "^1.0.0",
190-
"http-status-codes": "^2.2.0",
191-
"ioredis": "^5.3.2",
192-
"jsonwebtoken": "^9.0.1",
193-
"luxon": "^3.4.0",
194-
"method-override": "^3.0.0",
195-
"multer": "1.4.5-lts.1",
196-
"node-emoji": "^2.1.0",
197-
"pino": "^8.15.0",
198-
"pino-http": "^8.4.0",
199-
"pino-pretty": "^10.2.0",
200-
"read-pkg": "5.2.0",
201-
"reflect-metadata": "^0.1.13",
202-
"source-map-support": "^0.5.21",
203-
"ts-node": "^10.9.1",
204-
"uuid": "^9.0.0"
202+
"engines": {
203+
"node": ">=16.0.0",
204+
"npm": ">=6.7.0"
205205
},
206206
"prisma": {
207207
"schema": "src/infrastructure/shared/persistence/prisma/schema.prisma",

0 commit comments

Comments
 (0)