Skip to content

Commit

Permalink
chore(deps): update dependency node to v20 (#193)
Browse files Browse the repository at this point in the history
* feat: initialize bot framework

* chore(deps): update eslint dependencies

* chore(deps): update dependency eslint to ^8.52.0

* chore(deps): update all non-major dependencies

* chore(deps): update eslint dependencies to ^6.9.0

* chore(deps): update dependency @types/node to ^18.18.7

* chore(deps): update eslint dependencies to ^6.9.1

* chore(deps): update dependency @types/node to ^18.18.8

* chore(deps): update dependency node to v20

---------

Co-authored-by: ZenShibata <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] and ZenShibata authored Nov 7, 2023
1 parent 874b5b1 commit e0d9ba6
Show file tree
Hide file tree
Showing 38 changed files with 2,186 additions and 198 deletions.
10 changes: 10 additions & 0 deletions .env_example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# The bot's environment (production or development)
NODE_ENV=development

# The bot's prefix
BOT_PREFIX=/

# Developers' number
# Format: country code + number
# Example: 6281010101010
DEVS=["62xxxxxxxx"]
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ dist

# TernJS port file
.tern-port

auth_state/
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RUN pnpm prune --production
# Get ready for production
FROM ghcr.io/hazmi35/node:20-alpine

LABEL name "template"
LABEL maintainer "Clytage <admin@clytage.org>"
LABEL name "katheryne"
LABEL maintainer "Zen <zen@clytage.org>"

# Copy needed files
COPY --from=build-stage /tmp/build/package.json .
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @clytage/template
# katheryne

A template to generate well-configured project base for Clytage.
A useful WhatsApp bot.
46 changes: 31 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"name": "template",
"version": "1.0.0",
"description": "A template to generate well-configured project base for Clytage.",
"name": "katheryne",
"version": "0.0.0",
"description": "A useful WhatsApp bot.",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "npm run lint && npm run compile",
"build": "pnpm run lint && pnpm run compile",
"compile": "tsc --build tsconfig.json",
"lint": "eslint . --ignore-path .gitignore --ext .ts",
"lint:fix": "npm run lint -- --fix",
"lint:fix": "pnpm run lint -- --fix",
"start": "node --es-module-specifier-resolution=node .",
"start:dev": "rimraf ./dist && npm run compile && npm start"
"start:dev": "rimraf ./dist && pnpm run compile && pnpm start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clytage/template.git"
"url": "git+https://github.com/ZenShibata/katheryne.git"
},
"author": "Clytage <admin@clytage.org>",
"author": "Zen Shibata <zen@clytage.org>",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/clytage/template/issues"
"url": "https://github.com/ZenShibata/katheryne/issues"
},
"homepage": "https://github.com/clytage/template#readme",
"homepage": "https://github.com/ZenShibata/katheryne#readme",
"engines": {
"node": ">=16.6.0",
"npm": ">=7.0.0"
Expand All @@ -32,11 +32,27 @@
},
"devDependencies": {
"@clytage/eslint-config": "^3.0.1",
"@types/node": "^18.18.5",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.52.0",
"rimraf": "^5.0.5",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"dependencies": {
"@discordjs/collection": "^1.5.3",
"@hapi/boom": "^10.0.1",
"@nezuchan/decorators": "^0.1.0",
"@sapphire/lexure": "^1.1.5",
"@sapphire/pieces": "^3.7.0",
"@sapphire/result": "^2.6.4",
"@sapphire/time-utilities": "^1.7.10",
"@sapphire/utilities": "^3.13.0",
"@whiskeysockets/baileys": "^6.5.0",
"pino": "^8.16.1",
"pino-loki": "^2.1.3",
"pino-pretty": "^10.2.3",
"qrcode-terminal": "^0.12.0",
"tslib": "^2.6.2"
}
}
Loading

0 comments on commit e0d9ba6

Please sign in to comment.