Skip to content

Commit

Permalink
chore: removing unused packages and adding build type check
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardodimarchi committed Oct 6, 2023
1 parent 1d79a7a commit dd8946e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 47 deletions.
1 change: 1 addition & 0 deletions nest-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"sourceRoot": "src",
"compilerOptions": {
"builder": "swc",
"typeCheck": true,
"deleteOutDir": true,
"assets": [
{
Expand Down
41 changes: 3 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"test:clear-cache": "jest --clearCache",
"typeorm:cli": "npm run build && node -r @swc/register ./node_modules/typeorm/cli.js -d src/shared/infra/database/typeorm/cli-config.ts",
"typeorm:cli:create": "node -r @swc/register ./node_modules/typeorm/cli.js",
"migration:generate": "ts-node src/shared/infra/database/typeorm/scripts/generate-migration.ts",
"migration:create": "ts-node src/shared/infra/database/typeorm/scripts/create-migration.ts",
"migration:generate": "node -r @swc/register src/shared/infra/database/typeorm/scripts/generate-migration.ts",
"migration:create": "node -r @swc/register src/shared/infra/database/typeorm/scripts/create-migration.ts",
"migration:run": "npm run typeorm:cli -- migration:run",
"migration:revert": "npm run typeorm:cli -- migration:revert",
"prepare": "husky install",
Expand All @@ -34,7 +34,6 @@
"@nestjs/platform-express": "^10.2.6",
"@nestjs/swagger": "^7.1.12",
"@nestjs/typeorm": "^10.0.0",
"@types/bcrypt": "^5.0.0",
"bcrypt": "^5.1.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
Expand All @@ -44,8 +43,6 @@
"passport-jwt": "^4.0.1",
"passport-local": "^1.0.0",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typeorm": "^0.3.17"
},
"devDependencies": {
Expand All @@ -59,6 +56,7 @@
"@swc/core": "^1.3.90",
"@swc/jest": "^0.2.29",
"@swc/register": "^0.1.10",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.17",
"@types/jest": "29.5.5",
"@types/node": "20.6.3",
Expand All @@ -73,12 +71,8 @@
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "29.1.1",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "^5.2.2"
},
"lint-staged": {
Expand Down

0 comments on commit dd8946e

Please sign in to comment.