Skip to content

Commit 5af7523

Browse files
Merge pull request #411 from tcet-opensource/development
BIWEEKLY MERGE
2 parents 84bebcb + 0cd3c68 commit 5af7523

File tree

141 files changed

+6047
-1105
lines changed

Some content is hidden

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

141 files changed

+6047
-1105
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
env:
1111
TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}
1212
DB_URL: ${{ secrets.DB_URL }}
13+
ENVIRONMENT: ${{ secrets.ENVIRONMENT }}
1314

1415
permissions:
1516
contents: read

.husky/pre-commit

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
# npm test
5+
npx lint-staged
6+
7+
if [ "$(uname)" == "Darwin" ]; then
8+
npm run test
9+
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
10+
npm run test
11+
elif [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then
12+
npm run testWin
13+
fi

.lintstagedrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"*.js": [
3+
"prettier --write",
4+
"eslint --fix"
5+
]
6+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ node -e "console.log(require('crypto').randomBytes(256).toString('base64'));
4444
You don't need to assign values to these parameters in double or single quotes, just write directly, .env automatically converts it into quoted string.
4545

4646
Once you are done with this, install the packages through `npm ci` which stands for clean install.
47-
Also, you need to run 'setup.js' file. You can do that by running following command in your terminal
47+
Also you need to run the following command to check for you eslint and jest testcases:
4848
```
49-
node setup.js
49+
npm run prepare
5050
```
5151
And finally, run the server with `npm run serverstart` or `npm run serverstartWin` depending on your operating system.
5252

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ The project is still in its development phase, so plase report issues only if th
66

77
## Reporting a Vulnerability
88

9-
Please report (suspected) security vulnerabilities to **[me](mailto:[email protected])**. You will probably receive a response from me within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.
9+
Please report (suspected) security vulnerabilities to **[me](mailto:[email protected])**. You will probably receive a response from me within 48 hours. If the issue is confirmed, we will release a patch as soon as possible depending on complexity but historically within a few days.

0 commit comments

Comments
 (0)