-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
3,803 additions
and
3,653 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Publish Docker image to Dockerhub | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
test: | ||
name: Run Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
cache: 'npm' | ||
- name: Install dev dependencies | ||
run: npm ci | ||
- name: Build Backend | ||
run: 'npm run build:backend' | ||
- name: Test Backend | ||
run: npm run test |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"reporter": "dot" | ||
"reporter": "dot", | ||
"extension": "ts", | ||
"import": "tsx/esm" | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v18.16.0 | ||
v18.19.1 |
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 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,43 @@ | ||
// @ts-check | ||
|
||
import eslint from '@eslint/js'; | ||
import tsEslint from 'typescript-eslint'; | ||
import arrow from 'eslint-plugin-prefer-arrow-functions'; | ||
|
||
export default tsEslint.config( | ||
eslint.configs.recommended, | ||
...tsEslint.configs.recommended, | ||
// use to enable typed linting (way more errors) https://typescript-eslint.io/linting/typed-linting | ||
/* ...tsEslint.configs.recommendedTypeChecked, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
project: true, | ||
tsconfigDirName: import.meta.dirname, | ||
}, | ||
}, | ||
},*/ | ||
{ | ||
files: ['src/backend/**/*.ts'], | ||
ignores: ['eslint.config.js'], | ||
plugins: { | ||
"prefer-arrow-functions": arrow | ||
}, | ||
rules: { | ||
'no-useless-catch': 'off', | ||
'@typescript-eslint/no-unused-vars': 'off', | ||
"prefer-arrow-functions/prefer-arrow-functions": [ | ||
"warn", | ||
{ | ||
"allowNamedFunctions": false, | ||
"classPropertiesAllowed": false, | ||
"disallowPrototype": false, | ||
"returnStyle": "unchanged", | ||
"singleReturnOnly": false | ||
} | ||
], | ||
"arrow-body-style": ["warn", "as-needed"], | ||
"@typescript-eslint/no-explicit-any": "warn" | ||
} | ||
} | ||
); |
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
Oops, something went wrong.