Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ lerna-debug.log*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/extensions.json

.scannerwork
58 changes: 58 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
stages:
- dependencies
- build
- test

install_dependencies:
stage: dependencies
image: "node:18-alpine"
script:
- npm ci
cache:
key:
files:
- package-lock.json
paths:
- node_modules

build:
image: "node:18-alpine"
stage: build
script:
- npm run build
cache:
key:
files:
- package-lock.json
paths:
- node_modules
policy: pull

unit-tests:
stage: test
script:
- npm run test:cov
cache:
key:
files:
- package-lock.json
paths:
- node_modules
policy: pull

linting:
stage: test
script:
- npm run lint
cache:
key:
files:
- package-lock.json
paths:
- node_modules
policy: pull

audit:
stage: test
script:
- npm audit
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

npm run lint
npm run format
6 changes: 6 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

npm run lint
npm run format
npm run test:cov
npm audit
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### 0.0.1 (2023-06-10)


### Features

* add auth decorator ([bb19b04](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/bb19b040f04d0b76d8ea12c8e0fd5f593c681073))
* add custom exception ([02af1ac](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/02af1ac28c9c23bbce3c8e7770268e0e446e1dbe))
* add dynamic module ([4a9699e](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/4a9699e98ac801ae30fcab3639ff719880ce92e0))
* add pipes ([00d767b](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/00d767b0d231f2b4190299a34c5aebf40c5b7be4))
* add providers ([e3904fc](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/e3904fcfcce0bcab3274bff537b79dd7458bd7a5))
* serverless lab ([0236069](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/0236069b873864e014af70df3859a9f53dd723ce))
* SQS/SQS lab ([6c9527d](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/6c9527deddc0a483c19750d71d8378d9ff70af42))
* SQS/SQS lab ([4551e98](https://github.com/EPAM-JS-Competency-center/nestjs-rest-api/commit/4551e98cab24739e598f175eef502ab5e5c71525))
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
Loading