mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
ff151b2010
* refactor(test): another way to link mock connectors in integration tests * refactor(test): extract link-mock-connectors.sh * refactor(test): remove unused env variable in integration-test.yml
20 lines
434 B
Bash
Executable file
20 lines
434 B
Bash
Executable file
set -eo pipefail
|
|
|
|
echo Building packages
|
|
pnpm -- lerna run build --stream
|
|
|
|
echo Prune dependencies
|
|
rm -rf node_modules packages/*/node_modules
|
|
|
|
echo Install production dependencies
|
|
NODE_ENV=production pnpm i
|
|
|
|
echo Prune files
|
|
rm -rf \
|
|
.git .github .husky .vscode .parcel-cache pnpm-*.yaml *.js \
|
|
packages/*/src \
|
|
packages/*/*.config.js packages/*/*.config.ts packages/*/tsconfig*.json
|
|
|
|
echo Tar
|
|
cd ..
|
|
tar -czf /tmp/logto.tar.gz logto
|