From 6f66d7d6951bf57bd75e023bdc04227f66f7cde3 Mon Sep 17 00:00:00 2001 From: Santosh Shinde Date: Fri, 17 May 2024 22:32:28 +0530 Subject: [PATCH 1/2] Fixed lint issues --- tests/helpers/Integration-helpers.ts | 2 +- tests/unit-tests/components/enquiry/EnquiryController.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/helpers/Integration-helpers.ts b/tests/helpers/Integration-helpers.ts index babfac4..f71438c 100644 --- a/tests/helpers/Integration-helpers.ts +++ b/tests/helpers/Integration-helpers.ts @@ -5,7 +5,7 @@ import logger from '../../src/lib/logger'; export default class IntegrationHelpers { - public static appInstance: express.Application; + private static appInstance: express.Application; public static async getApp(): Promise { if (this.appInstance) { diff --git a/tests/unit-tests/components/enquiry/EnquiryController.spec.ts b/tests/unit-tests/components/enquiry/EnquiryController.spec.ts index 532c7c2..29d2188 100644 --- a/tests/unit-tests/components/enquiry/EnquiryController.spec.ts +++ b/tests/unit-tests/components/enquiry/EnquiryController.spec.ts @@ -1,4 +1,4 @@ -import { NextFunction, Request, Response, Router } from 'express'; +import { NextFunction, Request, Response } from 'express'; import EnquiryController from '../../../../src/components/enquiry/EnquiryController'; import { EnquiryService } from '../../../../src/components/enquiry/EnquiryService'; import enquiries from '../../data/enquiry.json'; From b404a06f5d2f08b8b496617ed7954d2d23f04487 Mon Sep 17 00:00:00 2001 From: Santosh Shinde Date: Sat, 18 May 2024 21:21:41 +0530 Subject: [PATCH 2/2] update package json --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3474ec7..66409f9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [NodeSeQ](https://blog.santoshshinde.com/how-to-use-sequelize-with-typescript-node-js-and-postgresql-c6ff58a3af76) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=santoshshinde2012_node-ts-sequelize-pg-boilerplate&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=santoshshinde2012_node-ts-sequelize-pg-boilerplate)![Github action workflow status](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/ci.yml/badge.svg?branch=main)![CodeQL](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/codeql-analysis.yml/badge.svg?branch=main)![njsscan Analysis](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/njsscan.yml/badge.svg?branch=main)![Maintainability](https://api.codeclimate.com/v1/badges/ad13a11cffa2421a8220/maintainability)![Test Coverage](https://api.codeclimate.com/v1/badges/ad13a11cffa2421a8220/test_coverage) +# [NodeSeQ](https://blog.santoshshinde.com/how-to-use-sequelize-with-typescript-node-js-and-postgresql-c6ff58a3af76) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=santoshshinde2012_node-ts-sequelize-pg-boilerplate&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=santoshshinde2012_node-ts-sequelize-pg-boilerplate)![Github action workflow status](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/ci.yml/badge.svg?branch=main)![CodeQL](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/codeql-analysis.yml/badge.svg?branch=main)![njsscan Analysis](https://github.com/santoshshinde2012/node-ts-sequelize-pg-boilerplate/actions/workflows/njsscan.yml/badge.svg?branch=main)![Maintainability](https://api.codeclimate.com/v1/badges/ad13a11cffa2421a8220/maintainability)![Test Coverage](https://api.codeclimate.com/v1/badges/ad13a11cffa2421a8220/test_coverage)![Snykk](https://snyk.io/test/github/santoshshinde2012/node-ts-sequelize-pg-boilerplate/badge.svg?style=flat-square) Node boilerplate with secure code analysis and quality checks: **NodeSeQ** is a boilerplate for building Node.js apps using TypeScript and the Sequelize ORM. diff --git a/package.json b/package.json index 5b7e477..db3c1fa 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "node-typescript-boilerplate", + "name": "nodeseq", "version": "1.0.0", "description": "", "main": "index.js",