mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-02-28 16:01:00 +01:00
perf!: monorepo setup + fully static + webp images
BREAKING CHANGE: minimum supported Node.js >= 22.0.0 and pnpm >= 9.5.0
This commit is contained in:
17
packages/utils/src/constants.ts
Normal file
17
packages/utils/src/constants.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import packageJSON from "../package.json"
|
||||
|
||||
export const VERSION =
|
||||
process.env["NODE_ENV"] === "development"
|
||||
? "0.0.0-development"
|
||||
: packageJSON.version
|
||||
|
||||
export const GIT_REPO_LINK = "https://github.com/theoludwig/theoludwig"
|
||||
|
||||
export const BIRTH_DATE_DAY = "31"
|
||||
export const BIRTH_DATE_MONTH = "03"
|
||||
export const BIRTH_DATE_YEAR = "2003"
|
||||
export const BIRTH_DATE_STRING =
|
||||
`${BIRTH_DATE_DAY}/${BIRTH_DATE_MONTH}/${BIRTH_DATE_YEAR}` as const
|
||||
export const BIRTH_DATE_ISO_8601 =
|
||||
`${BIRTH_DATE_YEAR}-${BIRTH_DATE_MONTH}-${BIRTH_DATE_DAY}` as const
|
||||
export const BIRTH_DATE = new Date(BIRTH_DATE_ISO_8601)
|
||||
Reference in New Issue
Block a user