File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 178178 "commander" : " 2.15.1" ,
179179 "cron" : " 1.8.2" ,
180180 "date-fns" : " 1.30.1" ,
181+ "dayjs" : " 1.8.24" ,
181182 "debug" : " 4.1.1" ,
182183 "enquirer" : " ^2.3.2" ,
183184 "eventemitter2" : " 5.0.1" ,
184185 "fclone" : " 1.0.11" ,
186+ "lodash" : " 4.17.15" ,
185187 "mkdirp" : " 1.0.4" ,
186- "lodash" : " 4.17.14" ,
187- "dayjs" : " 1.8.24" ,
188188 "needle" : " 2.4.0" ,
189189 "pidusage" : " 2.0.18" ,
190190 "pm2-axon" : " 3.3.0" ,
Original file line number Diff line number Diff line change 11module . exports = {
22 apps : [ {
3- name : 'API' ,
4- script : 'app.js' ,
5-
6- // Options reference: https://pm2.keymetrics.io/docs/usage/application-declaration/
7- args : 'one two' ,
8- instances : 1 ,
9- autorestart : true ,
10- watch : false ,
11- max_memory_restart : '1G' ,
12- env : {
13- NODE_ENV : 'development'
14- } ,
15- env_production : {
16- NODE_ENV : 'production'
17- }
3+ script : 'index.js' ,
4+ watch : '.'
5+ } , {
6+ script : './service-worker/' ,
7+ watch : [ './service-worker' ]
188 } ] ,
199
2010 deploy : {
2111 production : {
22- user : 'node ' ,
23- host : '212.83.163.1 ' ,
24- ref : 'origin/master ' ,
25- repo : 'git@github.com:repo.git ' ,
12+ user : 'SSH_USERNAME ' ,
13+ host : 'SSH_HOSTMACHINE ' ,
14+ ref : 'GIT_BRANCH ' ,
15+ repo : 'GIT_REPOSITORY ' ,
2616 path : '/var/www/production' ,
2717 'post-deploy' : 'npm install && pm2 reload ecosystem.config.js --env production'
2818 }
You can’t perform that action at this time.
0 commit comments