Skip to content

Commit df40a3e

Browse files
authored
Merge pull request #142 from SeawolvesAtCali/single-room
Added support for single room mode. Server is default to host one room only and user's join request will join this room. Changed tictactoe server/client to single room mode.
2 parents 1926b1e + a3d9618 commit df40a3e

167 files changed

Lines changed: 7897 additions & 8448 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.

.vscode/launch.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,23 @@
55
"version": "0.2.0",
66
"configurations": [
77
{
8-
"type": "node",
8+
"name": "tic-tac-toe",
9+
"request": "launch",
10+
"runtimeArgs": ["run-script", "start:tic-tac-toe-server"],
11+
"runtimeExecutable": "npm",
12+
"skipFiles": ["<node_internals>/**"],
13+
"type": "pwa-node"
14+
},
15+
{
16+
"type": "pwa-node",
917
"request": "launch",
1018
"name": "Jest Current File",
11-
"program": "${workspaceFolder}/node_modules/.bin/jest",
12-
"args": ["${relativeFile}"],
19+
"runtimeArgs": ["jest", "${fileBasename}"],
20+
"runtimeExecutable": "npx",
21+
"skipFiles": ["<node_internals>/**"],
1322
"console": "integratedTerminal",
1423
"internalConsoleOptions": "neverOpen",
15-
"windows": {
16-
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
17-
}
24+
"cwd": "${fileDirname}"
1825
}
1926
]
2027
}

common/config/rush/browser-approved-packages.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
{
3838
"name": "@prisel/state",
39-
"allowedCategories": [ "prototype" ]
39+
"allowedCategories": [ "production", "prototype" ]
4040
},
4141
{
4242
"name": "@protobuf-ts/plugin",
@@ -96,7 +96,7 @@
9696
},
9797
{
9898
"name": "@types/lodash",
99-
"allowedCategories": [ "production", "tools" ]
99+
"allowedCategories": [ "production", "prototype", "tools" ]
100100
},
101101
{
102102
"name": "@types/long",
@@ -112,15 +112,15 @@
112112
},
113113
{
114114
"name": "@types/prismjs",
115-
"allowedCategories": [ "tools" ]
115+
"allowedCategories": [ "prototype", "tools" ]
116116
},
117117
{
118118
"name": "@types/react",
119-
"allowedCategories": [ "tools" ]
119+
"allowedCategories": [ "prototype", "tools" ]
120120
},
121121
{
122122
"name": "@types/react-dom",
123-
"allowedCategories": [ "tools" ]
123+
"allowedCategories": [ "prototype", "tools" ]
124124
},
125125
{
126126
"name": "@types/shortid",

0 commit comments

Comments
 (0)