Skip to content

Commit

Permalink
merge: cleaning up dependencies and removing prettier step when build…
Browse files Browse the repository at this point in the history
…ing container (#189)

* remove: unnecessary and moving deps

* fix: don't prettier container
  • Loading branch information
flamableassassin authored Oct 12, 2024
1 parent 4f72768 commit 228ecbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ COPY . /main/bot
ENV NODE_PATH=/usr/local/lib/node_modules
LABEL name="byteblaze" version="5.0"
# Start the bot.
RUN npm run build:full
RUN npm run build
CMD ["npm", "run", "start"]
19 changes: 8 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,9 @@
"markdown-it": "^14.1.0",
"mongoose": "^8.6.1",
"mysql2": "^3.11.0",
"node-cron": "^3.0.3",
"nodemon": "^3.1.4",
"os": "^0.1.2",
"pg": "^8.12.0",
"node-cron": "^3.0.3",
"pidusage": "^3.0.2",
"plsargs": "^0.1.6",
"pm2": "^5.4.2",
"pretty-ms": "^9.1.0",
"rainlink": "^1.2.5",
"rainlink-apple": "^1.0.5",
Expand All @@ -83,12 +79,12 @@
"recursive-readdir": "^2.2.3",
"voucher-code-generator": "^1.3.0",
"winston": "^3.14.2",
"write-file-atomic": "^5.0.1"
"write-file-atomic": "^5.0.1",
"dotenv": "^16.4.5"
},
"devDependencies": {
"@types/chillout": "^5.0.6",
"@types/common-tags": "^1.8.4",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.7",
"@types/markdown-it": "^13.0.9",
Expand All @@ -99,16 +95,17 @@
"@types/voucher-code-generator": "^1.1.3",
"copy-dir": "^1.3.0",
"dir-archiver": "^2.1.0",
"dotenv": "^16.4.5",
"fs-extra": "^11.2.0",
"prettier": "^3.3.3",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
"typescript": "^5.5.4",
"nodemon": "^3.1.4",
"plsargs": "^0.1.6",
"pm2": "^5.4.2"
},
"pnpm": {
"overrides": {
"marked@<4.0.10": ">=4.0.10",
"undici@<5.26.2": ">=5.26.2"
}
}
}
}

0 comments on commit 228ecbb

Please sign in to comment.