chore: Updated packages
This commit is contained in:
parent
f82bf1215a
commit
9051834ace
3 changed files with 266 additions and 282 deletions
76
package.json
76
package.json
|
|
@ -55,53 +55,53 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"7zip-bin": "^5.2.0",
|
"7zip-bin": "^5.2.0",
|
||||||
"@auth/core": "^0.34.3",
|
"@auth/core": "^0.34.3",
|
||||||
"@elysiajs/cors": "^1.4.1",
|
"@elysiajs/cors": "^1.4.2",
|
||||||
"@elysiajs/eden": "^1.4.6",
|
"@elysiajs/eden": "^1.4.9",
|
||||||
"@jimp/wasm-webp": "^1.6.0",
|
"@jimp/wasm-webp": "^1.6.1",
|
||||||
"@phalcode/ts-igdb-client": "^1.0.26",
|
"@phalcode/ts-igdb-client": "^1.0.26",
|
||||||
"cheerio": "^1.2.0",
|
"cheerio": "^1.2.0",
|
||||||
"conf": "^15.0.2",
|
"conf": "^15.1.0",
|
||||||
"drizzle-orm": "^0.45.1",
|
"drizzle-orm": "^0.45.2",
|
||||||
"elysia": "^1.4.22",
|
"elysia": "^1.4.28",
|
||||||
"fs-extra": "^11.3.3",
|
"fs-extra": "^11.3.5",
|
||||||
"get-folder-size": "^5.0.0",
|
"get-folder-size": "^5.0.0",
|
||||||
"ini": "^6.0.0",
|
"ini": "^6.0.0",
|
||||||
"jimp": "^1.6.0",
|
"jimp": "^1.6.1",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"node-7z": "^3.0.0",
|
"node-7z": "^3.0.0",
|
||||||
"node-disk-info": "^1.3.0",
|
"node-disk-info": "^1.3.0",
|
||||||
"node-downloader-helper": "^2.1.10",
|
"node-downloader-helper": "^2.1.11",
|
||||||
"node-stream-zip": "^1.15.0",
|
"node-stream-zip": "^1.15.0",
|
||||||
"node-unrar-js": "^2.0.2",
|
"node-unrar-js": "^2.0.2",
|
||||||
"open": "^11.0.0",
|
"open": "^11.0.0",
|
||||||
"p-queue": "^9.1.2",
|
"p-queue": "^9.2.0",
|
||||||
"pathe": "^2.0.3",
|
"pathe": "^2.0.3",
|
||||||
"slugify": "^1.6.9",
|
"slugify": "^1.6.9",
|
||||||
"smol-toml": "^1.6.1",
|
"smol-toml": "^1.6.1",
|
||||||
"systeminformation": "^5.31.5",
|
"systeminformation": "^5.31.5",
|
||||||
"tapable": "^2.3.0",
|
"tapable": "^2.3.3",
|
||||||
"tough-cookie": "^6.0.0",
|
"tough-cookie": "^6.0.1",
|
||||||
"tough-cookie-file-store": "^3.3.0",
|
"tough-cookie-file-store": "^3.3.0",
|
||||||
"unzip-stream": "^0.3.4",
|
"unzip-stream": "^0.3.4",
|
||||||
"webview-bun": "^2.4.0",
|
"webview-bun": "^2.4.0",
|
||||||
"zod": "^4.3.6"
|
"zod": "^4.4.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ap0nia/eden": "^1.0.0-next.22",
|
"@ap0nia/eden": "^1.6.1",
|
||||||
"@ap0nia/eden-tanstack-query": "^1.0.0-next.22",
|
"@ap0nia/eden-tanstack-query": "^1.0.0-next.22",
|
||||||
"@emulatorjs/emulatorjs": "^4.2.3",
|
"@emulatorjs/emulatorjs": "^4.2.3",
|
||||||
"@hey-api/openapi-ts": "^0.91.0",
|
"@hey-api/openapi-ts": "^0.91.1",
|
||||||
"@noriginmedia/norigin-spatial-navigation": "^3.1.0",
|
"@noriginmedia/norigin-spatial-navigation": "^3.1.0",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@tailwindcss/vite": "^4.1.18",
|
"@tailwindcss/vite": "^4.2.4",
|
||||||
"@tanstack/react-form": "^1.28.0",
|
"@tanstack/react-form": "^1.29.1",
|
||||||
"@tanstack/react-query": "^5.90.20",
|
"@tanstack/react-query": "^5.100.9",
|
||||||
"@tanstack/react-query-devtools": "^5.91.3",
|
"@tanstack/react-query-devtools": "^5.100.9",
|
||||||
"@tanstack/react-router": "^1.157.16",
|
"@tanstack/react-router": "^1.169.2",
|
||||||
"@tanstack/react-router-devtools": "^1.154.12",
|
"@tanstack/react-router-devtools": "^1.166.13",
|
||||||
"@tanstack/react-router-ssr-query": "^1.157.17",
|
"@tanstack/react-router-ssr-query": "^1.166.12",
|
||||||
"@tanstack/router-plugin": "^1.157.16",
|
"@tanstack/router-plugin": "^1.167.35",
|
||||||
"@tanstack/zod-adapter": "^1.162.4",
|
"@tanstack/zod-adapter": "^1.166.9",
|
||||||
"@types/adm-zip": "^0.5.8",
|
"@types/adm-zip": "^0.5.8",
|
||||||
"@types/audiosprite": "^0.7.3",
|
"@types/audiosprite": "^0.7.3",
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
|
|
@ -112,11 +112,11 @@
|
||||||
"@types/mustache": "^4.2.6",
|
"@types/mustache": "^4.2.6",
|
||||||
"@types/node-7z": "^2.1.11",
|
"@types/node-7z": "^2.1.11",
|
||||||
"@types/rclone.js": "^0.6.3",
|
"@types/rclone.js": "^0.6.3",
|
||||||
"@types/react": "^19.2.9",
|
"@types/react": "^19.2.14",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"@types/unzip-stream": "^0.3.4",
|
"@types/unzip-stream": "^0.3.4",
|
||||||
"@vitejs/plugin-react": "^5.1.2",
|
"@vitejs/plugin-react": "^5.2.0",
|
||||||
"adm-zip": "^0.5.16",
|
"adm-zip": "^0.5.17",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"app-builder-bin": "^5.0.0-alpha.13",
|
"app-builder-bin": "^5.0.0-alpha.13",
|
||||||
"audiosprite": "^0.7.2",
|
"audiosprite": "^0.7.2",
|
||||||
|
|
@ -124,29 +124,29 @@
|
||||||
"classnames": "^2.5.1",
|
"classnames": "^2.5.1",
|
||||||
"concurrently": "^9.2.1",
|
"concurrently": "^9.2.1",
|
||||||
"cross-env": "^10.1.0",
|
"cross-env": "^10.1.0",
|
||||||
"daisyui": "^5.5.14",
|
"daisyui": "^5.5.19",
|
||||||
"drizzle-kit": "^0.31.9",
|
"drizzle-kit": "^0.31.10",
|
||||||
"dts-bundle-generator": "^9.5.1",
|
"dts-bundle-generator": "^9.5.1",
|
||||||
"eden-tanstack-query": "^0.0.9",
|
"eden-tanstack-query": "^0.0.9",
|
||||||
"howler": "^2.2.4",
|
"howler": "^2.2.4",
|
||||||
"lucide-react": "^0.563.0",
|
"lucide-react": "^0.563.0",
|
||||||
"pretty-bytes": "^7.1.0",
|
"pretty-bytes": "^7.1.0",
|
||||||
"pretty-ms": "^9.3.0",
|
"pretty-ms": "^9.3.0",
|
||||||
"react": "^19.2.4",
|
"react": "^19.2.6",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^19.2.6",
|
||||||
"react-error-boundary": "^6.1.0",
|
"react-error-boundary": "^6.1.1",
|
||||||
"react-hot-toast": "^2.6.0",
|
"react-hot-toast": "^2.6.0",
|
||||||
"react-markdown": "^10.1.0",
|
"react-markdown": "^10.1.0",
|
||||||
"react-qr-code": "^2.0.18",
|
"react-qr-code": "^2.0.21",
|
||||||
"sass-embedded": "^1.97.3",
|
"sass-embedded": "^1.99.0",
|
||||||
"standard-version": "^9.5.0",
|
"standard-version": "^9.5.0",
|
||||||
"tailwind-merge": "^3.4.0",
|
"tailwind-merge": "^3.5.0",
|
||||||
"tailwindcss": "^4.1.18",
|
"tailwindcss": "^4.2.4",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"usehooks-ts": "^3.1.1",
|
"usehooks-ts": "^3.1.1",
|
||||||
"vite": "^7.3.1",
|
"vite": "^7.3.3",
|
||||||
"vite-plugin-svg-icons-ng": "^1.5.2",
|
"vite-plugin-svg-icons-ng": "^1.9.0",
|
||||||
"vite-static-assets-plugin": "^1.2.2",
|
"vite-static-assets-plugin": "^1.2.2",
|
||||||
"vite-tsconfig-paths": "^6.1.1",
|
"vite-tsconfig-paths": "^6.1.1",
|
||||||
"zod-to-ts": "^2.0.0"
|
"zod-to-ts": "^2.0.0"
|
||||||
|
|
|
||||||
|
|
@ -20,16 +20,12 @@ export default class UpdateStoreJob implements IJob<never, never>
|
||||||
this.storeVersion = process.env.STORE_VERSION ?? "^0.1.0";
|
this.storeVersion = process.env.STORE_VERSION ?? "^0.1.0";
|
||||||
}
|
}
|
||||||
|
|
||||||
async start (context: JobContext<UpdateStoreJob, never, never>)
|
async runCommand (commands: string[])
|
||||||
{
|
{
|
||||||
if (process.env.CUSTOM_STORE_PATH) return;
|
|
||||||
|
|
||||||
const tempCache = path.join(tmpdir(), "gameflow-bun-cache");
|
const tempCache = path.join(tmpdir(), "gameflow-bun-cache");
|
||||||
const storeFolder = getStoreRootFolder();
|
const storeFolder = getStoreRootFolder();
|
||||||
await ensureDir(storeFolder);
|
|
||||||
|
|
||||||
console.log("Adding Store Package");
|
let proc = Bun.spawn([process.execPath, ...commands, "--registry", this.registry.href, '--json'], {
|
||||||
let proc = Bun.spawn([process.execPath, "add", `${this.packageName}@${this.storeVersion}`, "--registry", this.registry.href], {
|
|
||||||
cwd: storeFolder,
|
cwd: storeFolder,
|
||||||
stdout: 'pipe',
|
stdout: 'pipe',
|
||||||
stderr: 'pipe',
|
stderr: 'pipe',
|
||||||
|
|
@ -45,23 +41,19 @@ export default class UpdateStoreJob implements IJob<never, never>
|
||||||
if (stderr)
|
if (stderr)
|
||||||
console.error(stderr);
|
console.error(stderr);
|
||||||
await proc.exited;
|
await proc.exited;
|
||||||
|
}
|
||||||
|
|
||||||
|
async start (context: JobContext<UpdateStoreJob, never, never>)
|
||||||
|
{
|
||||||
|
if (process.env.CUSTOM_STORE_PATH) return;
|
||||||
|
|
||||||
|
const storeFolder = getStoreRootFolder();
|
||||||
|
await ensureDir(storeFolder);
|
||||||
|
|
||||||
|
console.log("Adding Store Package");
|
||||||
|
await this.runCommand(["add", `${this.packageName}@${this.storeVersion}`]);
|
||||||
|
|
||||||
console.log("Updating Store Package");
|
console.log("Updating Store Package");
|
||||||
proc = Bun.spawn([process.execPath, "update", `${this.packageName}@${this.storeVersion}`, "--registry", this.registry.href], {
|
await this.runCommand(["update", `${this.packageName}@${this.storeVersion}`]);
|
||||||
cwd: storeFolder,
|
|
||||||
stdout: 'pipe',
|
|
||||||
stderr: 'pipe',
|
|
||||||
env: {
|
|
||||||
BUN_BE_BUN: "1",
|
|
||||||
BUN_INSTALL_CACHE_DIR: tempCache
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
stdout = await new Response(proc.stdout).text();
|
|
||||||
console.log(stdout);
|
|
||||||
stderr = await new Response(proc.stderr).text();
|
|
||||||
if (stderr)
|
|
||||||
console.error(stderr);
|
|
||||||
await proc.exited;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue