oauth map

This commit is contained in:
undefined committed 2020-08-20 08:53:26 +08:00
1 parent 6b92b96225
commit 71de49fc49
15 files changed
+66 -30

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/hydrojudge",
"version": "2.0.4",
"version": "2.0.5",
"main": "package.json",
"author": "masnn",
"os": [
@@ -11,13 +11,13 @@ import { homedir, tmpdir } from 'os';
async function postInit() {
// Only start a single daemon
if (!cluster.isFirstWorker) return;
const { compilerText } = require('./src/utils');
const tmpfs = require('./src/tmpfs');
const { FormatError, CompileError, SystemError } = require('./src/error');
const { compilerText } = require('./utils');
const tmpfs = require('./tmpfs');
const { FormatError, CompileError, SystemError } = require('./error');
const { STATUS_COMPILE_ERROR, STATUS_SYSTEM_ERROR } = global.Hydro.model.builtin.STATUS;
const readYamlCases = require('./src/cases');
const judge = require('./src/judge');
const sysinfo = require('./src/sysinfo');
const readYamlCases = require('./cases');
const judge = require('./judge');
const sysinfo = require('./sysinfo');
const { problem, file, task } = global.Hydro.model;
const _judge = global.Hydro.handler.judge as any;
+2 -8
View File
@@ -2,8 +2,8 @@
"compilerOptions": {
"target": "es2018",
"module": "commonjs",
"outDir": ".",
"rootDir": ".",
"outDir": "dist",
"rootDir": "src",
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
@@ -12,13 +12,7 @@
"resolveJsonModule": true
},
"include": [
"service.ts",
"src"
],
"paths": {
"src/*": [
"dist/*"
]
},
"exclude": []
}