bump version

pull/468/head
undefined 2 years ago
parent c2f5541e83
commit a24fec2e7c

@ -1,9 +1,10 @@
const globby = require('globby'); import { SpawnOptions } from 'child_process';
const spawn = require('cross-spawn'); 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, { return globby(require('../package.json').workspaces, {
cwd, cwd,
deep: 0, deep: 0,
@ -12,9 +13,9 @@ function getWorkspaces() {
}); });
} }
function spawnAsync(command, path) { export function spawnAsync(command, path) {
const args = command.split(/\s+/); const args = command.split(/\s+/);
const options = { stdio: 'inherit' }; const options: SpawnOptions = { stdio: 'inherit' };
if (path) options.cwd = path; if (path) options.cwd = path;
const child = spawn(args[0], args.slice(1), options); const child = spawn(args[0], args.slice(1), options);
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@ -22,7 +23,3 @@ function spawnAsync(command, path) {
child.on('error', reject); child.on('error', reject);
}); });
} }
module.exports = {
cwd, spawnAsync, getWorkspaces,
};

@ -52,7 +52,7 @@
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "8.0.0", "eslint-plugin-simple-import-sort": "8.0.0",
"fs-extra": "^10.1.0", "fs-extra": "^10.1.0",
"globby": "11.1.0", "globby": "13.1.2",
"latest-version": "7.0.0", "latest-version": "7.0.0",
"mocha": "^10.1.0", "mocha": "^10.1.0",
"mongodb": "^3.7.3", "mongodb": "^3.7.3",

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/center", "name": "@hydrooj/center",
"version": "0.2.1", "version": "0.2.2",
"main": "index.ts", "main": "index.ts",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/fps-importer", "name": "@hydrooj/fps-importer",
"version": "1.5.1", "version": "1.5.2",
"description": "Import FPS problems", "description": "Import FPS problems",
"main": "index.ts", "main": "index.ts",
"repository": "https://github.com/hydro-dev/Hydro.git", "repository": "https://github.com/hydro-dev/Hydro.git",

@ -1,7 +1,7 @@
{ {
"name": "@hydrooj/hydrojudge", "name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js", "bin": "bin/hydrojudge.js",
"version": "3.1.8", "version": "3.1.9",
"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",
@ -15,7 +15,7 @@
"p-queue": "^7.3.0", "p-queue": "^7.3.0",
"schemastery": "^3.5.4", "schemastery": "^3.5.4",
"shell-quote": "^1.7.4", "shell-quote": "^1.7.4",
"superagent": "^8.0.3", "superagent": "^8.0.4",
"ws": "^8.11.0" "ws": "^8.11.0"
}, },
"preferUnplugged": true, "preferUnplugged": true,
@ -23,7 +23,7 @@
"devDependencies": { "devDependencies": {
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",
"@types/js-yaml": "^4.0.5", "@types/js-yaml": "^4.0.5",
"@types/lodash": "^4.14.189", "@types/lodash": "^4.14.190",
"@types/shell-quote": "^1.7.1", "@types/shell-quote": "^1.7.1",
"@types/ws": "^8.5.3" "@types/ws": "^8.5.3"
} }

