Skip to content

Commit

Permalink
fix: improve default selection handling and adjust theme selector bor…
Browse files Browse the repository at this point in the history
…der style
  • Loading branch information
iamEvanYT committed Jan 7, 2025
1 parent f17fd75 commit 465067b
Show file tree
Hide file tree
Showing 4 changed files with 988 additions and 932 deletions.
5 changes: 3 additions & 2 deletions backend/forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ import { buildFrontend, FRONTEND_BUILD_PATH } from "./src/scripts/build-frontend

let appVersion = "1.0.0";
let buildVersion = "1.0.0";
const DEV_REGENERATE_FRONTEND = true;

// Sync versions across all package.json files
try {
syncVersion();

// Read version from root package.json
const packageContent = readFileSync("../package.json", "utf8");
const packageJSON = JSON.parse(packageContent);
Expand All @@ -35,7 +36,7 @@ try {
}

// Build frontend if in production or if DEV_REGENERATE_FRONTEND is true
const shouldBuildFrontend = process.env.BUILD_ENV === "production" || true;
const shouldBuildFrontend = process.env.BUILD_ENV === "production" || DEV_REGENERATE_FRONTEND;
if (shouldBuildFrontend) {
try {
buildFrontend();
Expand Down
Loading

0 comments on commit 465067b

Please sign in to comment.