refactor: update bundle-dependencies

This commit is contained in:
Alexis Tyler
2020-10-04 13:53:48 +10:30
parent ad4dbf8dae
commit 1547293a29
2 changed files with 8 additions and 5 deletions

View File

@@ -74,7 +74,7 @@ start() {
stop
local old_working_directory=$(echo $pwd)
cd $base_directory
pm2 start $base_directory/graphql-api/ecosystem.config.js --env=$(echo $env) --no-daemon &> /dev/null &
/usr/local/bin/node/graphql-api/node_modules/.bin/pm2 start $base_directory/graphql-api/ecosystem.config.js --env=$(echo $env) --no-daemon &> /dev/null &
cd $old_working_directory
sleep 1
status
@@ -84,7 +84,7 @@ startdebug() {
stop
local old_working_directory=$(echo $pwd)
cd $base_directory
pm2 start $base_directory/graphql-api/ecosystem.config.js --env=$(echo $env)-debug --no-daemon
/usr/local/bin/node/graphql-api/node_modules/.bin/pm2 start $base_directory/graphql-api/ecosystem.config.js --env=$(echo $env)-debug --no-daemon
cd $old_working_directory
}
stop() {

View File

@@ -81,28 +81,31 @@
"xo": "0.33.1"
},
"bundledDependencies": [
"@apollo/client",
"@gridplus/docker-events",
"@sentry/node",
"@unraid/core",
"accesscontrol",
"am",
"apollo-server-express",
"apollo-server",
"apollo-server-express",
"camelcase",
"cross-fetch",
"dot-prop",
"express",
"graphql",
"graphql-directive",
"graphql-subscriptions-client",
"graphql-tag",
"graphql-type-json",
"graphql-type-long",
"graphql-type-uuid",
"graphql",
"lodash.get",
"merge-graphql-schemas",
"node-cache",
"p-wait-for",
"pm2",
"redact-secrets",
"set-interval-async",
"stoppable",
"subscriptions-transport-ws"
@@ -122,4 +125,4 @@
"max-params": 0
}
}
}
}