1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

build(deps): update Next.js to v15 and ESLint to v9

This commit is contained in:
2024-11-09 19:50:22 +01:00
parent 59153a7a69
commit 9e840b8dae
74 changed files with 3206 additions and 3749 deletions

View File

@ -1,10 +1,7 @@
import packageJSON from "../package.json"
export const VERSION =
process.env["NODE_ENV"] === "development"
? "0.0.0-development"
: packageJSON.version
import packageJSON from "../package.json" with { type: "json" }
export const IS_PRODUCTION = process.env["NODE_ENV"] === "production"
export const VERSION = IS_PRODUCTION ? packageJSON.version : "0.0.0-development"
export const GIT_REPO_LINK = "https://github.com/theoludwig/theoludwig"
export const LOCALES = ["en-US", "fr-FR"] as const
@ -16,6 +13,8 @@ export const THEMES = ["light", "dark"] as const
export type Theme = (typeof THEMES)[number]
export const THEME_DEFAULT = "light" as Theme
export const TIMEZONE = process.env["TZ"] ?? "UTC"
export const BIRTH_DATE_DAY = "31"
export const BIRTH_DATE_MONTH = "03"
export const BIRTH_DATE_YEAR = "2003"