messing around with the backend
Some checks failed
Deploy Backend / deploy (push) Successful in 1m36s
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee
2024-10-04 23:59:29 +01:00
parent 296179a10b
commit e202d72331
11 changed files with 90 additions and 16 deletions

View File

@ -6,6 +6,7 @@
"build": "tsup src/index.ts"
},
"devDependencies": {
"@types/node": "^22.7.4",
"tsup": "^6.5.0",
"typescript": "^5"
}

View File

@ -1,3 +1 @@
export function helloMeowMeow() {
return "hi";
}
export * from "src/utils";

6
common/src/utils.ts Normal file
View File

@ -0,0 +1,6 @@
/**
* Checks if we're in production
*/
export function isProduction() {
return process.env.NODE_ENV === "production";
}