mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-18 19:28:35 -05:00
Process Manager is now lib/process-manager.js It's been entirely rewritten to reflect what I think a process manager API should look like. In particular, there are now two Process Managers, QueryProcessManager and StreamProcessManager. Pass QueryProcessManager a pure-ish query function (sync or async) that takes a JSON value and returns a JSON value, and PM.query() will execute that function in a subprocess, and return a Promise for its return value. StreamProcessManager is the same idea: Pass it a function to create an ObjectReadWriteStream, and PM.createStream() will create a stream in a subprocess and return a stream connected to it.
38 lines
942 B
JSON
38 lines
942 B
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"],
|
|
"include": [
|
|
"./dev-tools/global.d.ts",
|
|
"./dev-tools/globals.ts",
|
|
"./dev-tools/node.d.ts",
|
|
"./sim/*.js",
|
|
"./lib/*.js",
|
|
"./dnsbl.js",
|
|
"./ladders-local.js",
|
|
"./ladders-remote.js",
|
|
"./ladders.js",
|
|
"./monitor.js",
|
|
"./loginserver.js",
|
|
"./rooms.js",
|
|
"./roomlogs.js",
|
|
"./chat-formatter.js",
|
|
"./room-game.js",
|
|
"./room-battle.js",
|
|
"./process-manager.js",
|
|
"./team-validator-async.js",
|
|
"./verifier.js",
|
|
"./chat.js",
|
|
"./users.js",
|
|
"./punishments.js"
|
|
]
|
|
}
|