Skip to content

Commit d3bc2f0

Browse files
committed
Merge branch 'dev' into #159-add-typescript-support
2 parents 052d144 + db03037 commit d3bc2f0

35 files changed

+1490
-581
lines changed

.env.example

+7
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ CORS_WHITELIST=[CORS 정책에서 허용하는 도메인의 목록(e.g. ["http:/
1616
GOOGLE_APPLICATION_CREDENTIALS=[GOOGLE_APPLICATION_CREDENTIALS JSON]
1717
TEST_ACCOUNTS=[스팍스SSO로 로그인시 무조건 테스트로 로그인이 가능한 허용 아이디 목록]
1818
SLACK_REPORT_WEBHOOK_URL=[Slack 웹훅 URL들이 담긴 JSON]
19+
20+
# optional environment variables for taxiSampleGenerator
21+
SAMPLE_NUM_OF_ROOMS=[방의 개수]
22+
SAMPLE_NUM_OF_CHATS=[각 방의 채팅 개수]
23+
SAMPLE_MAXIMUM_INTERVAL_BETWEEN_CHATS=[채팅 간 최대 시간 간격(단위: 초, 실수도 가능)]
24+
SAMPLE_OCCURENCE_OF_JOIN=[새로운 채팅이 입장 메세지일 확률(0 ~ 1 사이의 값)]
25+
SAMPLE_OCCURENCE_OF_ABORT=[새로운 채팅이 퇴장 메세지일 확률(0 ~ 1 사이의 값)]

.github/workflows/test_ci.yml

-14
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,6 @@ jobs:
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
cache: 'pnpm'
34-
- id: submodule-local
35-
name: Save local version of submodule
36-
run: echo "ver=`cd sampleGenerator && git log --pretty="%h" -1 && cd ..`" >> $GITHUB_OUTPUT
37-
- id: submodule-origin
38-
name: Save origin version of submodule
39-
run: echo "ver=`cd sampleGenerator && git log origin --pretty="%h" -1 && cd ..`" >> $GITHUB_OUTPUT
40-
- name: Check submodule version
41-
if: ${{ steps.submodule-local.outputs.ver != steps.submodule-origin.outputs.ver }}
42-
uses: actions/github-script@v3
43-
with:
44-
script: |
45-
core.setFailed('Please update submodule to the latest version by using \"git submodule update --remote\"')
46-
- name: Install sampleGenerator dependencies from package-lock.json
47-
run: cd sampleGenerator && pnpm i --force --frozen-lockfile && cd ..
4834
- name: Install taxi-back dependencies from package-lock.json
4935
run: pnpm i --force --frozen-lockfile
5036
- name: Run unit tests

.gitmodules

-4
This file was deleted.

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ See [contributors](https://github.com/sparcs-kaist/taxi-front/graphs/contributor
4949
- app : https://github.com/sparcs-kaist/taxi-app
5050
- docker : https://github.com/sparcs-kaist/taxi-docker
5151
- figma : https://www.figma.com/file/li34hP1oStJAzLNjcG5KjN/SPARCS-Taxi?node-id=0%3A1
52-
- taxiSampleGenerator : https://github.com/sparcs-kaist/taxiSampleGenerator

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"clean": "rimraf dist/",
1515
"serve": "cross-env TZ='Asia/Seoul' NODE_ENV=production node dist/index.js",
1616
"lint": "pnpm eslint .",
17-
"sample": "cd sampleGenerator && npm start && cd .."
17+
"runscript": "cross-env TZ='Asia/Seoul' NODE_ENV=production node",
18+
"sample": "cd src/sampleGenerator && npm start && cd .."
1819
},
1920
"engines": {
2021
"node": ">=18.0.0",
@@ -75,6 +76,7 @@
7576
"eslint-plugin-import": "^2.29.0",
7677
"eslint-plugin-mocha": "^10.1.0",
7778
"mocha": "^10.2.0",
79+
"mongodb": "^4.1.0",
7880
"nodemon": "^3.0.1",
7981
"rimraf": "^5.0.5",
8082
"supertest": "^6.2.4",

0 commit comments

Comments
 (0)