reciple 10.1.0 → 10.1.2

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.
@@ -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
  }
@@ -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.0";
97
+ _CLI.version = "10.1.2";
98
98
  function stringifyFlags(flags, command, ignored = []) {
99
99
  let arr = [];
100
100
  for (const [key, value] of Object.entries(flags)) {
@@ -224,6 +224,10 @@ var TemplateBuilder = class TemplateBuilder {
224
224
  private: true,
225
225
  type: "module",
226
226
  scripts: {
227
+ ...this.typescript ? {
228
+ check: "tsc --noEmit",
229
+ "check:watch": "tsc --noEmit --watch"
230
+ } : {},
227
231
  build: `reciple build`,
228
232
  start: "reciple start",
229
233
  dev: "nodemon"
@@ -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;
@@ -46,8 +46,6 @@ declare class EventModuleValidator extends Validator {
46
46
  onEvent: Function;
47
47
  }>>;
48
48
  static resolvable: _$_sapphire_shapeshift0.UnionValidator<_$_sapphire_shapeshift0.UndefinedToOptional<{
49
- toJSON: Function;
50
- }> | _$_sapphire_shapeshift0.UndefinedToOptional<{
51
49
  id: string | undefined;
52
50
  moduleType: ModuleType | undefined;
53
51
  onEnable: Function | undefined;
@@ -62,6 +60,8 @@ declare class EventModuleValidator extends Validator {
62
60
  event: string;
63
61
  once: boolean | undefined;
64
62
  onEvent: Function;
63
+ }> | _$_sapphire_shapeshift0.UndefinedToOptional<{
64
+ toJSON: Function;
65
65
  }>>;
66
66
  static isValidEmitter(emitter: unknown): asserts emitter is EventEmitter;
67
67
  static isValidEvent(event: unknown): asserts event is string;
@@ -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
@@ -1,7 +1,7 @@
1
1
  //#region package.json
2
2
  var package_default = {
3
3
  name: "reciple",
4
- version: "10.1.0",
4
+ version: "10.1.2",
5
5
  license: "LGPL-3.0-only",
6
6
  description: "The CLI for reciple",
7
7
  module: "./dist/index.mjs",
@@ -37,7 +37,7 @@ var package_default = {
37
37
  },
38
38
  dependencies: {
39
39
  "@clack/prompts": "^1.2.0",
40
- "@dotenvx/dotenvx": "^1.59.1",
40
+ "@dotenvx/dotenvx": "^1.61.0",
41
41
  "@prtty/print": "catalog:",
42
42
  "@prtty/prtty": "catalog:",
43
43
  "@reciple/utils": "workspace:^",
@@ -49,7 +49,7 @@ var package_default = {
49
49
  "micromatch": "^4.0.8",
50
50
  "nypm": "^0.6.5",
51
51
  "pkg-types": "^2.3.0",
52
- "tinyglobby": "^0.2.15",
52
+ "tinyglobby": "^0.2.16",
53
53
  "ts-mixer": "^6.0.4",
54
54
  "tsdown": "catalog:"
55
55
  },
@@ -58,7 +58,7 @@ var package_default = {
58
58
  "@types/micromatch": "^4.0.10",
59
59
  "@types/node": "catalog:",
60
60
  "nodemon": "^3.1.14",
61
- "rolldown": "^1.0.0-rc.13",
61
+ "rolldown": "^1.0.0-rc.15",
62
62
  "typescript": "catalog:"
63
63
  },
64
64
  peerDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "10.1.0",
3
+ "version": "10.1.2",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "The CLI for reciple",
6
6
  "module": "./dist/index.mjs",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@clack/prompts": "^1.2.0",
39
- "@dotenvx/dotenvx": "^1.59.1",
39
+ "@dotenvx/dotenvx": "^1.61.0",
40
40
  "@prtty/print": "^1.1.3",
41
41
  "@prtty/prtty": "^1.1.2",
42
42
  "@reciple/utils": "^10.0.4",
@@ -48,7 +48,7 @@
48
48
  "micromatch": "^4.0.8",
49
49
  "nypm": "^0.6.5",
50
50
  "pkg-types": "^2.3.0",
51
- "tinyglobby": "^0.2.15",
51
+ "tinyglobby": "^0.2.16",
52
52
  "ts-mixer": "^6.0.4",
53
53
  "tsdown": "^0.21.7"
54
54
  },
@@ -57,11 +57,11 @@
57
57
  "@types/micromatch": "^4.0.10",
58
58
  "@types/node": "^25.5.2",
59
59
  "nodemon": "^3.1.14",
60
- "rolldown": "^1.0.0-rc.13",
60
+ "rolldown": "^1.0.0-rc.15",
61
61
  "typescript": "^6.0.2"
62
62
  },
63
63
  "peerDependencies": {
64
- "@reciple/core": "^10.0.6",
64
+ "@reciple/core": "^10.1.0",
65
65
  "discord.js": "^14.26.2"
66
66
  },
67
67
  "peerDependenciesMeta": {