commandkit 1.0.0-dev.20250601132421 → 1.0.0-dev.20250602020651
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/{CommandKit-Dbkak3_n.d.ts → CommandKit-LJlFFidn.d.ts} +2 -2
- package/dist/{CommandKit-BhdXwM9b.js → CommandKit-O_Ra_xRL.js} +14 -8
- package/dist/CommandKit-O_Ra_xRL.js.map +1 -0
- package/dist/CommandKit.d.ts +2 -2
- package/dist/CommandKit.js +6 -6
- package/dist/{CompilerPlugin-XzuGixkC.js → CompilerPlugin-DrnhOC1c.js} +2 -2
- package/dist/{CompilerPlugin-XzuGixkC.js.map → CompilerPlugin-DrnhOC1c.js.map} +1 -1
- package/dist/{EventWorkerContext-6BHysn1E.d.ts → EventWorkerContext-sHV9x0eB.d.ts} +2 -2
- package/dist/{RuntimePlugin-CKsd83M3.js → RuntimePlugin-BJoDa8ZR.js} +2 -2
- package/dist/{RuntimePlugin-CKsd83M3.js.map → RuntimePlugin-BJoDa8ZR.js.map} +1 -1
- package/dist/app/commands/AppCommandRunner.d.ts +2 -2
- package/dist/app/commands/AppCommandRunner.js +6 -6
- package/dist/app/commands/Context.d.ts +2 -2
- package/dist/app/commands/Context.js +6 -6
- package/dist/app/events/EventWorkerContext.d.ts +3 -3
- package/dist/app/handlers/AppCommandHandler.d.ts +2 -2
- package/dist/app/handlers/AppCommandHandler.js +6 -6
- package/dist/app/handlers/AppEventsHandler.d.ts +2 -2
- package/dist/app/handlers/AppEventsHandler.js +6 -6
- package/dist/app/index.d.ts +2 -2
- package/dist/app/index.js +6 -6
- package/dist/app/register/CommandRegistrar.d.ts +2 -2
- package/dist/app/register/CommandRegistrar.js +6 -6
- package/dist/{app-process-juzsCZp9.js → app-process-DGKqfi5y.js} +3 -3
- package/dist/{app-process-juzsCZp9.js.map → app-process-DGKqfi5y.js.map} +1 -1
- package/dist/{build-D45Rr7KV.js → build-DwKrwWkl.js} +6 -7
- package/dist/build-DwKrwWkl.js.map +1 -0
- package/dist/cli/app-process.js +5 -5
- package/dist/cli/build.d.ts +2 -2
- package/dist/cli/build.js +9 -9
- package/dist/cli/common.d.ts +4 -4
- package/dist/cli/common.js +3 -3
- package/dist/cli/development.js +10 -10
- package/dist/cli/env.d.ts +2 -1
- package/dist/cli/env.js +3 -2
- package/dist/cli/generators.js +3 -3
- package/dist/cli/information.js +1 -1
- package/dist/cli/init.js +7 -7
- package/dist/cli/production.js +10 -10
- package/dist/cli/type-checker.js +4 -4
- package/dist/{common-CtMBxAf-.js → common-CoUM9Czx.js} +2 -2
- package/dist/{common-CtMBxAf-.js.map → common-CoUM9Czx.js.map} +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/v1/button/Button.js +6 -6
- package/dist/components/v1/button/ButtonKit.js +6 -6
- package/dist/components/v1/modal/Modal.js +6 -6
- package/dist/components/v1/modal/ModalKit.js +6 -6
- package/dist/components/v1/select-menu/ChannelSelectMenuKit.js +6 -6
- package/dist/components/v1/select-menu/MentionableSelectMenuKit.js +6 -6
- package/dist/components/v1/select-menu/RoleSelectMenuKit.js +6 -6
- package/dist/components/v1/select-menu/SelectMenu.js +6 -6
- package/dist/components/v1/select-menu/StringSelectMenuKit.js +6 -6
- package/dist/components/v1/select-menu/UserSelectMenuKit.js +6 -6
- package/dist/config/config.d.ts +5 -5
- package/dist/config/config.js +6 -6
- package/dist/config/default.d.ts +4 -4
- package/dist/config/default.js +6 -6
- package/dist/config/loader.d.ts +4 -4
- package/dist/config/loader.js +6 -6
- package/dist/config/types.d.ts +3 -3
- package/dist/config/utils.d.ts +4 -4
- package/dist/{config-1zOALegW.d.ts → config-bs6v9gyT.d.ts} +3 -3
- package/dist/{constants-Ce6w4OFe.d.ts → constants-BPWSrMkn.d.ts} +3 -2
- package/dist/{constants-DOPSzXI0.js → constants-CCqS_v55.js} +8 -1
- package/dist/constants-CCqS_v55.js.map +1 -0
- package/dist/context/async-context.d.ts +2 -2
- package/dist/context/async-context.js +6 -6
- package/dist/context/environment.d.ts +2 -2
- package/dist/context/environment.js +6 -6
- package/dist/{env-DXL8PZiG.js → env-D3rn_eei.js} +10 -1
- package/dist/{env-DXL8PZiG.js.map → env-D3rn_eei.js.map} +1 -1
- package/dist/events/CommandKitEventsChannel.d.ts +2 -2
- package/dist/{feature-flags-xogLBr7K.js → feature-flags-BXVYbfWD.js} +2 -2
- package/dist/{feature-flags-xogLBr7K.js.map → feature-flags-BXVYbfWD.js.map} +1 -1
- package/dist/flags/feature-flags.d.ts +2 -2
- package/dist/flags/feature-flags.js +7 -7
- package/dist/flags/store.d.ts +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +10 -9
- package/dist/{init-B6_jkuag.js → init-DnAVgPki.js} +10 -5
- package/dist/init-DnAVgPki.js.map +1 -0
- package/dist/logger/DefaultLogger.js +6 -6
- package/dist/logger/Logger.js +6 -6
- package/dist/plugins/CompilerPlugin.d.ts +2 -2
- package/dist/plugins/CompilerPlugin.js +1 -1
- package/dist/plugins/PluginCommon.d.ts +2 -2
- package/dist/plugins/RuntimePlugin.d.ts +2 -2
- package/dist/plugins/RuntimePlugin.js +1 -1
- package/dist/plugins/index.d.ts +2 -2
- package/dist/plugins/index.js +6 -6
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +2 -2
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +6 -6
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +2 -2
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +2 -2
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +6 -6
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +2 -2
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +6 -6
- package/dist/plugins/plugin-runtime/runtime.d.ts +2 -2
- package/dist/plugins/types.d.ts +2 -2
- package/dist/{type-checker-BILXtCjQ.js → type-checker-FHABnKlq.js} +2 -2
- package/dist/{type-checker-BILXtCjQ.js.map → type-checker-FHABnKlq.js.map} +1 -1
- package/dist/{types-BiXh_it_.d.ts → types--Jq7UV8B.d.ts} +2 -2
- package/dist/{types-package-BrES1tNq.js → types-package-B0Z-xrbB.js} +2 -2
- package/dist/{types-package-BrES1tNq.js.map → types-package-B0Z-xrbB.js.map} +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +2 -1
- package/dist/utils/dev-hooks.d.ts +2 -2
- package/dist/utils/dev-hooks.js +6 -6
- package/dist/utils/types-package.js +2 -2
- package/dist/utils/utilities.js +6 -6
- package/dist/{utils-IW7KDBhF.d.ts → utils-BJAW-jcv.d.ts} +2 -2
- package/dist/{version-B_LxfzVV.js → version-J_n7mBTo.js} +2 -2
- package/dist/{version-B_LxfzVV.js.map → version-J_n7mBTo.js.map} +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/CommandKit-BhdXwM9b.js.map +0 -1
- package/dist/build-D45Rr7KV.js.map +0 -1
- package/dist/constants-DOPSzXI0.js.map +0 -1
- package/dist/init-B6_jkuag.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommandKitPlugin } from "./CommandKit-
|
|
1
|
+
import { CommandKitPlugin } from "./CommandKit-LJlFFidn.js";
|
|
2
2
|
import { MaybeArray } from "./types-CJ-XvOFN.js";
|
|
3
3
|
|
|
4
4
|
//#region src/config/types.d.ts
|
|
@@ -70,4 +70,4 @@ interface CommandKitConfig {
|
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
72
|
export { CommandKitConfig };
|
|
73
|
-
//# sourceMappingURL=types
|
|
73
|
+
//# sourceMappingURL=types--Jq7UV8B.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-nOFOJqeH.js');
|
|
2
|
-
const require_constants = require('./constants-
|
|
2
|
+
const require_constants = require('./constants-CCqS_v55.js');
|
|
3
3
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const node_fs_promises = require_chunk.__toESM(require("node:fs/promises"));
|
|
@@ -63,4 +63,4 @@ Object.defineProperty(exports, 'rewriteCommandDeclaration', {
|
|
|
63
63
|
return rewriteCommandDeclaration;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
//# sourceMappingURL=types-package-
|
|
66
|
+
//# sourceMappingURL=types-package-B0Z-xrbB.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-package-
|
|
1
|
+
{"version":3,"file":"types-package-B0Z-xrbB.js","names":[],"sources":["../src/utils/types-package.ts"],"sourcesContent":["import { mkdir, writeFile } from 'node:fs/promises';\nimport { join } from 'node:path';\nimport { COMMANDKIT_IS_DEV } from './constants';\nimport { existsSync } from 'node:fs';\n\nexport async function generateTypesPackage(force = false) {\n const location = join(process.cwd(), 'node_modules', 'commandkit-types');\n if (!COMMANDKIT_IS_DEV && !force) return location;\n const packageJSON = join(location, 'package.json');\n const index = join(location, 'index.js');\n const types = join(location, 'index.d.ts');\n const command = join(location, 'command.d.ts');\n\n const packageJSONContent = {\n name: 'commandkit-types',\n version: '1.0.0',\n description: 'CommandKit types package',\n type: 'commonjs',\n main: 'index.js',\n types: 'index.d.ts',\n };\n\n const indexContent = `module.exports = {};`;\n\n // Restructuring the type declarations to properly extend rather than replace types\n const typesContent = `// Main types index file - imports all type declarations\nimport './command';\nexport {};\n`;\n\n // Properly set up command types to extend the CommandTypeData interface\n const commandTypesContent = `// Auto-generated command types\n export {};\ndeclare module 'commandkit' {\n type CommandTypeData = string\n}`;\n\n await mkdir(location, { recursive: true }).catch(() => {});\n await writeFile(packageJSON, JSON.stringify(packageJSONContent, null, 2));\n await writeFile(index, indexContent);\n await writeFile(types, typesContent);\n await writeFile(command, commandTypesContent);\n\n return location;\n}\n\nexport async function rewriteCommandDeclaration(data: string) {\n const commandTypesContent = `// Auto-generated command types\n declare module 'commandkit' {\n ${data}\n}\n export {};\n`;\n\n const location = join(process.cwd(), 'node_modules', 'commandkit-types');\n\n if (!existsSync(location)) return;\n\n const type = join(location, 'command.d.ts');\n\n await writeFile(type, commandTypesContent, { encoding: 'utf-8' });\n}\n"],"mappings":";;;;;;;AAKA,eAAsB,qBAAqB,QAAQ,OAAO;CACxD,MAAM,WAAW,oBAAK,QAAQ,KAAK,EAAE,gBAAgB,mBAAmB;AACxE,MAAK,wCAAsB,MAAO,QAAO;CACzC,MAAM,cAAc,oBAAK,UAAU,eAAe;CAClD,MAAM,QAAQ,oBAAK,UAAU,WAAW;CACxC,MAAM,QAAQ,oBAAK,UAAU,aAAa;CAC1C,MAAM,UAAU,oBAAK,UAAU,eAAe;CAE9C,MAAM,qBAAqB;EACzB,MAAM;EACN,SAAS;EACT,aAAa;EACb,MAAM;EACN,MAAM;EACN,OAAO;CACR;CAED,MAAM,gBAAgB;CAGtB,MAAM,gBAAgB;;;;CAMtB,MAAM,uBAAuB;;;;;AAM7B,OAAM,4BAAM,UAAU,EAAE,WAAW,KAAM,EAAC,CAAC,MAAM,MAAM,CAAE,EAAC;AAC1D,OAAM,gCAAU,aAAa,KAAK,UAAU,oBAAoB,MAAM,EAAE,CAAC;AACzE,OAAM,gCAAU,OAAO,aAAa;AACpC,OAAM,gCAAU,OAAO,aAAa;AACpC,OAAM,gCAAU,SAAS,oBAAoB;AAE7C,QAAO;AACT;AAEA,eAAsB,0BAA0B,MAAc;CAC5D,MAAM,uBAAuB;;MAEzB,KAAI;;;;CAKR,MAAM,WAAW,oBAAK,QAAQ,KAAK,EAAE,gBAAgB,mBAAmB;AAExE,MAAK,wBAAW,SAAS,CAAE;CAE3B,MAAM,OAAO,oBAAK,UAAU,eAAe;AAE3C,OAAM,gCAAU,MAAM,qBAAqB,EAAE,UAAU,QAAS,EAAC;AACnE"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommandContext, CommandData, CommandKitOptions } from "./CommandKit-
|
|
1
|
+
import { CommandContext, CommandData, CommandKitOptions } from "./CommandKit-LJlFFidn.js";
|
|
2
2
|
import "./EventInterceptor-D_oEWSnF.js";
|
|
3
3
|
import "./ButtonKit-BSI7lCI0.js";
|
|
4
4
|
import "./ModalKit-CKtQ8eXW.js";
|
|
@@ -28,5 +28,5 @@ import "./helpers-DAmE106r.js";
|
|
|
28
28
|
import "./CommandsRouter-C7X-eXE2.js";
|
|
29
29
|
import "./EventsRouter-BacqK6z3.js";
|
|
30
30
|
import "./index-CUPkUUOR.js";
|
|
31
|
-
import "./constants-
|
|
31
|
+
import "./constants-BPWSrMkn.js";
|
|
32
32
|
export { CommandContext, CommandData, CommandKitOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CACHE_TAG, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventType } from "../constants-
|
|
2
|
-
export { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CACHE_TAG, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventType };
|
|
1
|
+
import { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CACHE_TAG, COMMANDKIT_IS_CLI, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventType } from "../constants-BPWSrMkn.js";
|
|
2
|
+
export { COMMANDKIT_BOOTSTRAP_MODE, COMMANDKIT_CACHE_TAG, COMMANDKIT_IS_CLI, COMMANDKIT_IS_DEV, COMMANDKIT_IS_TEST, HMREventType };
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const require_constants = require('../constants-
|
|
1
|
+
const require_constants = require('../constants-CCqS_v55.js');
|
|
2
2
|
|
|
3
3
|
exports.COMMANDKIT_BOOTSTRAP_MODE = require_constants.COMMANDKIT_BOOTSTRAP_MODE;
|
|
4
4
|
exports.COMMANDKIT_CACHE_TAG = require_constants.COMMANDKIT_CACHE_TAG;
|
|
5
|
+
exports.COMMANDKIT_IS_CLI = require_constants.COMMANDKIT_IS_CLI;
|
|
5
6
|
exports.COMMANDKIT_IS_DEV = require_constants.COMMANDKIT_IS_DEV;
|
|
6
7
|
exports.COMMANDKIT_IS_TEST = require_constants.COMMANDKIT_IS_TEST;
|
|
7
8
|
exports.HMREventType = require_constants.HMREventType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommandKitHMREvent, registerDevHooks } from "../CommandKit-
|
|
1
|
+
import { CommandKitHMREvent, registerDevHooks } from "../CommandKit-LJlFFidn.js";
|
|
2
2
|
import "../EventInterceptor-D_oEWSnF.js";
|
|
3
3
|
import "../ButtonKit-BSI7lCI0.js";
|
|
4
4
|
import "../ModalKit-CKtQ8eXW.js";
|
|
@@ -28,5 +28,5 @@ import "../helpers-DAmE106r.js";
|
|
|
28
28
|
import "../CommandsRouter-C7X-eXE2.js";
|
|
29
29
|
import "../EventsRouter-BacqK6z3.js";
|
|
30
30
|
import "../index-CUPkUUOR.js";
|
|
31
|
-
import "../constants-
|
|
31
|
+
import "../constants-BPWSrMkn.js";
|
|
32
32
|
export { CommandKitHMREvent, registerDevHooks };
|
package/dist/utils/dev-hooks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../colors-Cd4Oz-r-.js');
|
|
2
2
|
require('../ActionRow-CmTHbo2t.js');
|
|
3
3
|
require('../error-codes-C_UO39jz.js');
|
|
4
|
-
const require_CommandKit = require('../CommandKit-
|
|
4
|
+
const require_CommandKit = require('../CommandKit-O_Ra_xRL.js');
|
|
5
5
|
require('../common-CcfjYnPG.js');
|
|
6
6
|
require('../common-CeO-vn8Y.js');
|
|
7
7
|
require('../container-CpuiLsZM.js');
|
|
@@ -15,10 +15,10 @@ require('../warn-unstable-DHLaxPC8.js');
|
|
|
15
15
|
require('../element-DcqNz1dV.js');
|
|
16
16
|
require('../types-B5VPP9ig.js');
|
|
17
17
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
18
|
-
require('../constants-
|
|
18
|
+
require('../constants-CCqS_v55.js');
|
|
19
19
|
require('../PluginCommon-DPqnQngK.js');
|
|
20
|
-
require('../CompilerPlugin-
|
|
21
|
-
require('../RuntimePlugin-
|
|
20
|
+
require('../CompilerPlugin-DrnhOC1c.js');
|
|
21
|
+
require('../RuntimePlugin-BJoDa8ZR.js');
|
|
22
22
|
require('../types-Bq0EWaM3.js');
|
|
23
23
|
require('../CompilerPluginRuntime-C9wmPMQf.js');
|
|
24
24
|
require('../runtime-D0JnztkU.js');
|
|
@@ -26,11 +26,11 @@ require('../EventWorkerContext-BAKiTqJz.js');
|
|
|
26
26
|
require('../resolve-file-url-ifwdwqmq.js');
|
|
27
27
|
require('../MessageCommandParser-D02-wpZN.js');
|
|
28
28
|
require('../signals-scJdEbly.js');
|
|
29
|
-
require('../types-package-
|
|
29
|
+
require('../types-package-B0Z-xrbB.js');
|
|
30
30
|
require('../CommandsRouter-B91EHi6O.js');
|
|
31
31
|
require('../EventsRouter-C_J0M3uO.js');
|
|
32
32
|
require('../router-DHnFRADH.js');
|
|
33
|
-
require('../common-
|
|
33
|
+
require('../common-CoUM9Czx.js');
|
|
34
34
|
require('../CommandKitEventsChannel-BnSPcFdq.js');
|
|
35
35
|
require('../store-B9bo6On8.js');
|
|
36
36
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
require('../constants-
|
|
2
|
-
const require_types_package = require('../types-package-
|
|
1
|
+
require('../constants-CCqS_v55.js');
|
|
2
|
+
const require_types_package = require('../types-package-B0Z-xrbB.js');
|
|
3
3
|
|
|
4
4
|
exports.generateTypesPackage = require_types_package.generateTypesPackage;
|
|
5
5
|
exports.rewriteCommandDeclaration = require_types_package.rewriteCommandDeclaration;
|
package/dist/utils/utilities.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../colors-Cd4Oz-r-.js');
|
|
2
2
|
require('../ActionRow-CmTHbo2t.js');
|
|
3
3
|
require('../error-codes-C_UO39jz.js');
|
|
4
|
-
const require_CommandKit = require('../CommandKit-
|
|
4
|
+
const require_CommandKit = require('../CommandKit-O_Ra_xRL.js');
|
|
5
5
|
require('../common-CcfjYnPG.js');
|
|
6
6
|
require('../common-CeO-vn8Y.js');
|
|
7
7
|
require('../container-CpuiLsZM.js');
|
|
@@ -15,10 +15,10 @@ require('../warn-unstable-DHLaxPC8.js');
|
|
|
15
15
|
require('../element-DcqNz1dV.js');
|
|
16
16
|
require('../types-B5VPP9ig.js');
|
|
17
17
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
18
|
-
require('../constants-
|
|
18
|
+
require('../constants-CCqS_v55.js');
|
|
19
19
|
require('../PluginCommon-DPqnQngK.js');
|
|
20
|
-
require('../CompilerPlugin-
|
|
21
|
-
require('../RuntimePlugin-
|
|
20
|
+
require('../CompilerPlugin-DrnhOC1c.js');
|
|
21
|
+
require('../RuntimePlugin-BJoDa8ZR.js');
|
|
22
22
|
require('../types-Bq0EWaM3.js');
|
|
23
23
|
require('../CompilerPluginRuntime-C9wmPMQf.js');
|
|
24
24
|
require('../runtime-D0JnztkU.js');
|
|
@@ -26,11 +26,11 @@ require('../EventWorkerContext-BAKiTqJz.js');
|
|
|
26
26
|
require('../resolve-file-url-ifwdwqmq.js');
|
|
27
27
|
require('../MessageCommandParser-D02-wpZN.js');
|
|
28
28
|
require('../signals-scJdEbly.js');
|
|
29
|
-
require('../types-package-
|
|
29
|
+
require('../types-package-B0Z-xrbB.js');
|
|
30
30
|
require('../CommandsRouter-B91EHi6O.js');
|
|
31
31
|
require('../EventsRouter-C_J0M3uO.js');
|
|
32
32
|
require('../router-DHnFRADH.js');
|
|
33
|
-
require('../common-
|
|
33
|
+
require('../common-CoUM9Czx.js');
|
|
34
34
|
require('../CommandKitEventsChannel-BnSPcFdq.js');
|
|
35
35
|
require('../store-B9bo6On8.js');
|
|
36
36
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommandKitConfig } from "./types
|
|
1
|
+
import { CommandKitConfig } from "./types--Jq7UV8B.js";
|
|
2
2
|
|
|
3
3
|
//#region src/config/utils.d.ts
|
|
4
4
|
type DeepRequired<T> = { [P in keyof T]-?: DeepRequired<T[P]> };
|
|
@@ -7,4 +7,4 @@ declare const mergeDeep: <T extends Record<string, any>>(target: T, source: T) =
|
|
|
7
7
|
type ResolvedCommandKitConfig = DeepRequired<CommandKitConfig>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DeepPartial, DeepRequired, ResolvedCommandKitConfig, mergeDeep };
|
|
10
|
-
//# sourceMappingURL=utils-
|
|
10
|
+
//# sourceMappingURL=utils-BJAW-jcv.d.ts.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* The current version of CommandKit.
|
|
5
5
|
*/
|
|
6
|
-
const version = "1.0.0-dev.
|
|
6
|
+
const version = "1.0.0-dev.20250602020651";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
Object.defineProperty(exports, 'version', {
|
|
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'version', {
|
|
|
12
12
|
return version;
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=version-
|
|
15
|
+
//# sourceMappingURL=version-J_n7mBTo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-
|
|
1
|
+
{"version":3,"file":"version-J_n7mBTo.js","names":[],"sources":["../src/version.ts"],"sourcesContent":["function $version(): string {\n 'use macro';\n return require('../package.json').version;\n}\n\n/**\n * The current version of CommandKit.\n */\nexport const version: string = $version();\n"],"mappings":";;;;;AAQA,MAAa,UAA4B"}
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commandkit",
|
|
3
3
|
"description": "Beginner friendly command & event handler for Discord.js",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.20250602020651",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"picocolors": "^1.1.1",
|
|
112
112
|
"rfdc": "^1.3.1",
|
|
113
113
|
"rimraf": "^6.0.0",
|
|
114
|
-
"tsdown": "^0.12.
|
|
114
|
+
"tsdown": "^0.12.5",
|
|
115
115
|
"use-macro": "^1.1.0"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"tsx": "^4.19.2",
|
|
123
123
|
"typescript": "^5.7.3",
|
|
124
124
|
"vitest": "^3.0.5",
|
|
125
|
-
"tsconfig": "0.0.0-dev.
|
|
125
|
+
"tsconfig": "0.0.0-dev.20250602020651"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"discord.js": "^14"
|