Init commit

This commit is contained in:
ShreejitPanchal
2026-05-19 19:56:02 +08:00
commit 6601501eff
4047 changed files with 2185372 additions and 0 deletions

16
scripts/build/server.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -eu
if [ -z ${1+x} ] || [ "$1" != "--incremental" ]; then
rm -rf ./dist ./packages/*/dist
fi
npm run tsc -- -b --verbose server/tsconfig.json
npm run resolve-tspaths:server
cp -r "./server/core/static" "./server/core/assets" ./dist/core
cp -r "./server/locales" ./dist
cp "./server/scripts/upgrade.sh" "./dist/scripts"
mkdir -p ./client/dist && cp -r ./client/src/assets ./client/dist