diff --git a/package.json b/package.json index 3d5e4ff..5c3bee5 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "cmd": "bun run src/run.ts ", "prebuild": "rimraf dist", "build": "NODE_ENV=production bun bun.config.mjs", - "deploy": "rsync -avz --delete ./dist/ light:~/apps/codecenter/dist", + "deploy": "rsync -avz --delete ./dist/ light:/root/kevisual/assistant-app/apps/code-center/dist", "deploy:sky": "rsync -avz --delete ./dist/ sky:~/kevisual/dist", "deploy:envision": "rsync -avz --delete ./dist/ envision:~/kevisual/dist", "clean": "rm -rf dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a1c6b78..f9efe8e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -195,19 +195,19 @@ importers: specifier: 1.0.5 version: 1.0.5 '@kevisual/router': - specifier: ^0.0.9 - version: 0.0.9 + specifier: ^0.0.21 + version: 0.0.21 '@kevisual/use-config': - specifier: ^1.0.10 + specifier: ^1.0.17 version: 1.0.17(dotenv@16.5.0) ioredis: - specifier: ^5.6.0 + specifier: ^5.6.1 version: 5.6.1 nanoid: specifier: ^5.1.5 version: 5.1.5 pg: - specifier: ^8.14.1 + specifier: ^8.16.0 version: 8.16.0 sequelize: specifier: ^6.37.7 @@ -216,30 +216,30 @@ importers: specifier: ^4.8.1 version: 4.8.1 zod: - specifier: ^3.24.2 - version: 3.25.1 + specifier: ^3.25.28 + version: 3.25.28 devDependencies: '@kevisual/types': - specifier: ^0.0.6 - version: 0.0.6 + specifier: ^0.0.10 + version: 0.0.10 '@rollup/plugin-alias': specifier: ^5.1.1 - version: 5.1.1(rollup@4.41.0) + version: 5.1.1(rollup@4.41.1) '@rollup/plugin-commonjs': specifier: ^28.0.3 - version: 28.0.3(rollup@4.41.0) + version: 28.0.3(rollup@4.41.1) '@rollup/plugin-json': specifier: ^6.1.0 - version: 6.1.0(rollup@4.41.0) + version: 6.1.0(rollup@4.41.1) '@rollup/plugin-node-resolve': specifier: ^16.0.1 - version: 16.0.1(rollup@4.41.0) + version: 16.0.1(rollup@4.41.1) '@rollup/plugin-replace': specifier: ^6.0.2 - version: 6.0.2(rollup@4.41.0) + version: 6.0.2(rollup@4.41.1) '@rollup/plugin-typescript': specifier: ^12.1.2 - version: 12.1.2(rollup@4.41.0)(tslib@2.8.1)(typescript@5.8.3) + version: 12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3) '@types/archiver': specifier: ^6.0.3 version: 6.0.3 @@ -256,11 +256,11 @@ importers: specifier: ^4.17.12 version: 4.17.12 '@types/node': - specifier: ^22.13.14 - version: 22.15.19 + specifier: ^22.15.21 + version: 22.15.21 '@types/react': - specifier: ^19.0.12 - version: 19.1.4 + specifier: ^19.1.5 + version: 19.1.5 '@types/uuid': specifier: ^10.0.0 version: 10.0.0 @@ -271,31 +271,31 @@ importers: specifier: ^7.0.3 version: 7.0.3 nodemon: - specifier: ^3.1.9 + specifier: ^3.1.10 version: 3.1.10 rimraf: specifier: latest version: 6.0.1 rollup: - specifier: ^4.38.0 - version: 4.41.0 + specifier: ^4.41.1 + version: 4.41.1 rollup-plugin-copy: specifier: ^3.5.0 version: 3.5.0 rollup-plugin-dts: specifier: ^6.2.1 - version: 6.2.1(rollup@4.41.0)(typescript@5.8.3) + version: 6.2.1(rollup@4.41.1)(typescript@5.8.3) rollup-plugin-esbuild: specifier: ^6.2.1 - version: 6.2.1(esbuild@0.25.0)(rollup@4.41.0) + version: 6.2.1(esbuild@0.25.0)(rollup@4.41.1) tape: specifier: ^5.9.0 version: 5.9.0 tsx: - specifier: ^4.19.3 + specifier: ^4.19.4 version: 4.19.4 typescript: - specifier: ^5.8.2 + specifier: ^5.8.3 version: 5.8.3 submodules/oss: @@ -666,18 +666,15 @@ packages: '@kevisual/router@0.0.20': resolution: {integrity: sha512-uSwDYWh+kvAu6i0m0SJVgcLR/CYz7WvIWGz0nSF8Vg6smJuAgI+laHR4ESO8Fbz+Xn8bPHuSwmM//HHLMLx2FA==} + '@kevisual/router@0.0.21': + resolution: {integrity: sha512-XKTxbNO924cT18UOAGplWErZ+hMze8Y53F2jYCk18v4jsdsvjRho5uXXjJb6HSVsuITMtQR4R3rG0IcM3jkDKQ==} + '@kevisual/router@0.0.7': resolution: {integrity: sha512-4n1Tp4YLoraJv7jtfy7jbuLGyAj0B2QkTlnlEDHCUTlEUOvOkjtf7DHAe2SL92fTgXhSbod0I/0vUcDF85oj/w==} - '@kevisual/router@0.0.9': - resolution: {integrity: sha512-qPyC2GVJ7iOIdJCCKNDsWMAKOQeSJW9HBpL5ZWKHTbi+t4jJBGTzIlXmjKeMHRd0lr/Qq1imQvlkSh4hlrbodA==} - '@kevisual/types@0.0.10': resolution: {integrity: sha512-Q73uzzjk9UidumnmCvOpgzqDDvQxsblz22bIFuoiioUFJWwaparx8bpd8ArRyFojicYL1YJoFDzDZ9j9NN8grA==} - '@kevisual/types@0.0.6': - resolution: {integrity: sha512-7yxe1QmuC5g7lI/1Hm+zXly8if0z+ZqGM1SVOVv2VNRwRAVYBJDc365zWCCfRwE+5YaB2daWTe5zBOU4EkltkQ==} - '@kevisual/types@0.0.9': resolution: {integrity: sha512-SDJ7GMbOx7Ghz2kreHqym56ccAJS3t93y+NS0+afTLxcq2+cKcoEy2F8WXEv0mnJ6EsDp5AbA7Jv5TZA1Jbc3A==} @@ -823,101 +820,201 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.41.1': + resolution: {integrity: sha512-NELNvyEWZ6R9QMkiytB4/L4zSEaBC03KIXEghptLGLZWJ6VPrL63ooZQCOnlx36aQPGhzuOMwDerC1Eb2VmrLw==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.41.0': resolution: {integrity: sha512-yDvqx3lWlcugozax3DItKJI5j05B0d4Kvnjx+5mwiUpWramVvmAByYigMplaoAQ3pvdprGCTCE03eduqE/8mPQ==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.41.1': + resolution: {integrity: sha512-DXdQe1BJ6TK47ukAoZLehRHhfKnKg9BjnQYUu9gzhI8Mwa1d2fzxA1aw2JixHVl403bwp1+/o/NhhHtxWJBgEA==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.41.0': resolution: {integrity: sha512-2KOU574vD3gzcPSjxO0eyR5iWlnxxtmW1F5CkNOHmMlueKNCQkxR6+ekgWyVnz6zaZihpUNkGxjsYrkTJKhkaw==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.41.1': + resolution: {integrity: sha512-5afxvwszzdulsU2w8JKWwY8/sJOLPzf0e1bFuvcW5h9zsEg+RQAojdW0ux2zyYAz7R8HvvzKCjLNJhVq965U7w==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.41.0': resolution: {integrity: sha512-gE5ACNSxHcEZyP2BA9TuTakfZvULEW4YAOtxl/A/YDbIir/wPKukde0BNPlnBiP88ecaN4BJI2TtAd+HKuZPQQ==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.41.1': + resolution: {integrity: sha512-egpJACny8QOdHNNMZKf8xY0Is6gIMz+tuqXlusxquWu3F833DcMwmGM7WlvCO9sB3OsPjdC4U0wHw5FabzCGZg==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.41.0': resolution: {integrity: sha512-GSxU6r5HnWij7FoSo7cZg3l5GPg4HFLkzsFFh0N/b16q5buW1NAWuCJ+HMtIdUEi6XF0qH+hN0TEd78laRp7Dg==} cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.41.1': + resolution: {integrity: sha512-DBVMZH5vbjgRk3r0OzgjS38z+atlupJ7xfKIDJdZZL6sM6wjfDNo64aowcLPKIx7LMQi8vybB56uh1Ftck/Atg==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.41.0': resolution: {integrity: sha512-KGiGKGDg8qLRyOWmk6IeiHJzsN/OYxO6nSbT0Vj4MwjS2XQy/5emsmtoqLAabqrohbgLWJ5GV3s/ljdrIr8Qjg==} cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.41.1': + resolution: {integrity: sha512-3FkydeohozEskBxNWEIbPfOE0aqQgB6ttTkJ159uWOFn42VLyfAiyD9UK5mhu+ItWzft60DycIN1Xdgiy8o/SA==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.41.0': resolution: {integrity: sha512-46OzWeqEVQyX3N2/QdiU/CMXYDH/lSHpgfBkuhl3igpZiaB3ZIfSjKuOnybFVBQzjsLwkus2mjaESy8H41SzvA==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.41.1': + resolution: {integrity: sha512-wC53ZNDgt0pqx5xCAgNunkTzFE8GTgdZ9EwYGVcg+jEjJdZGtq9xPjDnFgfFozQI/Xm1mh+D9YlYtl+ueswNEg==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.41.0': resolution: {integrity: sha512-lfgW3KtQP4YauqdPpcUZHPcqQXmTmH4nYU0cplNeW583CMkAGjtImw4PKli09NFi2iQgChk4e9erkwlfYem6Lg==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.41.1': + resolution: {integrity: sha512-jwKCca1gbZkZLhLRtsrka5N8sFAaxrGz/7wRJ8Wwvq3jug7toO21vWlViihG85ei7uJTpzbXZRcORotE+xyrLA==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.41.0': resolution: {integrity: sha512-nn8mEyzMbdEJzT7cwxgObuwviMx6kPRxzYiOl6o/o+ChQq23gfdlZcUNnt89lPhhz3BYsZ72rp0rxNqBSfqlqw==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.41.1': + resolution: {integrity: sha512-g0UBcNknsmmNQ8V2d/zD2P7WWfJKU0F1nu0k5pW4rvdb+BIqMm8ToluW/eeRmxCared5dD76lS04uL4UaNgpNA==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.41.0': resolution: {integrity: sha512-l+QK99je2zUKGd31Gh+45c4pGDAqZSuWQiuRFCdHYC2CSiO47qUWsCcenrI6p22hvHZrDje9QjwSMAFL3iwXwQ==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.41.1': + resolution: {integrity: sha512-XZpeGB5TKEZWzIrj7sXr+BEaSgo/ma/kCgrZgL0oo5qdB1JlTzIYQKel/RmhT6vMAvOdM2teYlAaOGJpJ9lahg==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.41.0': resolution: {integrity: sha512-WbnJaxPv1gPIm6S8O/Wg+wfE/OzGSXlBMbOe4ie+zMyykMOeqmgD1BhPxZQuDqwUN+0T/xOFtL2RUWBspnZj3w==} cpu: [loong64] os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.41.1': + resolution: {integrity: sha512-bkCfDJ4qzWfFRCNt5RVV4DOw6KEgFTUZi2r2RuYhGWC8WhCA8lCAJhDeAmrM/fdiAH54m0mA0Vk2FGRPyzI+tw==} + cpu: [loong64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.41.0': resolution: {integrity: sha512-eRDWR5t67/b2g8Q/S8XPi0YdbKcCs4WQ8vklNnUYLaSWF+Cbv2axZsp4jni6/j7eKvMLYCYdcsv8dcU+a6QNFg==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.41.1': + resolution: {integrity: sha512-3mr3Xm+gvMX+/8EKogIZSIEF0WUu0HL9di+YWlJpO8CQBnoLAEL/roTCxuLncEdgcfJcvA4UMOf+2dnjl4Ut1A==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.41.0': resolution: {integrity: sha512-TWrZb6GF5jsEKG7T1IHwlLMDRy2f3DPqYldmIhnA2DVqvvhY2Ai184vZGgahRrg8k9UBWoSlHv+suRfTN7Ua4A==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.41.1': + resolution: {integrity: sha512-3rwCIh6MQ1LGrvKJitQjZFuQnT2wxfU+ivhNBzmxXTXPllewOF7JR1s2vMX/tWtUYFgphygxjqMl76q4aMotGw==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.41.0': resolution: {integrity: sha512-ieQljaZKuJpmWvd8gW87ZmSFwid6AxMDk5bhONJ57U8zT77zpZ/TPKkU9HpnnFrM4zsgr4kiGuzbIbZTGi7u9A==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.41.1': + resolution: {integrity: sha512-LdIUOb3gvfmpkgFZuccNa2uYiqtgZAz3PTzjuM5bH3nvuy9ty6RGc/Q0+HDFrHrizJGVpjnTZ1yS5TNNjFlklw==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.41.0': resolution: {integrity: sha512-/L3pW48SxrWAlVsKCN0dGLB2bi8Nv8pr5S5ocSM+S0XCn5RCVCXqi8GVtHFsOBBCSeR+u9brV2zno5+mg3S4Aw==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.41.1': + resolution: {integrity: sha512-oIE6M8WC9ma6xYqjvPhzZYk6NbobIURvP/lEbh7FWplcMO6gn7MM2yHKA1eC/GvYwzNKK/1LYgqzdkZ8YFxR8g==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.41.0': resolution: {integrity: sha512-XMLeKjyH8NsEDCRptf6LO8lJk23o9wvB+dJwcXMaH6ZQbbkHu2dbGIUindbMtRN6ux1xKi16iXWu6q9mu7gDhQ==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.41.1': + resolution: {integrity: sha512-cWBOvayNvA+SyeQMp79BHPK8ws6sHSsYnK5zDcsC3Hsxr1dgTABKjMnMslPq1DvZIp6uO7kIWhiGwaTdR4Og9A==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.41.0': resolution: {integrity: sha512-m/P7LycHZTvSQeXhFmgmdqEiTqSV80zn6xHaQ1JSqwCtD1YGtwEK515Qmy9DcB2HK4dOUVypQxvhVSy06cJPEg==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.41.1': + resolution: {integrity: sha512-y5CbN44M+pUCdGDlZFzGGBSKCA4A/J2ZH4edTYSSxFg7ce1Xt3GtydbVKWLlzL+INfFIZAEg1ZV6hh9+QQf9YQ==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.41.0': resolution: {integrity: sha512-4yodtcOrFHpbomJGVEqZ8fzD4kfBeCbpsUy5Pqk4RluXOdsWdjLnjhiKy2w3qzcASWd04fp52Xz7JKarVJ5BTg==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.41.1': + resolution: {integrity: sha512-lZkCxIrjlJlMt1dLO/FbpZbzt6J/A8p4DnqzSa4PWqPEUUUnzXLeki/iyPLfV0BmHItlYgHUqJe+3KiyydmiNQ==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.41.0': resolution: {integrity: sha512-tmazCrAsKzdkXssEc65zIE1oC6xPHwfy9d5Ta25SRCDOZS+I6RypVVShWALNuU9bxIfGA0aqrmzlzoM5wO5SPQ==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.41.1': + resolution: {integrity: sha512-+psFT9+pIh2iuGsxFYYa/LhS5MFKmuivRsx9iPJWNSGbh2XVEjk90fmpUEjCnILPEPJnikAU6SFDiEUyOv90Pg==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.41.0': resolution: {integrity: sha512-h1J+Yzjo/X+0EAvR2kIXJDuTuyT7drc+t2ALY0nIcGPbTatNOf0VWdhEA2Z4AAjv6X1NJV7SYo5oCTYRJhSlVA==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.41.1': + resolution: {integrity: sha512-Wq2zpapRYLfi4aKxf2Xff0tN+7slj2d4R87WEzqw7ZLsVvO5zwYCIuEGSZYiK41+GlwUo1HiR+GdkLEJnCKTCw==} + cpu: [x64] + os: [win32] + '@socket.io/component-emitter@3.1.2': resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} @@ -979,9 +1076,15 @@ packages: '@types/node@22.15.19': resolution: {integrity: sha512-3vMNr4TzNQyjHcRZadojpRaD9Ofr6LsonZAoQ+HMUa/9ORTPoxVIw0e0mpqWpdjj8xybyCM+oKOUH2vwFu/oEw==} + '@types/node@22.15.21': + resolution: {integrity: sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==} + '@types/react@19.1.4': resolution: {integrity: sha512-EB1yiiYdvySuIITtD5lhW4yPyJ31RkJkkDw794LaQYrxCSaQV/47y5o1FMC4zF9ZyjUjzJMZwbovEnT5yHTW6g==} + '@types/react@19.1.5': + resolution: {integrity: sha512-piErsCVVbpMMT2r7wbawdZsq4xMvIAhQuac2gedQHysu1TZYEigE6pnFfgZT+/jQnrRuF5r+SHzuehFjfRjr4g==} + '@types/readdir-glob@1.1.5': resolution: {integrity: sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==} @@ -2822,6 +2925,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.41.1: + resolution: {integrity: sha512-cPmwD3FnFv8rKMBc1MxWCwVQFxwf1JEmSX3iQXrRVVG15zerAIXRjMFVWnd5Q5QvgKF7Aj+5ykXFhUl+QGnyOw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -3499,6 +3607,9 @@ packages: zod@3.25.1: resolution: {integrity: sha512-bkxUGQiqWDTXHSgqtevYDri5ee2GPC9szPct4pqpzLEpswgDQmuseDz81ZF0AnNu1xsmnBVmbtv/t/WeUIHlpg==} + zod@3.25.28: + resolution: {integrity: sha512-/nt/67WYKnr5by3YS7LroZJbtcCBurDKKPBPWWzaxvVCGuG/NOsiKkrjoOhI8mJ+SQUXEbUzeB3S+6XDUEEj7Q==} + zod@3.25.7: resolution: {integrity: sha512-YGdT1cVRmKkOg6Sq7vY7IkxdphySKnXhaUmFI4r4FcuFVNgpCb9tZfNwXbT6BPjD5oz0nubFsoo9pIqKrDcCvg==} @@ -3695,20 +3806,20 @@ snapshots: '@kevisual/rollup-tools@0.0.1(esbuild@0.25.0)': dependencies: - '@rollup/plugin-alias': 5.1.1(rollup@4.41.0) - '@rollup/plugin-commonjs': 28.0.3(rollup@4.41.0) - '@rollup/plugin-json': 6.1.0(rollup@4.41.0) - '@rollup/plugin-node-resolve': 15.3.1(rollup@4.41.0) - '@rollup/plugin-replace': 6.0.2(rollup@4.41.0) - '@rollup/plugin-typescript': 12.1.2(rollup@4.41.0)(tslib@2.8.1)(typescript@5.8.3) - '@types/node': 22.15.19 + '@rollup/plugin-alias': 5.1.1(rollup@4.41.1) + '@rollup/plugin-commonjs': 28.0.3(rollup@4.41.1) + '@rollup/plugin-json': 6.1.0(rollup@4.41.1) + '@rollup/plugin-node-resolve': 15.3.1(rollup@4.41.1) + '@rollup/plugin-replace': 6.0.2(rollup@4.41.1) + '@rollup/plugin-typescript': 12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3) + '@types/node': 22.15.21 chalk: 5.4.1 commander: 12.1.0 glob: 11.0.0 - rollup: 4.41.0 + rollup: 4.41.1 rollup-plugin-copy: 3.5.0 - rollup-plugin-dts: 6.2.1(rollup@4.41.0)(typescript@5.8.3) - rollup-plugin-esbuild: 6.2.1(esbuild@0.25.0)(rollup@4.41.0) + rollup-plugin-dts: 6.2.1(rollup@4.41.1)(typescript@5.8.3) + rollup-plugin-esbuild: 6.2.1(esbuild@0.25.0)(rollup@4.41.1) rollup-plugin-inject: 3.0.2 tslib: 2.8.1 typescript: 5.8.3 @@ -3726,6 +3837,11 @@ snapshots: path-to-regexp: 8.2.0 selfsigned: 2.4.1 + '@kevisual/router@0.0.21': + dependencies: + path-to-regexp: 8.2.0 + selfsigned: 2.4.1 + '@kevisual/router@0.0.7': dependencies: path-to-regexp: 8.2.0 @@ -3735,19 +3851,8 @@ snapshots: - bufferutil - utf-8-validate - '@kevisual/router@0.0.9': - dependencies: - path-to-regexp: 8.2.0 - selfsigned: 2.4.1 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - '@kevisual/types@0.0.10': {} - '@kevisual/types@0.0.6': {} - '@kevisual/types@0.0.9': {} '@kevisual/use-config@1.0.17(dotenv@16.5.0)': @@ -3855,6 +3960,10 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/plugin-alias@5.1.1(rollup@4.41.1)': + optionalDependencies: + rollup: 4.41.1 + '@rollup/plugin-commonjs@28.0.3(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -3867,21 +3976,39 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/plugin-commonjs@28.0.3(rollup@4.41.1)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + commondir: 1.0.1 + estree-walker: 2.0.2 + fdir: 6.3.0(picomatch@4.0.2) + is-reference: 1.2.1 + magic-string: 0.30.11 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.41.1 + '@rollup/plugin-json@6.1.0(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) optionalDependencies: rollup: 4.41.0 - '@rollup/plugin-node-resolve@15.3.1(rollup@4.41.0)': + '@rollup/plugin-json@6.1.0(rollup@4.41.1)': dependencies: - '@rollup/pluginutils': 5.1.2(rollup@4.41.0) + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + optionalDependencies: + rollup: 4.41.1 + + '@rollup/plugin-node-resolve@15.3.1(rollup@4.41.1)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.8 optionalDependencies: - rollup: 4.41.0 + rollup: 4.41.1 '@rollup/plugin-node-resolve@16.0.1(rollup@4.41.0)': dependencies: @@ -3893,6 +4020,16 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/plugin-node-resolve@16.0.1(rollup@4.41.1)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + '@types/resolve': 1.20.2 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.8 + optionalDependencies: + rollup: 4.41.1 + '@rollup/plugin-replace@6.0.2(rollup@4.41.0)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -3900,6 +4037,13 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/plugin-replace@6.0.2(rollup@4.41.1)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + magic-string: 0.30.11 + optionalDependencies: + rollup: 4.41.1 + '@rollup/plugin-typescript@12.1.2(rollup@4.41.0)(tslib@2.8.1)(typescript@5.8.3)': dependencies: '@rollup/pluginutils': 5.1.2(rollup@4.41.0) @@ -3909,6 +4053,15 @@ snapshots: rollup: 4.41.0 tslib: 2.8.1 + '@rollup/plugin-typescript@12.1.2(rollup@4.41.1)(tslib@2.8.1)(typescript@5.8.3)': + dependencies: + '@rollup/pluginutils': 5.1.2(rollup@4.41.1) + resolve: 1.22.8 + typescript: 5.8.3 + optionalDependencies: + rollup: 4.41.1 + tslib: 2.8.1 + '@rollup/pluginutils@5.1.2(rollup@4.41.0)': dependencies: '@types/estree': 1.0.6 @@ -3917,66 +4070,134 @@ snapshots: optionalDependencies: rollup: 4.41.0 + '@rollup/pluginutils@5.1.2(rollup@4.41.1)': + dependencies: + '@types/estree': 1.0.6 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.41.1 + '@rollup/rollup-android-arm-eabi@4.41.0': optional: true + '@rollup/rollup-android-arm-eabi@4.41.1': + optional: true + '@rollup/rollup-android-arm64@4.41.0': optional: true + '@rollup/rollup-android-arm64@4.41.1': + optional: true + '@rollup/rollup-darwin-arm64@4.41.0': optional: true + '@rollup/rollup-darwin-arm64@4.41.1': + optional: true + '@rollup/rollup-darwin-x64@4.41.0': optional: true + '@rollup/rollup-darwin-x64@4.41.1': + optional: true + '@rollup/rollup-freebsd-arm64@4.41.0': optional: true + '@rollup/rollup-freebsd-arm64@4.41.1': + optional: true + '@rollup/rollup-freebsd-x64@4.41.0': optional: true + '@rollup/rollup-freebsd-x64@4.41.1': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.41.0': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.41.1': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.41.0': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.41.1': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.41.0': optional: true + '@rollup/rollup-linux-arm64-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-arm64-musl@4.41.0': optional: true + '@rollup/rollup-linux-arm64-musl@4.41.1': + optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.41.0': optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.41.0': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.41.0': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-riscv64-musl@4.41.0': optional: true + '@rollup/rollup-linux-riscv64-musl@4.41.1': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.41.0': optional: true + '@rollup/rollup-linux-s390x-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-x64-gnu@4.41.0': optional: true + '@rollup/rollup-linux-x64-gnu@4.41.1': + optional: true + '@rollup/rollup-linux-x64-musl@4.41.0': optional: true + '@rollup/rollup-linux-x64-musl@4.41.1': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.41.0': optional: true + '@rollup/rollup-win32-arm64-msvc@4.41.1': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.41.0': optional: true + '@rollup/rollup-win32-ia32-msvc@4.41.1': + optional: true + '@rollup/rollup-win32-x64-msvc@4.41.0': optional: true + '@rollup/rollup-win32-x64-msvc@4.41.1': + optional: true + '@socket.io/component-emitter@3.1.2': {} '@tootallnate/once@1.1.2': @@ -3992,7 +4213,7 @@ snapshots: '@types/cors@2.8.17': dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.21 '@types/crypto-js@4.2.2': {} @@ -4010,12 +4231,12 @@ snapshots: '@types/fs-extra@8.1.5': dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.21 '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 22.15.19 + '@types/node': 22.15.21 '@types/jsonwebtoken@9.0.9': dependencies: @@ -4034,19 +4255,27 @@ snapshots: '@types/node-forge@1.3.11': dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.21 '@types/node@22.15.19': dependencies: undici-types: 6.21.0 + '@types/node@22.15.21': + dependencies: + undici-types: 6.21.0 + '@types/react@19.1.4': dependencies: csstype: 3.1.3 + '@types/react@19.1.5': + dependencies: + csstype: 3.1.3 + '@types/readdir-glob@1.1.5': dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.21 '@types/resolve@1.20.2': {} @@ -4625,7 +4854,7 @@ snapshots: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.17 - '@types/node': 22.15.19 + '@types/node': 22.15.21 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -6091,6 +6320,14 @@ snapshots: optionalDependencies: '@babel/code-frame': 7.26.2 + rollup-plugin-dts@6.2.1(rollup@4.41.1)(typescript@5.8.3): + dependencies: + magic-string: 0.30.17 + rollup: 4.41.1 + typescript: 5.8.3 + optionalDependencies: + '@babel/code-frame': 7.26.2 + rollup-plugin-esbuild@6.2.1(esbuild@0.25.0)(rollup@4.41.0): dependencies: debug: 4.4.0(supports-color@5.5.0) @@ -6102,6 +6339,17 @@ snapshots: transitivePeerDependencies: - supports-color + rollup-plugin-esbuild@6.2.1(esbuild@0.25.0)(rollup@4.41.1): + dependencies: + debug: 4.4.0(supports-color@5.5.0) + es-module-lexer: 1.6.0 + esbuild: 0.25.0 + get-tsconfig: 4.10.0 + rollup: 4.41.1 + unplugin-utils: 0.2.4 + transitivePeerDependencies: + - supports-color + rollup-plugin-inject@3.0.2: dependencies: estree-walker: 0.6.1 @@ -6138,6 +6386,32 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.41.0 fsevents: 2.3.3 + rollup@4.41.1: + dependencies: + '@types/estree': 1.0.7 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.41.1 + '@rollup/rollup-android-arm64': 4.41.1 + '@rollup/rollup-darwin-arm64': 4.41.1 + '@rollup/rollup-darwin-x64': 4.41.1 + '@rollup/rollup-freebsd-arm64': 4.41.1 + '@rollup/rollup-freebsd-x64': 4.41.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.41.1 + '@rollup/rollup-linux-arm-musleabihf': 4.41.1 + '@rollup/rollup-linux-arm64-gnu': 4.41.1 + '@rollup/rollup-linux-arm64-musl': 4.41.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.41.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.41.1 + '@rollup/rollup-linux-riscv64-gnu': 4.41.1 + '@rollup/rollup-linux-riscv64-musl': 4.41.1 + '@rollup/rollup-linux-s390x-gnu': 4.41.1 + '@rollup/rollup-linux-x64-gnu': 4.41.1 + '@rollup/rollup-linux-x64-musl': 4.41.1 + '@rollup/rollup-win32-arm64-msvc': 4.41.1 + '@rollup/rollup-win32-ia32-msvc': 4.41.1 + '@rollup/rollup-win32-x64-msvc': 4.41.1 + fsevents: 2.3.3 + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -6616,7 +6890,7 @@ snapshots: picocolors: 1.1.1 postcss-load-config: 6.0.1(tsx@4.19.4) resolve-from: 5.0.0 - rollup: 4.41.0 + rollup: 4.41.1 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyexec: 0.3.2 @@ -6842,7 +7116,7 @@ snapshots: wkx@0.5.0: dependencies: - '@types/node': 22.15.19 + '@types/node': 22.15.21 wrap-ansi@7.0.0: dependencies: @@ -6901,4 +7175,6 @@ snapshots: zod@3.25.1: {} + zod@3.25.28: {} + zod@3.25.7: {} diff --git a/src/modules/self-restart.ts b/src/modules/self-restart.ts index 4531092..6952bef 100644 --- a/src/modules/self-restart.ts +++ b/src/modules/self-restart.ts @@ -1,7 +1,7 @@ import childProcess from 'child_process'; export const selfRestart = async () => { - const appName = 'codecenter'; + const appName = 'code-center'; // 检测 pm2 是否安装和是否有 appName 这个应用 try { const res = childProcess.execSync(`pm2 list`); diff --git a/submodules/code-center-module b/submodules/code-center-module index 2547355..83f65e1 160000 --- a/submodules/code-center-module +++ b/submodules/code-center-module @@ -1 +1 @@ -Subproject commit 254735596428e47d0f6a64fa676924b01597ae57 +Subproject commit 83f65e1554ef051e2164264df18496a90cede3c0