mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-24 06:49:11 -05:00
- The big change here is that player.userid can now be empty. You can now fit state into RoomGamePlayer subclasses even when there are no users associated with them. - `game.players` has been introduced as the new canonical list of players, including userless players. The old `game.players` has been renamed `game.playerTable`, for clarity. - `game.addPlayer` now returns the added player All existing RoomGames have been updated for the new API, and RoomBattle is now officially a RoomGame subclass. Tournaments was also massively refactored to be properly updated for the old API, since that never happened, and should now be a lot more readable.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"lib": ["es2015", "es2016.array.include", "es2017.object"],
|
|
"noEmit": true,
|
|
"target": "esnext",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"strict": true,
|
|
"allowJs": true,
|
|
"checkJs": true
|
|
},
|
|
"types": ["node"],
|
|
"exclude": [
|
|
"./.*-dist/**/*",
|
|
"./server/index.js",
|
|
"./server/chat-commands.js"
|
|
],
|
|
"include": [
|
|
"./server/tournaments/lib/treenode.d.ts",
|
|
"./config/formats.js",
|
|
"./data/*",
|
|
"./data/mods/*/*",
|
|
"./dev-tools/*.ts",
|
|
"./lib/*",
|
|
"./server/*",
|
|
"./server/chat-plugins/chat-monitor.js",
|
|
"./server/chat-plugins/daily-spotlight.js",
|
|
"./server/chat-plugins/hangman.js",
|
|
"./server/chat-plugins/helptickets.js",
|
|
"./server/chat-plugins/mafia-data.js",
|
|
"./server/chat-plugins/mafia.js",
|
|
"./server/chat-plugins/othermetas.js",
|
|
"./server/chat-plugins/poll.js",
|
|
"./server/chat-plugins/room-faqs.js",
|
|
"./server/chat-plugins/thecafe.js",
|
|
"./server/chat-plugins/thing-of-the-day.js",
|
|
"./server/chat-plugins/uno.js",
|
|
"./server/chat-plugins/wifi.js",
|
|
"./server/tournaments/*.js",
|
|
"./sim/**/*"
|
|
]
|
|
}
|