vimcord 1.0.59 → 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,9 +1,9 @@
1
1
  {
2
2
  "name": "vimcord",
3
- "version": "1.0.59",
4
- "description": "A powerful Discord.js wrapper.",
5
- "license": "MIT",
3
+ "version": "2.0.0",
4
+ "description": "A powerful and opinionated Discord.js wrapper.",
6
5
  "author": "xsqu1znt",
6
+ "license": "MIT",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
@@ -11,48 +11,16 @@
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
13
  "import": "./dist/index.js",
14
- "require": "./dist/index.cjs",
15
- "default": "./dist/index.js"
16
- },
17
- "./package.json": "./package.json"
14
+ "require": "./dist/index.cjs"
15
+ }
18
16
  },
19
- "files": [
20
- "dist",
21
- "README.md"
22
- ],
17
+ "type": "module",
23
18
  "dependencies": {
24
- "blessed": "^0.1.81",
25
- "chalk": "^4.1.2",
26
- "discord.js": "^14.26.3",
27
- "dotenv": "^16.6.1",
28
- "qznt": "^1.0.36"
29
- },
30
- "devDependencies": {
31
- "@types/blessed": "^0.1.27",
32
- "@types/node": "^22.19.15",
33
- "mongoose": "^8.23.0",
34
- "nodemon": "^3.1.14",
35
- "prettier": "^3.8.1",
36
- "tsup": "^8.5.1",
37
- "tsx": "^4.21.0",
38
- "typescript": "^5.9.3"
39
- },
40
- "peerDependencies": {
41
- "discord.js": "^14.0.0",
42
- "mongoose": ">=8.0.0"
43
- },
44
- "peerDependenciesMeta": {
45
- "discord.js": {
46
- "optional": false
47
- },
48
- "mongoose": {
49
- "optional": true
50
- }
19
+ "@vimcord/core": "0.1.0"
51
20
  },
52
21
  "scripts": {
53
22
  "build": "tsup",
54
23
  "check": "tsc --noEmit",
55
- "format": "prettier --write \"./**/*.{ts,json}\"",
56
- "cli": "tsx src/cli/vcli.ts"
24
+ "format": "prettier --write \"./**/*.{ts,json}\""
57
25
  }
58
26
  }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from "@vimcord/core";
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "rootDir": "./src",
5
+ "outDir": "./dist",
6
+ "paths": { "@/*": ["./src/*"] }
7
+ },
8
+ "include": ["src"],
9
+ "exclude": ["tsup.config.ts", "dist", "node_modules"]
10
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,11 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ export default defineConfig({
4
+ entry: ["src/index.ts"],
5
+ format: ["esm", "cjs"],
6
+ target: "node20",
7
+ outDir: "dist",
8
+ dts: true,
9
+ clean: true,
10
+ splitting: false
11
+ });