Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dockerfiles/builder/Dockerfile-builder
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ RUN npm install --loglevel notice --legacy-peer-deps

COPY . .

CMD ["scripts/strip-engine.sh"]

# copy then compile the code

ENV APP_ENV=production
Expand Down
4 changes: 2 additions & 2 deletions packages/matchmaking/.mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extension": ["ts"],
"spec": "test/**/*.test.ts",
"require": ["ts-node/register","test/setup"]
"spec": "tests/**/*.test.ts",
"require": ["ts-node/register","tests/setup"]
}
21 changes: 21 additions & 0 deletions scripts/strip-engine.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
rm -rf .github
rm -rf .vscode
rm -rf npx

for d in packages/* ; do
rm -rf "$d/tests"
rm -rf "$d/.gitignore"
rm -rf "$d/.mocharc.js"
rm -rf "$d/LICENSE"
rm -rf "$d/README.md"
rm -rf "$d/CHANGELOG.md"
rm -rf "$d/typedoc.json"
rm -rf "$d/declarations.d.ts"
done

rm -rf packages/client/android
rm -rf packages/client/ios
rm -rf packages/client/capacitor.config
rm -rf packages/ui/.storybook
rm -rf packages/ui/jest.config.ts
rm -rf packages/ui/babel.config.js