bump version

pull/462/head
undefined 2 years ago
parent c4dced87ff
commit 17def9cbb5

@ -1,7 +1,7 @@
{ {
"name": "@hydrooj/hydrojudge", "name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js", "bin": "bin/hydrojudge.js",
"version": "3.1.5", "version": "3.1.6",
"main": "package.json", "main": "package.json",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",

@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "4.3.0", "version": "4.3.1",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "src/plugin-api", "main": "src/plugin-api",
"module": "src/plugin-api", "module": "src/plugin-api",
@ -8,7 +8,7 @@
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"engines": { "engines": {
"node": ">=12" "node": ">=14"
}, },
"preferUnplugged": true, "preferUnplugged": true,
"dependencies": { "dependencies": {

@ -1,8 +1,5 @@
const versionNum = +process.version.replace(/v/gim, '').split('.')[0]; const versionNum = +process.version.replace(/v/gim, '').split('.')[0];
if (versionNum < 12) throw new Error('NodeJS >=12 required'); if (versionNum < 14) throw new Error('NodeJS >=14 required');
else if (versionNum < 14 && process.env.NODE_APP_INSTANCE === '0') {
console.warn('NodeJS version <14, startup performance will be impacted.');
}
console.log('Process', process.pid, 'running as', process.env.NODE_APP_INSTANCE === '0' ? 'master' : 'worker'); console.log('Process', process.pid, 'running as', process.env.NODE_APP_INSTANCE === '0' ? 'master' : 'worker');
if (!global.Hydro) { if (!global.Hydro) {

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/prom-client", "name": "@hydrooj/prom-client",
"version": "0.1.2", "version": "0.1.3",
"main": "index.ts", "main": "index.ts",
"dependencies": { "dependencies": {
"prom-client": "^14.1.0" "prom-client": "^14.1.0"

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.42.16", "version": "4.42.17",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "index.ts", "main": "index.ts",

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/utils", "name": "@hydrooj/utils",
"version": "1.4.3", "version": "1.4.4",
"description": "hydrooj utils", "description": "hydrooj utils",
"main": "lib/utils.ts", "main": "lib/utils.ts",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",

Loading…
Cancel
Save