reciple 10.1.0 → 10.1.1
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/assets/templates/javascript/jsconfig.json +2 -2
- package/assets/templates/typescript/tsconfig.json +2 -2
- package/dist/classes/cli/CLI.mjs +1 -1
- package/dist/classes/validation/BaseModuleValidator.d.mts +2 -2
- package/dist/classes/validation/CommandModuleValidator.d.mts +2 -2
- package/dist/classes/validation/PostconditionModule.d.mts +2 -2
- package/dist/package.mjs +1 -1
- package/package.json +2 -2
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
"./config/**/*"
|
|
8
8
|
],
|
|
9
9
|
"compilerOptions": {
|
|
10
|
-
"baseUrl": "./",
|
|
11
10
|
"rootDir": "./src",
|
|
12
11
|
"outDir": "./modules",
|
|
13
12
|
"allowJs": true,
|
|
@@ -24,6 +23,7 @@
|
|
|
24
23
|
"skipLibCheck": true,
|
|
25
24
|
"sourceMap": true,
|
|
26
25
|
"strict": true,
|
|
27
|
-
"verbatimModuleSyntax": true
|
|
26
|
+
"verbatimModuleSyntax": true,
|
|
27
|
+
"types": ["node"]
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
"./config/**/*"
|
|
8
8
|
],
|
|
9
9
|
"compilerOptions": {
|
|
10
|
-
"baseUrl": "./",
|
|
11
10
|
"rootDir": "./src",
|
|
12
11
|
"outDir": "./modules",
|
|
13
12
|
"allowJs": true,
|
|
@@ -24,6 +23,7 @@
|
|
|
24
23
|
"skipLibCheck": true,
|
|
25
24
|
"sourceMap": true,
|
|
26
25
|
"strict": true,
|
|
27
|
-
"verbatimModuleSyntax": true
|
|
26
|
+
"verbatimModuleSyntax": true,
|
|
27
|
+
"types": ["node"]
|
|
28
28
|
}
|
|
29
29
|
}
|
package/dist/classes/cli/CLI.mjs
CHANGED
|
@@ -94,7 +94,7 @@ var CLI = class {
|
|
|
94
94
|
(function(_CLI) {
|
|
95
95
|
_CLI.root = path.join(path.dirname(fileURLToPath(import.meta.url)), "../../../");
|
|
96
96
|
_CLI.bin = path.join(CLI.root, "dist/bin/reciple.mjs");
|
|
97
|
-
_CLI.version = "10.1.
|
|
97
|
+
_CLI.version = "10.1.1";
|
|
98
98
|
function stringifyFlags(flags, command, ignored = []) {
|
|
99
99
|
let arr = [];
|
|
100
100
|
for (const [key, value] of Object.entries(flags)) {
|
|
@@ -24,13 +24,13 @@ declare class BaseModuleValidator extends Validator {
|
|
|
24
24
|
onDisable: Function | undefined;
|
|
25
25
|
}>>;
|
|
26
26
|
static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
27
|
-
toJSON: Function;
|
|
28
|
-
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
29
27
|
id: string | undefined;
|
|
30
28
|
moduleType: ModuleType | undefined;
|
|
31
29
|
onEnable: Function | undefined;
|
|
32
30
|
onReady: Function | undefined;
|
|
33
31
|
onDisable: Function | undefined;
|
|
32
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
33
|
+
toJSON: Function;
|
|
34
34
|
}>>;
|
|
35
35
|
static isValidId(id: unknown): asserts id is string;
|
|
36
36
|
static isValidModuleType(moduleType: unknown): asserts moduleType is ModuleType;
|
|
@@ -74,8 +74,6 @@ declare class CommandModuleValidator extends Validator {
|
|
|
74
74
|
execute: Function;
|
|
75
75
|
}>>;
|
|
76
76
|
static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
77
|
-
toJSON: Function;
|
|
78
|
-
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
79
77
|
id: string | undefined;
|
|
80
78
|
moduleType: ModuleType | undefined;
|
|
81
79
|
onEnable: Function | undefined;
|
|
@@ -108,6 +106,8 @@ declare class CommandModuleValidator extends Validator {
|
|
|
108
106
|
disabledPreconditions: string[] | undefined;
|
|
109
107
|
disabledPostconditions: string[] | undefined;
|
|
110
108
|
execute: Function;
|
|
109
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
110
|
+
toJSON: Function;
|
|
111
111
|
}>>;
|
|
112
112
|
static isValid(value: unknown): asserts value is AnyCommandModuleData;
|
|
113
113
|
}
|
|
@@ -15,10 +15,10 @@ declare class PostconditionModuleValidator extends Validator {
|
|
|
15
15
|
execute: Function;
|
|
16
16
|
}>>;
|
|
17
17
|
static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
18
|
+
toJSON: Function;
|
|
19
|
+
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
18
20
|
scope: CommandType[] | undefined;
|
|
19
21
|
execute: Function;
|
|
20
|
-
}> | _$_sapphire_shapeshift0.UndefinedToOptional<{
|
|
21
|
-
toJSON: Function;
|
|
22
22
|
}>>;
|
|
23
23
|
static isValidScope(scope: unknown): asserts scope is CommandType[];
|
|
24
24
|
static isValidAccepts(accepts: unknown): asserts accepts is CommandPostconditionReason[];
|
package/dist/package.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reciple",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"license": "LGPL-3.0-only",
|
|
5
5
|
"description": "The CLI for reciple",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"typescript": "^6.0.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@reciple/core": "^10.0
|
|
64
|
+
"@reciple/core": "^10.1.0",
|
|
65
65
|
"discord.js": "^14.26.2"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|