Skip to content

Commit 5ef20c5

Browse files
authored
Merge pull request #2 from fells-code/open-api-addition
Feat: Add openAPI
2 parents ddb0e99 + a0d2301 commit 5ef20c5

101 files changed

Lines changed: 5562 additions & 8879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: npm run format
2929

3030
- name: Run Tests with Coverage
31-
run: npm test
31+
run: npm run coverage
3232

3333
- name: Run type checks
3434
run: npm run typecheck

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
tests
2+
src
3+
vitest.config.ts
4+
tsconfig.json

.sequelizerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require('dotenv').config();
33
const path = require('path');
44

55
module.exports = {
6-
config: path.resolve('src/config/config.js'),
6+
config: path.resolve('src/config/config.cjs'),
77
'models-path': path.resolve('src/models'),
88
'seeders-path': path.resolve('src/seeders'),
99
'migrations-path': path.resolve('src/migrations'),

Dockerfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55
RUN apk add --no-cache postgresql-client netcat-openbsd
66

77
COPY package.json package-lock.json* ./
8-
RUN npm i
8+
RUN npm ci
99

1010
COPY . .
1111
RUN mkdir -p ./keys

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
postgres:
1818
condition: service_healthy
1919
healthcheck:
20-
test: ['CMD', 'node', 'dist/healthCheck.js']
20+
test: ['CMD', 'node', './healthCheck.js']
2121
interval: 30s
2222
timeout: 5s
2323
retries: 3

eslint.config.mjs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@ import js from '@eslint/js';
22
import tsPlugin from '@typescript-eslint/eslint-plugin';
33
import tsParser from '@typescript-eslint/parser';
44
import simpleImportSort from 'eslint-plugin-simple-import-sort';
5-
import pluginJest from 'eslint-plugin-jest';
65

76
export default [
87
{
98
ignores: ['dist/**', 'node_modules/**', 'coverage/**', '**.config.**', 'tests/**'],
109
},
1110
{
1211
files: ['**/*.spec.js', '**/*.test.js', '**/*.spec.ts', '**/*.test.ts'],
13-
plugins: { jest: pluginJest },
14-
languageOptions: {
15-
globals: pluginJest.environments.globals.globals,
16-
},
1712
rules: {
1813
'jest/no-disabled-tests': 'warn',
1914
'jest/no-focused-tests': 'error',

0 commit comments

Comments
 (0)