Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: switch to bun #68

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/lint.yml

This file was deleted.

15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# pepega-bot

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.js
```

This project was created using `bun init` in bun v1.1.24. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
Binary file added bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello via Bun!");
25 changes: 9 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
{
"name": "pepega-bot",
"version": "1.4.2",
"description": "",
"main": "index.js",
"name": "sethdrums-chat-bot",
"module": "index.ts",
"type": "module",
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,",
"deploy": "prisma migrate deploy",
"build": "tsc",
"clean": "rm -rf dist build",
"dev": "nodemon --config nodemon.json src/index.ts",
"dev:debug": "nodemon --config nodemon.json --inspect-brk src/index.ts",
"start": "node dist/index.js"
"start": "bun run src/index.ts"
},
"author": "opti21",
"license": "ISC",
"dependencies": {
"@growthbook/growthbook": "^0.17.0",
"@libsql/client": "^0.5.6",
"@prisma/adapter-libsql": "^5.11.0",
"@prisma/client": "^5.11.0",
"@sentry/node": "^6.19.7",
"@sentry/tracing": "^6.19.7",
"@types/express": "^4.17.13",
"axios": "^0.25.0",
"dayjs": "^1.11.5",
"dotenv": "^15.0.0",
"express": "^4.17.3",
"hono": "^4.6.3",
"ioredis": "^4.28.3",
"js-video-url-parser": "^0.5.1",
"pusher": "^5.0.1",
Expand All @@ -34,6 +23,7 @@
"tmi.js": "^1.8.5"
},
"devDependencies": {
"@types/bun": "^1.1.10",
"@types/ioredis": "^4.28.7",
"@types/node": "^17.0.17",
"@types/tmi.js": "^1.8.1",
Expand All @@ -45,5 +35,8 @@
"prisma": "^5.11.0",
"ts-node": "^10.4.0",
"typescript": "^5.4.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
Loading