aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-07 10:43:26 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-07 10:43:26 -0500
commit28da3231e9a2d6060276ffbe80de506c4ba388ff (patch)
treeac62ef57f7f3b0edebdc337534cc432f68cd0129
parent4e97002a5702f8128e8c0763bd7b762ccd5806da (diff)
downloadtanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.tar.gz
tanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.tar.bz2
tanzanite-28da3231e9a2d6060276ffbe80de506c4ba388ff.zip
aaaaaaaaaaaaaaa
-rw-r--r--ecosystem.config.cjs (renamed from ecosystem.config.js)4
-rw-r--r--package.json6
-rw-r--r--tsconfig.json2
3 files changed, 6 insertions, 6 deletions
diff --git a/ecosystem.config.js b/ecosystem.config.cjs
index cbcfc92..b90eb42 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.cjs
@@ -37,7 +37,7 @@ module.exports = {
'ref': 'origin/master',
'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
'path': '/code/bush-bot',
- 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.js --only bush-bot'
+ 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.cjs --only bush-bot'
},
beta: {
'user': 'pi',
@@ -45,7 +45,7 @@ module.exports = {
'ref': 'origin/beta',
'repo': 'https://github.com/NotEnoughUpdates/bush-bot.git',
'path': '/code/bush-bot-beta',
- 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.js --only bush-bot-beta'
+ 'post-deploy': 'yarn install && yarn build:tsc && pm2 start ecosystem.config.cjs --only bush-bot-beta'
}
}
};
diff --git a/package.json b/package.json
index 031080a..ba1b852 100644
--- a/package.json
+++ b/package.json
@@ -36,9 +36,9 @@
"format:check": "yarn prettier . --check",
"upgrade": "yarn rimraf yarn.lock && yarn cache clean && yarn install && yarn up || true || yarn dlx @yarnpkg/sdks vscode",
"beta": "git push && git checkout beta && git merge master && git push && git checkout master",
- "deploy:beta": "wsl /bin/bash -c \"pm2 deploy beta\"",
- "deploy:production": "wsl /bin/bash -c \"pm2 deploy production\"",
- "deploy:all": "yarn beta && wsl /bin/bash -c \"pm2 deploy production && pm2 deploy beta\""
+ "deploy:beta": "wsl /bin/bash -c \"pm2 deploy ecosystem.config.cjs beta\"",
+ "deploy:production": "wsl /bin/bash -c \"pm2 deploy ecosystem.config.cjs production\"",
+ "deploy:all": "yarn beta && wsl /bin/bash -c \"pm2 deploy ecosystem.config.cjs production && pm2 deploy ecosystem.config.cjs beta\""
},
"dependencies": {
"@sentry/node": "^6.14.1",
diff --git a/tsconfig.json b/tsconfig.json
index b2e5ecd..482709d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -29,6 +29,6 @@
"#root/*": ["./*"]
}
},
- "include": ["src/**/*.ts", "lib/**/*.ts", "ecosystem.config.js"],
+ "include": ["src/**/*.ts", "lib/**/*.ts", "ecosystem.config.cjs"],
"exclude": ["dist", "node_modules"]
}