mirror of
https://github.com/whyour/qinglong.git
synced 2026-11-30 16:27:21 +08:00
Upgrade SQLite to 1.1.5 and tar to 7.5.23 without a tar override. Update Umi, React Router, uuid, lint-staged and compatible transitive security fixes while retaining the existing ProLayout version. Constrain script file operations to checked paths, serialize Python environment values safely, and keep resource-intensive API limits with room for normal bulk use. Avoid dynamic child-process code in upgrade tests and load offline installer scripts from a fixed working directory. Cover dependency compatibility, rate limits, offline recovery and npm packaging, including the decoder patch required by existing Umi consumers.
258 lines
8.0 KiB
JSON
258 lines
8.0 KiB
JSON
{
|
|
"name": "@whyour/qinglong",
|
|
"packageManager": "pnpm@8.3.1",
|
|
"version": "2.25.0-rc.1",
|
|
"description": "Timed task management platform supporting Python3, JavaScript, Shell, Typescript",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/whyour/qinglong.git"
|
|
},
|
|
"author": "whyour",
|
|
"license": "Apache License 2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/whyour/qinglong/issues"
|
|
},
|
|
"files": [
|
|
".env.example",
|
|
"back/protos/api.proto",
|
|
"cli/src/internal/maintenance/*.cjs",
|
|
"ecosystem.config.js",
|
|
"patches/*.patch",
|
|
"README*.md",
|
|
"sample/*.sample.*",
|
|
"sample/notify.js",
|
|
"sample/notify.py",
|
|
"sample/ql_sample.js",
|
|
"sample/ql_sample.py",
|
|
"shell/*.cjs",
|
|
"shell/api.sh",
|
|
"shell/bot.sh",
|
|
"shell/check.sh",
|
|
"shell/cron-command.py",
|
|
"shell/env.sh",
|
|
"shell/lang/*.sh",
|
|
"shell/node_path_cache.sh",
|
|
"shell/otask.sh",
|
|
"shell/preload/client.js",
|
|
"shell/preload/client.py",
|
|
"shell/preload/esm-loader.mjs",
|
|
"shell/preload/notificationAudit.js",
|
|
"shell/preload/sitecustomize.js",
|
|
"shell/preload/script-start.cjs",
|
|
"shell/preload/sitecustomize.py",
|
|
"shell/rmlog.sh",
|
|
"shell/share.sh",
|
|
"shell/start-simplify.sh",
|
|
"shell/start.sh",
|
|
"shell/system-cron.sh",
|
|
"shell/subscription-files.py",
|
|
"shell/task.sh",
|
|
"shell/task-timeout.sh",
|
|
"shell/update.sh",
|
|
"shell/upgrade-lock.yaml",
|
|
"static/",
|
|
"version.yaml"
|
|
],
|
|
"scripts": {
|
|
"build:cli": "node cli/scripts/build.cjs",
|
|
"check:cli": "npm --prefix cli run check",
|
|
"test:cli": "npm run build:cli && node cli/scripts/test.cjs",
|
|
"cli": "node cli/dist/index.js",
|
|
"start": "concurrently -n back,front npm:start:back npm:start:front",
|
|
"start:back": "nodemon ./back/app.ts",
|
|
"start:front": "max dev",
|
|
"build:front": "max build",
|
|
"build:back": "tsc -p back/tsconfig.json",
|
|
"test": "TS_NODE_PROJECT=back/tsconfig.json node -r ts-node/register/transpile-only --test test/back/*.test.cjs test/front/*.test.cjs",
|
|
"benchmark:execution": "TS_NODE_PROJECT=back/tsconfig.json node -r ts-node/register/transpile-only scripts/benchmark-execution.cjs",
|
|
"build:info": "node scripts/write-build-info.cjs",
|
|
"panel": "npm run build:back && node static/build/app.js",
|
|
"gen:proto": "protoc --experimental_allow_proto3_optional --plugin=./node_modules/.bin/protoc-gen-ts_proto ./back/protos/*.proto --ts_proto_out=./ --ts_proto_opt=outputServices=grpc-js,env=node,esModuleInterop=true,snakeToCamel=false",
|
|
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
|
|
"prepack": "node scripts/prepare-npm-package.cjs",
|
|
"postpack": "node scripts/prepare-npm-package.cjs --clean",
|
|
"postinstall": "node -e \"const fs = require('fs'); if (fs.existsSync('shell/install-package.cjs')) require('./shell/install-package.cjs').installPackage(); else fs.accessSync('pnpm-lock.yaml')\" && (max setup 2>/dev/null || true)",
|
|
"start:simple": "bash shell/start-simplify.sh"
|
|
},
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,less,md,json}": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts?(x)": [
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"bin": {
|
|
"ql": "shell/update.sh",
|
|
"task": "shell/task.sh",
|
|
"qinglong": "shell/start.sh"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"react",
|
|
"react-dom",
|
|
"antd",
|
|
"dva",
|
|
"postcss",
|
|
"webpack",
|
|
"eslint",
|
|
"stylelint",
|
|
"redux",
|
|
"@babel/core",
|
|
"monaco-editor",
|
|
"rc-field-form",
|
|
"@types/lodash.merge",
|
|
"rollup",
|
|
"styled-components"
|
|
],
|
|
"allowedVersions": {
|
|
"react": "18",
|
|
"react-dom": "18",
|
|
"dva-core": "2"
|
|
}
|
|
},
|
|
"overrides": {
|
|
"sqlite3": "npm:@whyour/sqlite3@1.1.5",
|
|
"@codemirror/state": "6.5.4",
|
|
"@codemirror/view": "6.39.16",
|
|
"axios@0": "0.34.0",
|
|
"immer@8": "9.0.21",
|
|
"vite@7": "7.3.7",
|
|
"decode-uri-component": "0.5.1",
|
|
"path-to-regexp@1": "1.9.0",
|
|
"path-to-regexp@2": "3.3.0",
|
|
"path-to-regexp@8": "8.4.0",
|
|
"celebrate>lodash": "4.18.0"
|
|
},
|
|
"patchedDependencies": {
|
|
"decode-uri-component@0.5.1": "patches/decode-uri-component@0.5.1.patch"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/plots": "^2.6.8",
|
|
"@bufbuild/protobuf": "^2.10.0",
|
|
"@grpc/grpc-js": "1.14.5",
|
|
"@grpc/proto-loader": "^0.8.0",
|
|
"@keyv/sqlite": "^4.0.1",
|
|
"@otplib/preset-default": "^12.0.1",
|
|
"body-parser": "^1.20.9",
|
|
"celebrate": "^15.0.3",
|
|
"chokidar": "^4.0.1",
|
|
"compression": "1.8.2",
|
|
"cors": "^2.8.5",
|
|
"cron-parser": "^5.4.0",
|
|
"cross-spawn": "^7.0.6",
|
|
"dayjs": "^1.11.13",
|
|
"dotenv": "^16.4.6",
|
|
"express": "^4.22.3",
|
|
"express-jwt": "^8.4.1",
|
|
"express-rate-limit": "^7.4.1",
|
|
"express-urlrewrite": "^2.0.3",
|
|
"helmet": "^8.1.0",
|
|
"hpagent": "^1.2.0",
|
|
"http-proxy-middleware": "^3.0.3",
|
|
"iconv-lite": "^0.6.3",
|
|
"ip2region": "2.3.0",
|
|
"js-yaml": "^4.1.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"keyv": "^5.2.3",
|
|
"lodash": "^4.18.0",
|
|
"multer": "2.5.0",
|
|
"node-cron": "4.6.0",
|
|
"nodemailer": "^10.1.4",
|
|
"p-queue-cjs": "7.3.4",
|
|
"proper-lockfile": "^4.1.2",
|
|
"ps-tree": "^1.2.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"request-ip": "3.3.0",
|
|
"sequelize": "6.37.8",
|
|
"sockjs": "^0.3.24",
|
|
"sqlite3": "npm:@whyour/sqlite3@1.1.5",
|
|
"tar": "7.5.23",
|
|
"toad-scheduler": "^3.0.1",
|
|
"typedi": "^0.10.0",
|
|
"undici": "^7.30.1",
|
|
"uuid": "^11.1.1",
|
|
"winston": "^3.17.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ant-design/icons": "^5.0.1",
|
|
"@ant-design/pro-layout": "6.38.22",
|
|
"@codemirror/state": "6.5.4",
|
|
"@codemirror/view": "6.39.16",
|
|
"@monaco-editor/react": "4.2.1",
|
|
"@react-hook/resize-observer": "^2.0.2",
|
|
"@types/body-parser": "^1.19.2",
|
|
"@types/compression": "^1.7.2",
|
|
"@types/cors": "^2.8.12",
|
|
"@types/cross-spawn": "^6.0.2",
|
|
"@types/express": "^4.17.13",
|
|
"@types/express-jwt": "^6.0.4",
|
|
"@types/file-saver": "2.0.2",
|
|
"@types/helmet": "^4.0.0",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/jsonwebtoken": "^8.5.8",
|
|
"@types/lodash": "^4.14.185",
|
|
"@types/multer": "^1.4.7",
|
|
"@types/node": "^17.0.21",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/proper-lockfile": "^4.1.4",
|
|
"@types/ps-tree": "^1.1.6",
|
|
"@types/qrcode.react": "^1.0.2",
|
|
"@types/react": "^18.0.20",
|
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/request-ip": "0.0.41",
|
|
"@types/serve-handler": "^6.1.1",
|
|
"@types/sockjs": "^0.3.33",
|
|
"@types/sockjs-client": "^1.5.1",
|
|
"@types/uuid": "^8.3.4",
|
|
"@uiw/codemirror-extensions-langs": "^4.21.9",
|
|
"@uiw/react-codemirror": "^4.21.9",
|
|
"@umijs/max": "^4.7.34",
|
|
"@umijs/ssr-darkreader": "^4.9.45",
|
|
"ahooks": "^3.7.8",
|
|
"ansi-to-react": "^6.1.6",
|
|
"antd": "^4.24.16",
|
|
"antd-img-crop": "^4.23.0",
|
|
"axios": "^1.4.0",
|
|
"compression-webpack-plugin": "12.0.0",
|
|
"concurrently": "^7.0.0",
|
|
"file-saver": "2.0.2",
|
|
"lint-staged": "^15.5.2",
|
|
"moment": "2.31.0",
|
|
"monaco-editor": "0.33.0",
|
|
"nodemon": "^3.0.1",
|
|
"prettier": "^2.5.1",
|
|
"pretty-bytes": "6.1.1",
|
|
"qiniu": "^7.4.0",
|
|
"qrcode.react": "^1.0.1",
|
|
"query-string": "^7.1.1",
|
|
"rc-tween-one": "^3.0.6",
|
|
"rc-virtual-list": "3.15.0",
|
|
"react": "18.3.1",
|
|
"react-copy-to-clipboard": "^5.1.0",
|
|
"react-diff-viewer": "^3.1.1",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "18.3.1",
|
|
"react-hotkeys-hook": "^4.6.1",
|
|
"react-intl-universal": "^2.12.0",
|
|
"react-router-dom": "6.30.6",
|
|
"react-split-pane": "^0.1.92",
|
|
"sockjs-client": "^1.6.0",
|
|
"ts-node": "^10.9.2",
|
|
"ts-proto": "^2.6.1",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "5.2.2",
|
|
"vh-check": "^2.0.5",
|
|
"virtualizedtableforantd4": "1.3.0"
|
|
},
|
|
"qinglongUpgradeFormat": 2
|
|
}
|