chore: upgrade dependencies (except for @swc/core and megalodon)

This commit is contained in:
naskya 2023-11-17 05:15:02 +09:00
parent 845f08893f
commit 97bb495636
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139
10 changed files with 2150 additions and 1955 deletions

View file

@ -6,7 +6,7 @@
"type": "git", "type": "git",
"url": "https://git.joinfirefish.org/firefish/firefish.git" "url": "https://git.joinfirefish.org/firefish/firefish.git"
}, },
"packageManager": "pnpm@8.10.2", "packageManager": "pnpm@8.10.5",
"private": true, "private": true,
"scripts": { "scripts": {
"rebuild": "pnpm run clean && pnpm run build", "rebuild": "pnpm run clean && pnpm run build",
@ -19,7 +19,7 @@
"migrateandstart": "pnpm run migrate && pnpm run start", "migrateandstart": "pnpm run migrate && pnpm run start",
"gulp": "gulp build", "gulp": "gulp build",
"watch": "pnpm run dev", "watch": "pnpm run dev",
"dev": "pnpm node ./scripts/dev.js", "dev": "pnpm node ./scripts/dev.mjs",
"dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development pnpm run build && pnpm run start", "dev:staging": "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=development pnpm run build && pnpm run start",
"lint": "pnpm -r --parallel run lint", "lint": "pnpm -r --parallel run lint",
"debug": "pnpm run build:debug && pnpm run start", "debug": "pnpm run build:debug && pnpm run start",
@ -30,42 +30,42 @@
"mocha": "pnpm --filter backend run mocha", "mocha": "pnpm --filter backend run mocha",
"test": "pnpm run mocha", "test": "pnpm run mocha",
"format": "pnpm -r --parallel run format", "format": "pnpm -r --parallel run format",
"clean": "pnpm node ./scripts/clean.js", "clean": "pnpm node ./scripts/clean.mjs",
"clean-all": "pnpm node ./scripts/clean-all.js", "clean-all": "pnpm node ./scripts/clean-all.mjs",
"cleanall": "pnpm run clean-all" "cleanall": "pnpm run clean-all"
}, },
"resolutions": { "resolutions": {
"chokidar": "^3.3.1" "chokidar": "^3.3.1"
}, },
"dependencies": { "dependencies": {
"@bull-board/api": "5.8.0", "@bull-board/api": "5.9.1",
"@bull-board/ui": "5.8.0", "@bull-board/ui": "5.9.1",
"@napi-rs/cli": "^2.16.2", "@napi-rs/cli": "^2.16.5",
"@tensorflow/tfjs": "^4.10.0", "@tensorflow/tfjs": "^4.13.0",
"js-yaml": "4.1.0", "js-yaml": "4.1.0",
"seedrandom": "^3.0.5" "seedrandom": "^3.0.5"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.0.0", "@biomejs/biome": "1.3.3",
"@biomejs/cli-darwin-arm64": "^1.0.0", "@biomejs/cli-darwin-arm64": "^1.3.3",
"@biomejs/cli-darwin-x64": "^1.0.0", "@biomejs/cli-darwin-x64": "^1.3.3",
"@biomejs/cli-linux-arm64": "^1.0.0", "@biomejs/cli-linux-arm64": "^1.3.3",
"@biomejs/cli-linux-x64": "^1.0.0", "@biomejs/cli-linux-x64": "^1.3.3",
"@types/gulp": "4.0.13", "@types/gulp": "4.0.17",
"@types/gulp-rename": "2.0.2", "@types/gulp-rename": "2.0.5",
"@types/node": "20.5.8", "@types/node": "20.9.0",
"add": "2.0.6", "add": "2.0.6",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cypress": "10.11.0", "cypress": "13.5.1",
"execa": "5.1.1", "execa": "8.0.1",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-cssnano": "2.1.3", "gulp-cssnano": "2.1.3",
"gulp-rename": "2.0.0", "gulp-rename": "2.0.0",
"gulp-replace": "1.1.4", "gulp-replace": "1.1.4",
"gulp-terser": "2.1.0", "gulp-terser": "2.1.0",
"install-peers": "^1.0.4", "install-peers": "^1.0.4",
"pnpm": "8.10.2", "pnpm": "8.10.5",
"start-server-and-test": "1.15.2", "start-server-and-test": "2.0.3",
"typescript": "5.2.2" "typescript": "5.2.2"
} }
} }

