nestjs-typeorm-paginate icon indicating copy to clipboard operation
nestjs-typeorm-paginate copied to clipboard

Revert of #918 with only essential changes, including security enhancements, package updates, Dependabot improvements, testing setup and workflow fixes.

Open Tekvology opened this issue 9 months ago • 7 comments

What is changing in this PR

Summary of Package Changes

  • Updated: Test cases and index.ts

  • Upgraded Dependencies:

    • typeorm0.3.20
    • typescript5.7.3
    • ts-jest^29.2.5
    • jest^29.0.0
    • @nestjs/common^11.0.1
    • @nestjs/core^11.0.1
    • @nestjs/testing^11.0.1
    • @nestjs/typeorm^11.0.0
  • Added Dependencies:

    • "typescript": "^5.7.3"
    • "rimraf": "^6.0.1"
    • "rxjs": "^7.1.0"
    • "sqlite3": "^5.1.7"
    • "npm-run-all2": "^7.0.2"
    • "cross-env": "^7.0.3"
  • Removed Deprecated/old Dependencies:

    • "coveralls": "^3.0.5"
    • "rxjs": "^6.5.2"
    • "ts-jest": "^26.4.4"
    • "typeorm": "0.3.17"
    • "typescript": "^4.0.5"
    • "@nestjs/common": "^9.0.5",
    • "@nestjs/core": "9.4.3",
    • "@nestjs/testing": "^9.0.5",
    • "@nestjs/typeorm": "^7.1.0",

Improvements

  • Removed coveralls dependency and few overrides are added to fix security issues
  • Added npm-run-all2 to improve script management.
  • Modularized build scripts for better maintainability.
  • Improved cross-platform compatibility for script execution.
  • Implemented security overrides for dependencies.
  • Added cross-env to ensure setup:test script runs consistently across different environments.
  • Installed sqlite3 to enhance testing speed.
  • Updated ORM configuration to use an inbuilt SQLite database for optimized test performance.
  • Fixed and aligned test cases with the new setup.
  • Test coverage verified – all tests passed successfully.
    image image image

This PR enhances project stability, performance, and maintainability while ensuring smooth dependency upgrades and test execution. 🚀

Tekvology avatar Mar 09 '25 03:03 Tekvology