From 7065e64722af401cd28892eb844eccf6977ae0fe Mon Sep 17 00:00:00 2001 From: Simeon Radivoev Date: Sat, 18 Apr 2026 10:47:38 +0300 Subject: [PATCH] refactor: removed store version constant --- src/bun/api/jobs/update-store.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bun/api/jobs/update-store.ts b/src/bun/api/jobs/update-store.ts index 85d8425..b051f07 100644 --- a/src/bun/api/jobs/update-store.ts +++ b/src/bun/api/jobs/update-store.ts @@ -1,7 +1,6 @@ import { ensureDir } from "fs-extra"; import { IJob, JobContext } from "../task-queue"; import { getStoreRootFolder } from "../store/services/gamesService"; -import { STORE_VERSION } from "@/shared/constants"; import { tmpdir } from "node:os"; import path from "node:path"; import z from "zod"; @@ -18,7 +17,7 @@ export default class UpdateStoreJob implements IJob { this.packageName = process.env.STORE_PACKAGE_NAME ?? "@simeonradivoev/gameflow-store"; this.registry = new URL(process.env.STORE_REGISTRY ?? "https://registry.npmjs.org"); - this.storeVersion = process.env.STORE_VERSION ?? STORE_VERSION; + this.storeVersion = process.env.STORE_VERSION ?? "^0.1.0"; } async start (context: JobContext)