View file

@ -23,36 +23,37 @@
}, },
"optionalDependencies": { "optionalDependencies": {
"@swc/core-android-arm64": "1.3.11", "@swc/core-android-arm64": "1.3.11",
"@tensorflow/tfjs-node": "3.21.1" "@tensorflow/tfjs-node": "4.13.0"
}, },
"dependencies": { "dependencies": {
"@bull-board/api": "5.8.0", "@bull-board/api": "5.9.1",
"@bull-board/koa": "5.8.0", "@bull-board/koa": "5.9.1",
"@bull-board/ui": "5.8.0", "@bull-board/ui": "5.9.1",
"@discordapp/twemoji": "14.1.2", "@discordapp/twemoji": "14.1.2",
"@elastic/elasticsearch": "7.17.0", "@elastic/elasticsearch": "8.10.0",
"@koa/cors": "3.4.3", "@koa/cors": "4.0.0",
"@koa/multer": "3.0.2", "@koa/multer": "3.0.2",
"@koa/router": "9.0.1", "@koa/router": "12.0.1",
"@ladjs/koa-views": "9.0.0",
"@peertube/http-signature": "1.7.0", "@peertube/http-signature": "1.7.0",
"@redocly/openapi-core": "1.0.2", "@redocly/openapi-core": "1.4.1",
"@sinonjs/fake-timers": "9.1.2", "@sinonjs/fake-timers": "11.2.2",
"@tensorflow/tfjs": "^4.2.0", "@tensorflow/tfjs": "^4.13.0",
"adm-zip": "^0.5.10", "adm-zip": "^0.5.10",
"ajv": "8.12.0", "ajv": "8.12.0",
"archiver": "6.0.0", "archiver": "6.0.1",
"argon2": "^0.31.1", "argon2": "^0.31.2",
"autolinker": "4.0.0", "autolinker": "4.0.0",
"autwh": "0.1.0", "autwh": "0.1.0",
"aws-sdk": "2.1413.0", "aws-sdk": "2.1498.0",
"axios": "^1.4.0", "axios": "^1.6.2",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"blurhash": "2.0.5", "blurhash": "2.0.5",
"bull": "4.11.3", "bull": "4.11.5",
"cacheable-lookup": "TheEssem/cacheable-lookup", "cacheable-lookup": "TheEssem/cacheable-lookup",
"cbor-x": "^1.5.4", "cbor-x": "^1.5.4",
"chalk": "5.3.0", "chalk": "5.3.0",
"chalk-template": "0.4.0", "chalk-template": "1.1.0",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
"cli-highlight": "2.1.11", "cli-highlight": "2.1.11",
"color-convert": "2.0.1", "color-convert": "2.0.1",
@ -62,19 +63,19 @@
"deep-email-validator": "0.1.21", "deep-email-validator": "0.1.21",
"escape-regexp": "0.0.1", "escape-regexp": "0.0.1",
"feed": "4.2.2", "feed": "4.2.2",
"file-type": "18.5.0", "file-type": "18.7.0",
"firefish-js": "workspace:*", "firefish-js": "workspace:*",
"fluent-ffmpeg": "2.1.2", "fluent-ffmpeg": "2.1.2",
"got": "13.0.0", "got": "13.0.0",
"gunzip-maybe": "^1.4.2", "gunzip-maybe": "^1.4.2",
"happy-dom": "^11.0.2", "happy-dom": "^12.10.3",
"hpagent": "1.2.0", "hpagent": "1.2.0",
"ioredis": "5.3.2", "ioredis": "5.3.2",
"ip-cidr": "3.1.0", "ip-cidr": "3.1.0",
"is-svg": "5.0.0", "is-svg": "5.0.0",
"js-yaml": "4.1.0", "js-yaml": "4.1.0",
"json5": "2.2.3", "json5": "2.2.3",
"jsonld": "8.2.1", "jsonld": "8.3.1",
"jsrsasign": "10.8.6", "jsrsasign": "10.8.6",
"koa": "2.14.2", "koa": "2.14.2",
"koa-body": "^6.0.1", "koa-body": "^6.0.1",
@ -86,33 +87,32 @@
"koa-remove-trailing-slashes": "2.0.3", "koa-remove-trailing-slashes": "2.0.3",
"koa-send": "5.0.1", "koa-send": "5.0.1",
"koa-slow": "2.1.0", "koa-slow": "2.1.0",
"koa-views": "7.0.2",
"megalodon": "workspace:*", "megalodon": "workspace:*",
"meilisearch": "0.34.1", "meilisearch": "0.35.0",
"mfm-js": "0.23.3", "mfm-js": "0.23.3",
"mime-types": "2.1.35", "mime-types": "2.1.35",
"msgpackr": "^1.9.9", "msgpackr": "^1.9.9",
"multer": "1.4.4-lts.1", "multer": "1.4.5-lts.1",
"native-utils": "link:native-utils", "native-utils": "link:native-utils",
"nested-property": "4.0.0", "nested-property": "4.0.0",
"node-fetch": "3.3.2", "node-fetch": "3.3.2",
"nodemailer": "6.9.4", "nodemailer": "6.9.7",
"nsfwjs": "2.4.2", "nsfwjs": "2.4.2",
"opencc-js": "^1.0.5", "opencc-js": "^1.0.5",
"os-utils": "0.0.14", "os-utils": "0.0.14",
"otpauth": "^9.1.4", "otpauth": "^9.2.0",
"parse5": "7.1.2", "parse5": "7.1.2",
"pg": "8.11.3", "pg": "8.11.3",
"private-ip": "3.0.1", "private-ip": "3.0.1",
"probe-image-size": "7.2.3", "probe-image-size": "7.2.3",
"promise-limit": "2.7.0", "promise-limit": "2.7.0",
"punycode": "2.3.0", "punycode": "2.3.1",
"pureimage": "0.4.8", "pureimage": "0.4.13",
"qrcode": "1.5.3", "qrcode": "1.5.3",
"qs": "6.11.2", "qs": "6.11.2",
"random-seed": "0.3.0", "random-seed": "0.3.0",
"ratelimiter": "3.4.1", "ratelimiter": "3.4.1",
"re2": "1.20.5", "re2": "1.20.8",
"redis-semaphore": "5.5.0", "redis-semaphore": "5.5.0",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"rename": "1.0.4", "rename": "1.0.4",
@ -121,87 +121,85 @@
"sanitize-html": "2.11.0", "sanitize-html": "2.11.0",
"seedrandom": "^3.0.5", "seedrandom": "^3.0.5",
"semver": "7.5.4", "semver": "7.5.4",
"sharp": "0.32.5", "sharp": "0.32.6",
"sonic-channel": "^1.3.1", "sonic-channel": "^1.3.1",
"stringz": "2.1.0", "stringz": "2.1.0",
"summaly": "2.7.0", "summaly": "2.7.0",
"syslog-pro": "1.0.0", "syslog-pro": "1.0.0",
"systeminformation": "5.21.3", "systeminformation": "5.21.17",
"tar-stream": "^3.1.6", "tar-stream": "^3.1.6",
"tesseract.js": "^4.1.1", "tesseract.js": "^5.0.3",
"tinycolor2": "1.6.0", "tinycolor2": "1.6.0",
"tinyld": "^1.3.4", "tinyld": "^1.3.4",
"tmp": "0.2.1", "tmp": "0.2.1",
"twemoji-parser": "14.0.0", "twemoji-parser": "14.0.0",
"typeorm": "0.3.17", "typeorm": "0.3.17",
"ulid": "2.3.0", "ulid": "2.3.0",
"uuid": "9.0.0", "uuid": "9.0.1",
"web-push": "3.6.5", "web-push": "3.6.6",
"websocket": "1.0.34", "websocket": "1.0.34",
"xev": "3.0.2" "xev": "3.0.2"
}, },
"devDependencies": { "devDependencies": {
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.63",
"@swc/core": "1.3.78", "@swc/core": "1.3.78",
"@types/adm-zip": "^0.5.0", "@types/adm-zip": "^0.5.4",
"@types/bcryptjs": "2.4.2", "@types/bcryptjs": "2.4.6",
"@types/color-convert": "^2.0.2", "@types/color-convert": "^2.0.3",
"@types/content-disposition": "^0.5.7", "@types/content-disposition": "^0.5.8",
"@types/escape-regexp": "0.0.1", "@types/escape-regexp": "0.0.3",
"@types/fluent-ffmpeg": "2.1.21", "@types/fluent-ffmpeg": "2.1.24",
"@types/js-yaml": "4.0.5", "@types/js-yaml": "4.0.9",
"@types/jsonld": "1.5.9", "@types/jsonld": "1.5.12",
"@types/jsrsasign": "10.5.8", "@types/jsrsasign": "10.5.12",
"@types/koa": "2.13.8", "@types/koa": "2.13.11",
"@types/koa-bodyparser": "4.3.10", "@types/koa-bodyparser": "4.3.12",
"@types/koa-cors": "0.0.2", "@types/koa-cors": "0.0.5",
"@types/koa-favicon": "2.0.21", "@types/koa-favicon": "2.1.3",
"@types/koa-logger": "3.1.2", "@types/koa-logger": "3.1.5",
"@types/koa-mount": "4.0.2", "@types/koa-mount": "4.0.5",
"@types/koa-send": "4.1.3", "@types/koa-send": "4.1.6",
"@types/koa-views": "7.0.0", "@types/koa__cors": "4.0.3",
"@types/koa__cors": "3.3.0", "@types/koa__multer": "2.0.7",
"@types/koa__multer": "2.0.4", "@types/koa__router": "12.0.4",
"@types/koa__router": "8.0.11", "@types/mocha": "10.0.4",
"@types/mocha": "9.1.1", "@types/node": "20.9.0",
"@types/node": "18.11.18", "@types/node-fetch": "2.6.9",
"@types/node-fetch": "3.0.3", "@types/nodemailer": "6.4.14",
"@types/nodemailer": "6.4.9", "@types/oauth": "0.9.4",
"@types/oauth": "0.9.1", "@types/opencc-js": "^1.0.3",
"@types/opencc-js": "^1.0.2", "@types/pg": "^8.10.9",
"@types/pg": "^8.10.7", "@types/probe-image-size": "^7.2.3",
"@types/probe-image-size": "^7.2.0", "@types/pug": "2.0.9",
"@types/pug": "2.0.6", "@types/punycode": "2.1.2",
"@types/punycode": "2.1.0", "@types/qrcode": "1.5.5",
"@types/qrcode": "1.5.1", "@types/qs": "6.9.10",
"@types/qs": "6.9.7", "@types/random-seed": "0.3.5",
"@types/random-seed": "0.3.3", "@types/ratelimiter": "3.4.6",
"@types/ratelimiter": "3.4.4", "@types/rename": "1.0.7",
"@types/redis": "4.0.11", "@types/sanitize-html": "2.9.4",
"@types/rename": "1.0.4", "@types/semver": "7.5.5",
"@types/sanitize-html": "2.9.0", "@types/sinonjs__fake-timers": "8.1.5",
"@types/semver": "7.5.0", "@types/syslog-pro": "^1.0.3",
"@types/sinonjs__fake-timers": "8.1.2", "@types/tinycolor2": "1.4.6",
"@types/syslog-pro": "^1.0.2", "@types/tmp": "0.2.6",
"@types/tinycolor2": "1.4.3", "@types/uuid": "9.0.7",
"@types/tmp": "0.2.3", "@types/web-push": "3.6.3",
"@types/uuid": "9.0.2", "@types/websocket": "1.0.9",
"@types/web-push": "3.3.2", "@types/ws": "8.5.9",
"@types/websocket": "1.0.5",
"@types/ws": "8.5.5",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"eslint": "^8.46.0", "eslint": "^8.53.0",
"execa": "6.1.0", "execa": "8.0.1",
"json5-loader": "4.0.1", "json5-loader": "4.0.1",
"mocha": "10.2.0", "mocha": "10.2.0",
"pug": "3.0.2", "pug": "3.0.2",
"strict-event-emitter-types": "2.0.0", "strict-event-emitter-types": "2.0.0",
"swc-loader": "^0.2.3", "swc-loader": "^0.2.3",
"ts-loader": "9.4.4", "ts-loader": "9.5.1",
"ts-node": "10.9.1", "ts-node": "10.9.1",
"tsconfig-paths": "4.2.0", "tsconfig-paths": "4.2.0",
"typescript": "5.1.6", "typescript": "5.2.2",
"webpack": "^5.88.2", "webpack": "^5.89.0",
"ws": "8.13.0" "ws": "8.14.2"
} }
} }

View file

@ -9,7 +9,7 @@ import Koa from "koa";
import Router from "@koa/router"; import Router from "@koa/router";
import send from "koa-send"; import send from "koa-send";
import favicon from "koa-favicon"; import favicon from "koa-favicon";
import views from "koa-views"; import views from "@ladjs/koa-views";
import sharp from "sharp"; import sharp from "sharp";
import { createBullBoard } from "@bull-board/api"; import { createBullBoard } from "@bull-board/api";
import { BullAdapter } from "@bull-board/api/bullAdapter.js"; import { BullAdapter } from "@bull-board/api/bullAdapter.js";

View file

@ -11,35 +11,35 @@
}, },
"devDependencies": { "devDependencies": {
"@discordapp/twemoji": "14.1.2", "@discordapp/twemoji": "14.1.2",
"@eslint-sets/eslint-config-vue3": "^5.8.0", "@eslint-sets/eslint-config-vue3": "^5.10.0",
"@eslint-sets/eslint-config-vue3-ts": "^3.3.0", "@eslint-sets/eslint-config-vue3-ts": "^3.3.0",
"@phosphor-icons/web": "^2.0.3", "@phosphor-icons/web": "^2.0.3",
"@rollup/plugin-alias": "5.0.0", "@rollup/plugin-alias": "5.0.1",
"@rollup/plugin-json": "6.0.0", "@rollup/plugin-json": "6.0.1",
"@rollup/pluginutils": "^5.0.4", "@rollup/pluginutils": "^5.0.5",
"@syuilo/aiscript": "0.16.0", "@syuilo/aiscript": "0.16.0",
"@types/autosize": "^4.0.2", "@types/autosize": "^4.0.3",
"@types/escape-regexp": "0.0.1", "@types/escape-regexp": "0.0.3",
"@types/glob": "8.1.0", "@types/glob": "8.1.0",
"@types/gulp": "4.0.13", "@types/gulp": "4.0.17",
"@types/gulp-rename": "2.0.2", "@types/gulp-rename": "2.0.5",
"@types/insert-text-at-cursor": "^0.3.1", "@types/insert-text-at-cursor": "^0.3.2",
"@types/katex": "0.16.2", "@types/katex": "0.16.6",
"@types/matter-js": "0.19.0", "@types/matter-js": "0.19.4",
"@types/prismjs": "^1.26.2", "@types/prismjs": "^1.26.3",
"@types/punycode": "2.1.0", "@types/punycode": "2.1.2",
"@types/seedrandom": "3.0.5", "@types/seedrandom": "3.0.8",
"@types/textarea-caret": "^3.0.2", "@types/textarea-caret": "^3.0.3",
"@types/throttle-debounce": "5.0.0", "@types/throttle-debounce": "5.0.2",
"@types/tinycolor2": "1.4.3", "@types/tinycolor2": "1.4.6",
"@types/uuid": "9.0.3", "@types/uuid": "9.0.7",
"@vitejs/plugin-vue": "4.3.4", "@vitejs/plugin-vue": "4.5.0",
"@vue/compiler-sfc": "3.3.4", "@vue/compiler-sfc": "3.3.8",
"@vue/runtime-core": "3.3.4", "@vue/runtime-core": "3.3.8",
"autobind-decorator": "2.4.0", "autobind-decorator": "2.4.0",
"autosize": "6.0.1", "autosize": "6.0.1",
"blurhash": "2.0.5", "blurhash": "2.0.5",
"broadcast-channel": "5.3.0", "broadcast-channel": "6.0.0",
"browser-image-resizer": "github:misskey-dev/browser-image-resizer", "browser-image-resizer": "github:misskey-dev/browser-image-resizer",
"chart.js": "4.4.0", "chart.js": "4.4.0",
"chartjs-adapter-date-fns": "3.0.0", "chartjs-adapter-date-fns": "3.0.0",
@ -50,7 +50,7 @@
"compare-versions": "6.1.0", "compare-versions": "6.1.0",
"cropperjs": "2.0.0-beta.4", "cropperjs": "2.0.0-beta.4",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cypress": "10.11.0", "cypress": "13.5.1",
"date-fns": "2.30.0", "date-fns": "2.30.0",
"emojilib": "^3.0.11", "emojilib": "^3.0.11",
"escape-regexp": "0.0.1", "escape-regexp": "0.0.1",
@ -59,46 +59,46 @@
"eventemitter3": "5.0.1", "eventemitter3": "5.0.1",
"fast-blurhash": "^1.1.2", "fast-blurhash": "^1.1.2",
"firefish-js": "workspace:*", "firefish-js": "workspace:*",
"focus-trap": "^7.5.2", "focus-trap": "^7.5.4",
"focus-trap-vue": "^4.0.2", "focus-trap-vue": "^4.0.3",
"gsap": "^3.12.2", "gsap": "^3.12.2",
"idb-keyval": "6.2.1", "idb-keyval": "6.2.1",
"insert-text-at-cursor": "0.3.0", "insert-text-at-cursor": "0.3.0",
"json5": "2.2.3", "json5": "2.2.3",
"katex": "0.16.8", "katex": "0.16.9",
"libopenmpt-wasm": "github:TheEssem/libopenmpt-packaging#build", "libopenmpt-wasm": "github:TheEssem/libopenmpt-packaging#build",
"matter-js": "0.19.0", "matter-js": "0.19.0",
"mfm-js": "0.23.3", "mfm-js": "0.23.3",
"photoswipe": "5.3.9", "photoswipe": "5.4.2",
"prettier": "3.0.3", "prettier": "3.1.0",
"prettier-plugin-vue": "1.1.6", "prettier-plugin-vue": "1.1.6",
"prismjs": "1.29.0", "prismjs": "1.29.0",
"punycode": "2.3.0", "punycode": "2.3.1",
"rndstr": "1.0.0", "rndstr": "1.0.0",
"rollup": "3.28.1", "rollup": "4.4.1",
"s-age": "1.1.2", "s-age": "1.1.2",
"sass": "1.66.1", "sass": "1.69.5",
"seedrandom": "3.0.5", "seedrandom": "3.0.5",
"strict-event-emitter-types": "2.0.0", "strict-event-emitter-types": "2.0.0",
"stringz": "2.1.0", "stringz": "2.1.0",
"swiper": "10.2.0", "swiper": "11.0.4",
"syuilo-password-strength": "0.0.1", "syuilo-password-strength": "0.0.1",
"textarea-caret": "3.1.0", "textarea-caret": "3.1.0",
"three": "0.156.0", "three": "0.158.0",
"throttle-debounce": "5.0.0", "throttle-debounce": "5.0.0",
"tinycolor2": "1.6.0", "tinycolor2": "1.6.0",
"tinyld": "^1.3.4", "tinyld": "^1.3.4",
"tsc-alias": "1.8.7", "tsc-alias": "1.8.8",
"tsconfig-paths": "4.2.0", "tsconfig-paths": "4.2.0",
"twemoji-parser": "14.0.0", "twemoji-parser": "14.0.0",
"typescript": "5.2.2", "typescript": "5.2.2",
"unicode-emoji-json": "^0.4.0", "unicode-emoji-json": "^0.4.0",
"uuid": "9.0.0", "uuid": "9.0.1",
"vanilla-tilt": "1.8.1", "vanilla-tilt": "1.8.1",
"vite": "4.4.9", "vite": "5.0.0",
"vite-plugin-compression": "^0.5.1", "vite-plugin-compression": "^0.5.1",
"vue": "3.3.4", "vue": "3.3.8",
"vue-draggable-plus": "^0.2.6", "vue-draggable-plus": "^0.2.7",
"vue-isyourpasswordsafe": "^2.0.0", "vue-isyourpasswordsafe": "^2.0.0",
"vue-plyr": "^7.0.0", "vue-plyr": "^7.0.0",
"vue-prism-editor": "2.0.0-alpha.2" "vue-prism-editor": "2.0.0-alpha.2"

View file

@ -20,11 +20,11 @@
"url": "https://git.joinfirefish.org/firefish/firefish.git" "url": "https://git.joinfirefish.org/firefish/firefish.git"
}, },
"devDependencies": { "devDependencies": {
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.63",
"@swc/core": "1.3.78", "@swc/core": "1.3.78",
"@swc/types": "^0.1.5", "@swc/types": "^0.1.5",
"@types/jest": "^29.5.6", "@types/jest": "^29.5.8",
"@types/node": "20.8.7", "@types/node": "20.9.0",
"jest": "^29.7.0", "jest": "^29.7.0",
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"jest-websocket-mock": "^2.5.0", "jest-websocket-mock": "^2.5.0",

View file

@ -9,12 +9,12 @@
"format": "pnpm biome format * --write" "format": "pnpm biome format * --write"
}, },
"devDependencies": { "devDependencies": {
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.63",
"@swc/core": "1.3.78", "@swc/core": "1.3.78",
"@swc/core-android-arm64": "1.3.11", "@swc/core-android-arm64": "1.3.11",
"firefish-js": "workspace:*", "firefish-js": "workspace:*",
"idb-keyval": "^6.2.1", "idb-keyval": "^6.2.1",
"vite": "4.4.9", "vite": "5.0.0",
"vite-plugin-compression": "^0.5.1" "vite-plugin-compression": "^0.5.1"
}, },
"optionalDependencies": { "optionalDependencies": {

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,11 @@
const fs = require("node:fs"); import fs from "node:fs";
const execa = require("execa"); import path, { join } from "node:path";
const { join } = require("node:path"); import { fileURLToPath } from "node:url";
import { execa } from "execa";
(async () => { (async () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
fs.rmSync(join(__dirname, "/../packages/backend/built"), { fs.rmSync(join(__dirname, "/../packages/backend/built"), {
recursive: true, recursive: true,
force: true, force: true,

View file

@ -1,8 +1,10 @@
const fs = require("node:fs"); import fs from "node:fs";
const execa = require("execa"); import path, { join } from "node:path";
const { join } = require("node:path"); import { fileURLToPath } from "node:url";
(async () => { (async () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
fs.rmSync(join(__dirname, "/../packages/backend/built"), { fs.rmSync(join(__dirname, "/../packages/backend/built"), {
recursive: true, recursive: true,
force: true, force: true,

View file

@ -1,32 +1,36 @@
const execa = require("execa"); import path, { join } from "node:path";
import { fileURLToPath } from "node:url";
import { execa } from "execa";
(async () => { (async () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
await execa("pnpm", ["clean"], { await execa("pnpm", ["clean"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
execa("pnpm", ["dlx", "gulp", "watch"], { execa("pnpm", ["dlx", "gulp", "watch"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
execa("pnpm", ["--filter", "backend", "watch"], { execa("pnpm", ["--filter", "backend", "watch"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
execa("pnpm", ["--filter", "client", "watch"], { execa("pnpm", ["--filter", "client", "watch"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
execa("pnpm", ["--filter", "sw", "watch"], { execa("pnpm", ["--filter", "sw", "watch"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });
@ -34,7 +38,7 @@ const execa = require("execa");
const start = async () => { const start = async () => {
try { try {
await execa("pnpm", ["start"], { await execa("pnpm", ["start"], {
cwd: __dirname + "/../", cwd: join(__dirname, "/../"),
stdout: process.stdout, stdout: process.stdout,
stderr: process.stderr, stderr: process.stderr,
}); });