generated from kir-dev/next-nest-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/staging' into feat/idNumbers
- Loading branch information
Showing
95 changed files
with
12,780 additions
and
8,203 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ on: | |
push: | ||
branches: | ||
- main | ||
- dev | ||
- staging | ||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
- staging | ||
|
||
jobs: | ||
lint-check: | ||
|
@@ -23,6 +23,12 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Use Yarn v4 | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
|
@@ -41,6 +47,12 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Use Yarn v4 | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
|
@@ -62,8 +74,18 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
|
||
- name: Use Yarn v4 | ||
run: corepack prepare [email protected] --activate | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Generate Prisma Client | ||
working-directory: apps/backend | ||
run: yarn prisma generate | ||
|
||
- name: Build | ||
run: yarn build:backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: schbody-dev-db | ||
|
||
services: | ||
postgres: | ||
image: postgres:13.10 | ||
restart: always | ||
environment: | ||
POSTGRES_USER: ${POSTGRES_USER} | ||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} | ||
POSTGRES_DB: ${POSTGRES_DB} | ||
ports: | ||
- '5432:5432' | ||
volumes: | ||
- postgres_data:/var/lib/postgresql/data | ||
|
||
volumes: | ||
postgres_data: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: schbody | ||
|
||
services: | ||
app: | ||
build: | ||
context: . | ||
ports: | ||
- '${BACKEND_PORT}:${BACKEND_PORT}' | ||
env_file: | ||
- .env | ||
restart: always | ||
depends_on: | ||
- db | ||
|
||
db: | ||
image: postgres:13.10 | ||
env_file: | ||
- .env | ||
restart: always | ||
ports: | ||
- '${POSTGRES_PORT}:${POSTGRES_PORT}' | ||
volumes: | ||
- schbody_db_folder:/var/lib/postgresql/data | ||
|
||
volumes: | ||
schbody_db_folder: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
import js from '@eslint/js'; | ||
import typescriptEslintEslintPlugin from '@typescript-eslint/eslint-plugin'; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
const config = [ | ||
{ | ||
ignores: ['**/.prettierrc.js'], | ||
}, | ||
...compat.extends('plugin:@typescript-eslint/recommended', 'nestjs', 'plugin:@next/next/recommended'), | ||
{ | ||
plugins: { | ||
'@typescript-eslint': typescriptEslintEslintPlugin, | ||
}, | ||
|
||
languageOptions: { | ||
parser: tsParser, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
|
||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}, | ||
|
||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/no-empty-function': 'off', | ||
'@typescript-eslint/no-extra-semi': 'off', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
}, | ||
}, | ||
]; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.