@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "4.3.2", "version": "4.4.0",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "src/plugin-api", "main": "src/plugin-api",
"module": "src/plugin-api", "module": "src/plugin-api",
@ -12,11 +12,11 @@
}, },
"preferUnplugged": true, "preferUnplugged": true,
"dependencies": { "dependencies": {
"@aws-sdk/client-s3": "^3.215.0", "@aws-sdk/client-s3": "^3.216.0",
"@aws-sdk/lib-storage": "^3.215.0", "@aws-sdk/lib-storage": "^3.216.0",
"@aws-sdk/middleware-endpoint": "^3.215.0", "@aws-sdk/middleware-endpoint": "^3.215.0",
"@aws-sdk/s3-presigned-post": "^3.215.0", "@aws-sdk/s3-presigned-post": "^3.216.0",
"@aws-sdk/s3-request-presigner": "^3.215.0", "@aws-sdk/s3-request-presigner": "^3.216.0",
"@graphql-tools/schema": "^9.0.10", "@graphql-tools/schema": "^9.0.10",
"@hydrooj/utils": "workspace:*", "@hydrooj/utils": "workspace:*",
"adm-zip": "0.5.5", "adm-zip": "0.5.5",
@ -51,7 +51,7 @@
"schemastery": "^3.5.4", "schemastery": "^3.5.4",
"semver": "^7.3.8", "semver": "^7.3.8",
"serialize-javascript": "^6.0.0", "serialize-javascript": "^6.0.0",
"superagent": "^8.0.3", "superagent": "^8.0.4",
"tar": "^6.1.12", "tar": "^6.1.12",
"thirty-two": "^1.0.2", "thirty-two": "^1.0.2",
"ws": "^8.11.0" "ws": "^8.11.0"
@ -64,7 +64,7 @@
"@types/koa-compress": "^4.0.3", "@types/koa-compress": "^4.0.3",
"@types/koa-router": "^7.4.4", "@types/koa-router": "^7.4.4",
"@types/koa-static-cache": "^5.1.1", "@types/koa-static-cache": "^5.1.1",
"@types/lodash": "^4.14.189", "@types/lodash": "^4.14.190",
"@types/mime-types": "^2.1.1", "@types/mime-types": "^2.1.1",
"@types/mongodb": "^3.6.20", "@types/mongodb": "^3.6.20",
"@types/nodemailer": "^6.4.6", "@types/nodemailer": "^6.4.6",
@ -72,7 +72,7 @@
"@types/saslprep": "^1.0.1", "@types/saslprep": "^1.0.1",
"@types/semver": "^7.3.13", "@types/semver": "^7.3.13",
"@types/serialize-javascript": "^5.0.2", "@types/serialize-javascript": "^5.0.2",
"@types/superagent": "^4.1.15", "@types/superagent": "^4.1.16",
"@types/tar": "^6.1.3", "@types/tar": "^6.1.3",
"moment": "^2.29.4" "moment": "^2.29.4"
} }

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/migrate", "name": "@hydrooj/migrate",
"version": "0.2.1", "version": "0.2.2",
"main": "index.ts", "main": "index.ts",
"repository": "git@github.com:hydro-dev/Hydro.git", "repository": "git@github.com:hydro-dev/Hydro.git",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",

@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/prom-client", "name": "@hydrooj/prom-client",
"version": "0.1.3", "version": "0.1.4",
"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.18", "version": "4.42.19",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "index.ts", "main": "index.ts",
@ -52,7 +52,7 @@
"fancy-log": "^2.0.0", "fancy-log": "^2.0.0",
"flatpickr": "^4.6.13", "flatpickr": "^4.6.13",
"friendly-errors-webpack-plugin": "^1.7.0", "friendly-errors-webpack-plugin": "^1.7.0",
"graphiql": "2.1.0", "graphiql": "2.2.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-iconfont": "^11.0.1", "gulp-iconfont": "^11.0.1",
"gulp-if": "^3.0.0", "gulp-if": "^3.0.0",

@ -14,7 +14,7 @@
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"moment-timezone": "^0.5.39", "moment-timezone": "^0.5.39",
"mongodb": "^3.7.3", "mongodb": "^3.7.3",
"reggol": "^1.3.1", "reggol": "^1.3.2",
"source-map-support": "^0.5.21", "source-map-support": "^0.5.21",
"systeminformation": "^5.14.4" "systeminformation": "^5.14.4"
}, },

@ -15,12 +15,12 @@
"puppeteer-extra": "3.3.0", "puppeteer-extra": "3.3.0",
"puppeteer-extra-plugin-portal": "3.1.0", "puppeteer-extra-plugin-portal": "3.1.0",
"puppeteer-extra-plugin-stealth": "2.10.1", "puppeteer-extra-plugin-stealth": "2.10.1",
"superagent": "^8.0.3", "superagent": "^8.0.4",
"superagent-proxy": "^3.0.0" "superagent-proxy": "^3.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/jsdom": "^20.0.1", "@types/jsdom": "^20.0.1",
"@types/superagent": "^4.1.15", "@types/superagent": "^4.1.16",
"@types/superagent-proxy": "^3.0.0" "@types/superagent-proxy": "^3.0.0"
} }
} }

Loading…
Cancel
Save