bakit 2.0.0-alpha.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,48 +1,45 @@
1
1
  {
2
- "name": "bakit",
3
- "version": "2.0.0-alpha.8",
4
- "description": "A framework for discord.js",
5
- "type": "module",
6
- "types": "./dist/index.d.ts",
7
- "exports": "./dist/index.js",
8
- "scripts": {
9
- "build": "tsup",
10
- "type-check": "tsc --noEmit",
11
- "test": "vitest run --pass-with-no-tests"
12
- },
13
- "bin": {
14
- "bakit": "./bin/bakit.js"
15
- },
16
- "files": [
17
- "dist"
18
- ],
19
- "homepage": "https://github.com/louiszn/bakit#readme",
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/louiszn/bakit.git"
23
- },
24
- "bugs": {
25
- "url": "https://github.com/louiszn/bakit/issues"
26
- },
27
- "keywords": [
28
- "discord.js",
29
- "discord-bot",
30
- "bakit",
31
- "framework"
32
- ],
33
- "author": "louiszn",
34
- "license": "MIT",
35
- "packageManager": "pnpm@10.15.0",
36
- "peerDependencies": {
37
- "discord.js": "^14.0.0"
38
- },
39
- "dependencies": {
40
- "commander": "^14.0.2",
41
- "dotenv": "^17.2.1",
42
- "jiti": "^2.6.1",
43
- "nodemon": "^3.1.11",
44
- "tiny-glob": "^0.2.9",
45
- "type-fest": "^4.41.0",
46
- "zod": "^4.1.12"
47
- }
48
- }
2
+ "name": "bakit",
3
+ "version": "2.0.0",
4
+ "description": "A framework for discordeno",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/index.js",
9
+ "types": "./dist/index.d.ts"
10
+ }
11
+ },
12
+ "bin": {
13
+ "bakit": "./dist/cli.js"
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "homepage": "https://github.com/louiszn/bakit#readme",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/louiszn/bakit.git"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/louiszn/bakit/issues"
25
+ },
26
+ "keywords": [
27
+ "discord-bot",
28
+ "bakit",
29
+ "framework"
30
+ ],
31
+ "author": "louiszn",
32
+ "license": "MIT",
33
+ "dependencies": {
34
+ "type-fest": "^4.41.0",
35
+ "@bakit/gateway": "^2.1.0",
36
+ "@bakit/utils": "^2.0.0-alpha.36",
37
+ "@bakit/rest": "^2.0.0",
38
+ "@bakit/service": "^2.0.0"
39
+ },
40
+ "scripts": {
41
+ "build": "tsup",
42
+ "type-check": "tsc --noEmit",
43
+ "test": "vitest run --pass-with-no-tests"
44
+ }
45
+ }
package/README.md DELETED
@@ -1,35 +0,0 @@
1
- # About us
2
-
3
- Bakit is a framework that makes building Discord bots easier.
4
- It's built on top of [discord.js](https://discord.js.org) and helps you handle the core system for your bot.
5
-
6
- <div align="center">
7
- <a href="https://npmjs.com/package/bakit"><img src="https://img.shields.io/npm/v/bakit?logo=npm" alt="npm" /></a>
8
- <a href="LICENSE"><img src="https://img.shields.io/github/license/louiszn/bakit" alt="License" /></a>
9
- <a href="https://discord.gg/pGnKbMfXke"><img src="https://img.shields.io/discord/1353321517437681724?logo=discord&logoColor=white" alt="Discord" /></a>
10
- </div>
11
-
12
- > [!CAUTION]
13
- > This package is currently being rewritten. Many features from beta v1 have not yet been migrated.
14
- > It is not production-ready, and use in production environments is strongly discouraged.
15
-
16
- ## Why Bakit?
17
-
18
- - 🧩 **Unified Command System** - write once for both slash and prefix command.
19
- - 🚀 **Clean API interfaces** - well-structured commands and events.
20
- - ⚡ **Lightweight** - minimal overhead, only what you need.
21
- - ✨ **TypeScript + ESM first** - modern JavaScript tooling out of the box.
22
-
23
- ## Documentation
24
-
25
- Official documentation is now at https://bakit.louiszn.xyz.
26
-
27
- # Contributing
28
-
29
- Contributions are always welcome! But before doing that, make sure you have already checked existing issues and pull requests before making a new one.
30
-
31
- # Support
32
-
33
- If you like Bakit and want to support its development, you can buy me a coffee:
34
-
35
- [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/louiszn)
package/bin/bakit.js DELETED
@@ -1,39 +0,0 @@
1
- // @ts-check
2
- import { config as useEnv } from "dotenv";
3
- import { program } from "commander";
4
-
5
- program.name("bakit");
6
-
7
- program.command("dev").action(async () => {
8
- useEnv({
9
- path: [".env.local", ".env"],
10
- quiet: true,
11
- });
12
- const { default: nodemon } = await import("nodemon");
13
-
14
- nodemon({
15
- script: "src/index.ts",
16
- exec: `${process.execPath} --import tsx`,
17
- ext: "ts,js",
18
- watch: ["src"],
19
- env: {
20
- ...process.env,
21
- FORCE_COLOR: "1",
22
- NODE_ENV: "development",
23
- },
24
- });
25
-
26
- nodemon.on("start", () => {
27
- console.log("Starting bakit app...");
28
- });
29
-
30
- nodemon.on("restart", () => {
31
- console.log("Bakit detected changes! Restarting...");
32
- });
33
-
34
- nodemon.on("quit", () => {
35
- process.exit();
36
- });
37
- });
38
-
39
- program.parse();