commandkit 0.1.5 → 0.1.6-dev.20231004121943
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/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +47 -47
package/dist/index.js
CHANGED
|
@@ -809,6 +809,7 @@ var CommandKit = class {
|
|
|
809
809
|
const validationHandler = new ValidationHandler({
|
|
810
810
|
validationsPath: this.#data.validationsPath
|
|
811
811
|
});
|
|
812
|
+
await validationHandler.init();
|
|
812
813
|
this.#data.validationHandler = validationHandler;
|
|
813
814
|
}
|
|
814
815
|
if (this.#data.commandsPath) {
|
package/dist/index.mjs
CHANGED
|
@@ -779,6 +779,7 @@ var CommandKit = class {
|
|
|
779
779
|
const validationHandler = new ValidationHandler({
|
|
780
780
|
validationsPath: this.#data.validationsPath
|
|
781
781
|
});
|
|
782
|
+
await validationHandler.init();
|
|
782
783
|
this.#data.validationHandler = validationHandler;
|
|
783
784
|
}
|
|
784
785
|
if (this.#data.commandsPath) {
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"lint": "tsc",
|
|
18
|
-
"dev": "tsup --watch",
|
|
19
|
-
"build": "tsup",
|
|
20
|
-
"deploy": "npm publish",
|
|
21
|
-
"deploy-dev": "npm publish --access public --tag dev",
|
|
22
|
-
"test": "tsx tests/index.ts",
|
|
23
|
-
"test:watch": "tsx watch tests/index.ts"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"url": "git+https://github.com/underctrl-io/commandkit.git"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://commandkit.js.org",
|
|
29
|
-
"keywords": [
|
|
30
|
-
"discord.js",
|
|
31
|
-
"command handler",
|
|
32
|
-
"event handler"
|
|
33
|
-
],
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"rfdc": "^1.3.0"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@types/node": "^20.5.9",
|
|
39
|
-
"discord.js": "^14.13.0",
|
|
40
|
-
"dotenv": "^16.3.1",
|
|
41
|
-
"tsconfig": "workspace:*",
|
|
42
|
-
"tsup": "^7.2.0",
|
|
43
|
-
"tsx": "^3.12.8",
|
|
44
|
-
"typescript": "^5.1.6"
|
|
45
|
-
},
|
|
46
|
-
"peerDependencies": {
|
|
47
|
-
"discord.js": "^14"
|
|
2
|
+
"name": "commandkit",
|
|
3
|
+
"description": "Beginner friendly command & event handler for Discord.js",
|
|
4
|
+
"version": "0.1.6-dev.20231004121943",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
48
14
|
}
|
|
49
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"lint": "tsc",
|
|
18
|
+
"dev": "tsup --watch",
|
|
19
|
+
"build": "tsup",
|
|
20
|
+
"deploy": "npm publish",
|
|
21
|
+
"deploy-dev": "npm publish --access public --tag dev",
|
|
22
|
+
"test": "tsx tests/index.ts",
|
|
23
|
+
"test:watch": "tsx watch tests/index.ts"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"url": "git+https://github.com/underctrl-io/commandkit.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://commandkit.js.org",
|
|
29
|
+
"keywords": [
|
|
30
|
+
"discord.js",
|
|
31
|
+
"command handler",
|
|
32
|
+
"event handler"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"rfdc": "^1.3.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/node": "^20.5.9",
|
|
39
|
+
"discord.js": "^14.13.0",
|
|
40
|
+
"dotenv": "^16.3.1",
|
|
41
|
+
"tsconfig": "workspace:*",
|
|
42
|
+
"tsup": "^7.2.0",
|
|
43
|
+
"tsx": "^3.12.8",
|
|
44
|
+
"typescript": "^5.1.6"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"discord.js": "^14"
|
|
48
|
+
}
|
|
49
|
+
}
|