diff --git a/bun.lock b/bun.lock index d6b039582..4e23e27a4 100644 --- a/bun.lock +++ b/bun.lock @@ -276,6 +276,7 @@ "react-toastify": "^11.0.5", "react-tooltip": "^5.28.1", "react-virtualized": "^9.22.6", + "remark-gfm": "^4.0.0", "rrule": "^2.8.1", "shared": "workspace:*", "socket.io-client": "^4.8.1", diff --git a/client/package.json b/client/package.json index 733cbc8c5..62cfdcefd 100644 --- a/client/package.json +++ b/client/package.json @@ -75,6 +75,7 @@ "react-toastify": "^11.0.5", "react-tooltip": "^5.28.1", "react-virtualized": "^9.22.6", + "remark-gfm": "^4.0.0", "rrule": "^2.8.1", "shared": "workspace:*", "socket.io-client": "^4.8.1", diff --git a/server/package.json b/server/package.json index 3ba1d53c1..36f63a19c 100755 --- a/server/package.json +++ b/server/package.json @@ -17,7 +17,7 @@ "dev": "tsx watch --env-file=../env/.env.local ./src/index.ts", "types": "bun run tsc -b --noEmit", "build": "bun build ./src/index.ts --target bun --minify --production --outfile=./dist/server.js", - "start": "NODE_ENV=production bun --env-file=../env/.env.local ./dist/server.js", + "start": "NODE_ENV=production bun --env-file=../env/.env.local ./src/index.ts", "lint": "eslint ./src --fix && prettier --write ./src", "test": "jest", "schema:generate": "bun ./scripts/generateSchema.ts" @@ -122,4 +122,4 @@ "tsx": "^4.19.1", "typescript-eslint": "^8.37.0" } -} \ No newline at end of file +} diff --git a/server/src/lib/locales/routes/locales.ts b/server/src/lib/locales/routes/locales.ts index be5232e39..846bf6601 100644 --- a/server/src/lib/locales/routes/locales.ts +++ b/server/src/lib/locales/routes/locales.ts @@ -8,11 +8,8 @@ import { z } from 'zod/v4' import { ALLOWED_LANG, ALLOWED_NAMESPACE } from '../constants/locales' export const allApps = fs - .globSync(['../client/src/apps/*/*', '../apps/*'], { - withFileTypes: true - }) - .filter(e => fs.existsSync(`${e.parentPath}/${e.name}/locales`)) - .map(e => `${e.parentPath}/${e.name}`) + .globSync(['../client/src/apps/*/*', '../apps/*']) + .filter(e => fs.existsSync(`${e}/locales`)) const getLocale = forgeController .query()