mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Migrate to pnpm
This commit is contained in:
parent
bbc1afada5
commit
906b5f7f2c
47 changed files with 24183 additions and 23477 deletions
|
@ -11,17 +11,17 @@ if [ ! -z ${2+x} ] && [ "$2" = "--ar-locale" ]; then
|
|||
fi
|
||||
|
||||
embedCommand="cd client/src/standalone/player && npm run dev"
|
||||
clientCommand="cd client && node --max_old_space_size=4096 node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration $clientConfiguration --host 0.0.0.0 --port 3000"
|
||||
clientCommand="cd client && NODE_OPTIONS=--max_old_space_size=8192 node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration $clientConfiguration --host 0.0.0.0 --port 3000"
|
||||
serverCommand="NODE_ENV=dev node dist/server"
|
||||
|
||||
if [ ! -z ${1+x} ] && [ "$1" = "--skip-server" ]; then
|
||||
node node_modules/.bin/concurrently -k \
|
||||
node_modules/.bin/concurrently -k \
|
||||
"$embedCommand" \
|
||||
"$clientCommand"
|
||||
else
|
||||
npm run build:server
|
||||
|
||||
node node_modules/.bin/concurrently -k \
|
||||
node_modules/.bin/concurrently -k \
|
||||
"$embedCommand" \
|
||||
"$clientCommand" \
|
||||
"$serverCommand"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue