mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
bump version
This commit is contained in:
1 parent
c2f5541e83
commit
a24fec2e7c
11 files changed
+28
-31
No files matched your search
@@ -1,9 +1,10 @@
|
||||
const globby = require('globby');
|
||||
const spawn = require('cross-spawn');
|
||||
import { SpawnOptions } from 'child_process';
|
||||
import spawn from 'cross-spawn';
|
||||
import { globby } from 'globby';
|
||||
|
||||
const cwd = process.cwd();
|
||||
export const cwd = process.cwd();
|
||||
|
||||
function getWorkspaces() {
|
||||
export function getWorkspaces() {
|
||||
return globby(require('../package.json').workspaces, {
|
||||
cwd,
|
||||
deep: 0,
|
||||
@@ -12,9 +13,9 @@ function getWorkspaces() {
|
||||
});
|
||||
}
|
||||
|
||||
function spawnAsync(command, path) {
|
||||
export function spawnAsync(command, path) {
|
||||
const args = command.split(/\s+/);
|
||||
const options = { stdio: 'inherit' };
|
||||
const options: SpawnOptions = { stdio: 'inherit' };
|
||||
if (path) options.cwd = path;
|
||||
const child = spawn(args[0], args.slice(1), options);
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -22,7 +23,3 @@ function spawnAsync(command, path) {
|
||||
child.on('error', reject);
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
cwd, spawnAsync, getWorkspaces,
|
||||
};
|
||||
+1
-1
@@ -52,7 +52,7 @@
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-simple-import-sort": "8.0.0",
|
||||
"fs-extra": "^10.1.0",
|
||||
"globby": "11.1.0",
|
||||
"globby": "13.1.2",
|
||||
"latest-version": "7.0.0",
|
||||
"mocha": "^10.1.0",
|
||||
"mongodb": "^3.7.3",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/center",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/fps-importer",
|
||||
"version": "1.5.1",
|
||||
"version": "1.5.2",
|
||||
"description": "Import FPS problems",
|
||||
"main": "index.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hydrooj/hydrojudge",
|
||||
"bin": "bin/hydrojudge.js",
|
||||
"version": "3.1.8",
|
||||
"version": "3.1.9",
|
||||
"main": "package.json",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
@@ -15,7 +15,7 @@
|
||||
"p-queue": "^7.3.0",
|
||||
"schemastery": "^3.5.4",
|
||||
"shell-quote": "^1.7.4",
|
||||
"superagent": "^8.0.3",
|
||||
"superagent": "^8.0.4",
|
||||
"ws": "^8.11.0"
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
@@ -23,7 +23,7 @@
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/lodash": "^4.14.189",
|
||||
"@types/lodash": "^4.14.190",
|
||||
"@types/shell-quote": "^1.7.1",
|
||||
"@types/ws": "^8.5.3"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "4.3.2",
|
||||
"version": "4.4.0",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/plugin-api",
|
||||
"module": "src/plugin-api",
|
||||
@@ -12,11 +12,11 @@
|
||||
},
|
||||
"preferUnplugged": true,
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.215.0",
|
||||
"@aws-sdk/lib-storage": "^3.215.0",
|
||||
"@aws-sdk/client-s3": "^3.216.0",
|
||||
"@aws-sdk/lib-storage": "^3.216.0",
|
||||
"@aws-sdk/middleware-endpoint": "^3.215.0",
|
||||
"@aws-sdk/s3-presigned-post": "^3.215.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.215.0",
|
||||
"@aws-sdk/s3-presigned-post": "^3.216.0",
|
||||
"@aws-sdk/s3-request-presigner": "^3.216.0",
|
||||
"@graphql-tools/schema": "^9.0.10",
|
||||
"@hydrooj/utils": "workspace:*",
|
||||
"adm-zip": "0.5.5",
|
||||
@@ -51,7 +51,7 @@
|
||||
"schemastery": "^3.5.4",
|
||||
"semver": "^7.3.8",
|
||||
"serialize-javascript": "^6.0.0",
|
||||
"superagent": "^8.0.3",
|
||||
"superagent": "^8.0.4",
|
||||
"tar": "^6.1.12",
|
||||
"thirty-two": "^1.0.2",
|
||||
"ws": "^8.11.0"
|
||||
@@ -64,7 +64,7 @@
|
||||
"@types/koa-compress": "^4.0.3",
|
||||
"@types/koa-router": "^7.4.4",
|
||||
"@types/koa-static-cache": "^5.1.1",
|
||||
"@types/lodash": "^4.14.189",
|
||||
"@types/lodash": "^4.14.190",
|
||||
"@types/mime-types": "^2.1.1",
|
||||
"@types/mongodb": "^3.6.20",
|
||||
"@types/nodemailer": "^6.4.6",
|
||||
@@ -72,7 +72,7 @@
|
||||
"@types/saslprep": "^1.0.1",
|
||||
"@types/semver": "^7.3.13",
|
||||
"@types/serialize-javascript": "^5.0.2",
|
||||
"@types/superagent": "^4.1.15",
|
||||
"@types/superagent": "^4.1.16",
|
||||
"@types/tar": "^6.1.3",
|
||||
"moment": "^2.29.4"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/migrate",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"main": "index.ts",
|
||||
"repository": "git@github.com:hydro-dev/Hydro.git",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/prom-client",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"main": "index.ts",
|
||||
"dependencies": {
|
||||
"prom-client": "^14.1.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.42.18",
|
||||
"version": "4.42.19",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "index.ts",
|
||||
@@ -52,7 +52,7 @@
|
||||
"fancy-log": "^2.0.0",
|
||||
"flatpickr": "^4.6.13",
|
||||
"friendly-errors-webpack-plugin": "^1.7.0",
|
||||
"graphiql": "2.1.0",
|
||||
"graphiql": "2.2.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-iconfont": "^11.0.1",
|
||||
"gulp-if": "^3.0.0",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"js-yaml": "^4.1.0",
|
||||
"moment-timezone": "^0.5.39",
|
||||
"mongodb": "^3.7.3",
|
||||
"reggol": "^1.3.1",
|
||||
"reggol": "^1.3.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"systeminformation": "^5.14.4"
|
||||
},
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
"puppeteer-extra": "3.3.0",
|
||||
"puppeteer-extra-plugin-portal": "3.1.0",
|
||||
"puppeteer-extra-plugin-stealth": "2.10.1",
|
||||
"superagent": "^8.0.3",
|
||||
"superagent": "^8.0.4",
|
||||
"superagent-proxy": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jsdom": "^20.0.1",
|
||||
"@types/superagent": "^4.1.15",
|
||||
"@types/superagent": "^4.1.16",
|
||||
"@types/superagent-proxy": "^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user