commandkit 1.0.0-dev.20250601135251 → 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-pZKcOltw.js → CommandKit-O_Ra_xRL.js} +3 -3
- package/dist/{CommandKit-pZKcOltw.js.map → CommandKit-O_Ra_xRL.js.map} +1 -1
- package/dist/CommandKit.js +3 -3
- package/dist/{CompilerPlugin-XzuGixkC.js → CompilerPlugin-DrnhOC1c.js} +2 -2
- package/dist/{CompilerPlugin-XzuGixkC.js.map → CompilerPlugin-DrnhOC1c.js.map} +1 -1
- 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.js +3 -3
- package/dist/app/commands/Context.js +3 -3
- package/dist/app/handlers/AppCommandHandler.js +3 -3
- package/dist/app/handlers/AppEventsHandler.js +3 -3
- package/dist/app/index.js +3 -3
- package/dist/app/register/CommandRegistrar.js +3 -3
- package/dist/{build-CXO5bwcP.js → build-DwKrwWkl.js} +3 -4
- package/dist/build-DwKrwWkl.js.map +1 -0
- package/dist/cli/build.js +4 -4
- package/dist/cli/common.d.ts +2 -2
- package/dist/cli/development.js +4 -4
- package/dist/cli/information.js +1 -1
- package/dist/cli/init.d.ts +1 -1
- package/dist/cli/init.js +4 -4
- package/dist/cli/production.d.ts +2 -2
- package/dist/cli/production.js +4 -4
- package/dist/components/index.js +3 -3
- package/dist/components/v1/button/Button.js +3 -3
- package/dist/components/v1/button/ButtonKit.js +3 -3
- package/dist/components/v1/modal/Modal.js +3 -3
- package/dist/components/v1/modal/ModalKit.js +3 -3
- package/dist/components/v1/select-menu/ChannelSelectMenuKit.js +3 -3
- package/dist/components/v1/select-menu/MentionableSelectMenuKit.js +3 -3
- package/dist/components/v1/select-menu/RoleSelectMenuKit.js +3 -3
- package/dist/components/v1/select-menu/SelectMenu.js +3 -3
- package/dist/components/v1/select-menu/StringSelectMenuKit.js +3 -3
- package/dist/components/v1/select-menu/UserSelectMenuKit.js +3 -3
- package/dist/config/config.js +3 -3
- package/dist/config/default.js +3 -3
- package/dist/config/loader.js +3 -3
- package/dist/context/async-context.js +3 -3
- package/dist/context/environment.js +3 -3
- package/dist/{feature-flags-DhHcB5h5.js → feature-flags-BXVYbfWD.js} +2 -2
- package/dist/{feature-flags-DhHcB5h5.js.map → feature-flags-BXVYbfWD.js.map} +1 -1
- package/dist/flags/feature-flags.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/{init-CEa28dgv.d.ts → init-CT348Okf.d.ts} +3 -3
- package/dist/{init-B_2lOZKJ.js → init-DnAVgPki.js} +3 -3
- package/dist/{init-B_2lOZKJ.js.map → init-DnAVgPki.js.map} +1 -1
- package/dist/logger/DefaultLogger.js +3 -3
- package/dist/logger/Logger.js +3 -3
- package/dist/plugins/CompilerPlugin.js +1 -1
- package/dist/plugins/RuntimePlugin.js +1 -1
- package/dist/plugins/index.js +3 -3
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +3 -3
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +3 -3
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +3 -3
- package/dist/utils/dev-hooks.js +3 -3
- package/dist/utils/utilities.js +3 -3
- package/dist/{version-wRFKSz6q.js → version-J_n7mBTo.js} +2 -2
- package/dist/{version-wRFKSz6q.js.map → version-J_n7mBTo.js.map} +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/build-CXO5bwcP.js.map +0 -1
package/dist/CommandKit.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');
|
|
@@ -17,8 +17,8 @@ require('./types-B5VPP9ig.js');
|
|
|
17
17
|
require('./EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -13,7 +13,7 @@ var CompilerPlugin = class extends require_PluginCommon.PluginCommon {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
function isCompilerPlugin(plugin) {
|
|
16
|
-
return require_PluginCommon.isPlugin(plugin) && plugin.type === require_PluginCommon.PluginType.Compiler;
|
|
16
|
+
return plugin instanceof CompilerPlugin || require_PluginCommon.isPlugin(plugin) && plugin.type === require_PluginCommon.PluginType.Compiler;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
@@ -29,4 +29,4 @@ Object.defineProperty(exports, 'isCompilerPlugin', {
|
|
|
29
29
|
return isCompilerPlugin;
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
//# sourceMappingURL=CompilerPlugin-
|
|
32
|
+
//# sourceMappingURL=CompilerPlugin-DrnhOC1c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompilerPlugin-
|
|
1
|
+
{"version":3,"file":"CompilerPlugin-DrnhOC1c.js","names":[],"sources":["../src/plugins/CompilerPlugin.ts"],"sourcesContent":["import {\n isPlugin,\n PluginCommon,\n PluginOptions,\n PluginType,\n} from './PluginCommon';\nimport { MaybeFalsey } from './types';\nimport { CompilerPluginRuntime } from './plugin-runtime/CompilerPluginRuntime';\n\nexport interface PluginTransformParameters {\n code: string;\n id: string;\n}\n\nexport interface TransformedResult {\n code?: string;\n map?: string | null;\n}\n\nexport abstract class CompilerPlugin<\n T extends PluginOptions = PluginOptions,\n> extends PluginCommon<T, CompilerPluginRuntime> {\n public readonly type = PluginType.Compiler;\n\n /**\n * Called when transformation is requested to this plugin\n * @param params The parameters for the transformation\n * @returns The transformed result\n */\n public async transform(\n params: PluginTransformParameters,\n ): Promise<MaybeFalsey<TransformedResult>> {\n return null;\n }\n}\n\nexport function isCompilerPlugin(plugin: unknown): plugin is CompilerPlugin {\n return (\n plugin instanceof CompilerPlugin ||\n (isPlugin(plugin) && plugin.type === PluginType.Compiler)\n );\n}\n"],"mappings":";;;AAmBA,IAAsB,iBAAtB,cAEA,kCAAuC;CACrC,AAAgB,OAAO,gCAAW;;;;;;CAOlC,MAAa,UACb,QAC0C;AACxC,SAAO;CACT;AACF;AAEA,SAAgB,iBAAiB,QAA2C;AAC1E,QACE,kBAAkB,kBAClB,8BAAS,OAAO,IAAI,OAAO,SAAS,gCAAW;AAEnD"}
|
|
@@ -111,7 +111,7 @@ var RuntimePlugin = class extends require_PluginCommon.PluginCommon {
|
|
|
111
111
|
async willEmitEvent(ctx, event) {}
|
|
112
112
|
};
|
|
113
113
|
function isRuntimePlugin(plugin) {
|
|
114
|
-
return require_PluginCommon.isPlugin(plugin) && plugin.type === require_PluginCommon.PluginType.Runtime;
|
|
114
|
+
return plugin instanceof RuntimePlugin || require_PluginCommon.isPlugin(plugin) && plugin.type === require_PluginCommon.PluginType.Runtime;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
//#endregion
|
|
@@ -127,4 +127,4 @@ Object.defineProperty(exports, 'isRuntimePlugin', {
|
|
|
127
127
|
return isRuntimePlugin;
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
//# sourceMappingURL=RuntimePlugin-
|
|
130
|
+
//# sourceMappingURL=RuntimePlugin-BJoDa8ZR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimePlugin-
|
|
1
|
+
{"version":3,"file":"RuntimePlugin-BJoDa8ZR.js","names":[],"sources":["../src/plugins/RuntimePlugin.ts"],"sourcesContent":["import { Interaction, Message } from 'discord.js';\nimport {\n isPlugin,\n PluginCommon,\n PluginOptions,\n PluginType,\n} from './PluginCommon';\nimport type { CommandKitPluginRuntime } from './plugin-runtime/CommandKitPluginRuntime';\nimport { CommandBuilderLike, PreparedAppCommandExecution } from '../app';\nimport { CommandKitEnvironment } from '../context/environment';\nimport { CommandKitHMREvent } from '../utils/dev-hooks';\nimport { PreRegisterCommandsEvent } from '../app/register/CommandRegistrar';\nimport { CommandKitEventDispatch } from './types';\n\nexport abstract class RuntimePlugin<\n T extends PluginOptions = PluginOptions,\n> extends PluginCommon<T, CommandKitPluginRuntime> {\n public readonly type = PluginType.Runtime;\n /**\n * Called before commands are loaded\n */\n public async onBeforeCommandsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after commands are loaded\n */\n public async onAfterCommandsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called before events are loaded\n */\n public async onBeforeEventsLoad(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after events are loaded\n */\n public async onAfterEventsLoad(ctx: CommandKitPluginRuntime): Promise<void> {}\n\n /**\n * Called before the client logs in\n */\n public async onBeforeClientLogin(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after the client logs in\n */\n public async onAfterClientLogin(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called before interaction is handled\n * @param interaction The interaction\n */\n public async onBeforeInteraction(\n ctx: CommandKitPluginRuntime,\n interaction: Interaction,\n ): Promise<void> {}\n\n /**\n * Called before message command is processed\n * @param message The message\n */\n public async onBeforeMessageCommand(\n ctx: CommandKitPluginRuntime,\n message: Message,\n ): Promise<void> {}\n\n /**\n * Called before command is executed. This method can execute the command itself.\n * @param source The source that triggered the command\n * @param command The command\n * @param execute The function that executes the command\n */\n public async executeCommand(\n ctx: CommandKitPluginRuntime,\n env: CommandKitEnvironment,\n source: Interaction | Message,\n command: PreparedAppCommandExecution,\n execute: () => Promise<any>,\n ): Promise<boolean> {\n return false;\n }\n\n /**\n * Called after events router is initialized\n * @param ctx The context\n */\n public async onEventsRouterInit(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called after commands router is initialized\n * @param ctx The context\n */\n public async onCommandsRouterInit(\n ctx: CommandKitPluginRuntime,\n ): Promise<void> {}\n\n /**\n * Called when HMR event is received\n * @param ctx The context\n * @param event The event\n */\n public async performHMR(\n ctx: CommandKitPluginRuntime,\n event: CommandKitHMREvent,\n ): Promise<void> {}\n\n /**\n * Called before command is loaded for registration. This method can be used to modify the command data before it is loaded.\n * @param ctx The context\n * @param commands The command that is being loaded. This is a CommandBuilderLike object which represents Discord's command\n */\n async prepareCommand(\n ctx: CommandKitPluginRuntime,\n commands: CommandBuilderLike,\n ): Promise<CommandBuilderLike | null> {\n return null;\n }\n\n /**\n * Called before command is registered to discord. This method can cancel the registration of the command and handle it manually.\n * @param ctx The context\n * @param data The command registration data\n */\n async onBeforeRegisterCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before global commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called after `onBeforeRegisterCommands` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforeRegisterGlobalCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before guild commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called before guilds of the command are resolved. It is called after `onBeforeRegisterCommands` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforePrepareGuildCommandsRegistration(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called before guild commands registration. This method can cancel the registration of the command and handle it manually.\n * This method is called after guilds of the command are resolved. It is called after `onBeforePrepareGuildCommandsRegistration` if that stage was not handled.\n * @param ctx The context\n * @param event The command registration data\n */\n async onBeforeRegisterGuildCommands(\n ctx: CommandKitPluginRuntime,\n event: PreRegisterCommandsEvent,\n ): Promise<void> {}\n\n /**\n * Called after command and all of its deferred functions are executed.\n * @param ctx The context\n * @param env The environment of the command. This environment contains the command execution data such as command context and more.\n */\n async onAfterCommand(\n ctx: CommandKitPluginRuntime,\n env: CommandKitEnvironment,\n ) {}\n\n /**\n * Called before emitting an event\n * @param ctx The context\n * @param event The event that is being emitted\n */\n public async willEmitEvent(\n ctx: CommandKitPluginRuntime,\n event: CommandKitEventDispatch,\n ) {}\n}\n\nexport function isRuntimePlugin(plugin: unknown): plugin is RuntimePlugin {\n return (\n plugin instanceof RuntimePlugin ||\n (isPlugin(plugin) && plugin.type === PluginType.Runtime)\n );\n}\n"],"mappings":";;;AAcA,IAAsB,gBAAtB,cAEA,kCAAyC;CACvC,AAAgB,OAAO,gCAAW;;;;CAIlC,MAAa,qBACb,KACgB,CAAE;;;;CAKlB,MAAa,oBACb,KACgB,CAAE;;;;CAKlB,MAAa,mBACb,KACgB,CAAE;;;;CAKlB,MAAa,kBAAkB,KAA6C,CAAC;;;;CAK7E,MAAa,oBACb,KACgB,CAAE;;;;CAKlB,MAAa,mBACb,KACgB,CAAE;;;;;CAMlB,MAAa,oBACb,KACA,aACgB,CAAE;;;;;CAMlB,MAAa,uBACb,KACA,SACgB,CAAE;;;;;;;CAQlB,MAAa,eACb,KACA,KACA,QACA,SACA,SACmB;AACjB,SAAO;CACT;;;;;CAMA,MAAa,mBACb,KACgB,CAAE;;;;;CAMlB,MAAa,qBACb,KACgB,CAAE;;;;;;CAOlB,MAAa,WACb,KACA,OACgB,CAAE;;;;;;CAOlB,MAAM,eACN,KACA,UACqC;AACnC,SAAO;CACT;;;;;;CAOA,MAAM,yBACN,KACA,OACgB,CAAE;;;;;;;CAQlB,MAAM,+BACN,KACA,OACgB,CAAE;;;;;;;CAQlB,MAAM,yCACN,KACA,OACgB,CAAE;;;;;;;CAQlB,MAAM,8BACN,KACA,OACgB,CAAE;;;;;;CAOlB,MAAM,eACN,KACA,KACA,CAAE;;;;;;CAOF,MAAa,cACb,KACA,OACA,CAAE;AACJ;AAEA,SAAgB,gBAAgB,QAA0C;AACxE,QACE,kBAAkB,iBAClB,8BAAS,OAAO,IAAI,OAAO,SAAS,gCAAW;AAEnD"}
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
package/dist/app/index.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');
|
|
@@ -17,8 +17,8 @@ require('../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-nOFOJqeH.js');
|
|
2
|
-
const require_CommandKit = require('./CommandKit-
|
|
2
|
+
const require_CommandKit = require('./CommandKit-O_Ra_xRL.js');
|
|
3
3
|
const require_CompilerPluginRuntime = require('./CompilerPluginRuntime-C9wmPMQf.js');
|
|
4
4
|
const require_common = require('./common-CoUM9Czx.js');
|
|
5
5
|
const require_env = require('./env-D3rn_eei.js');
|
|
@@ -42,11 +42,10 @@ async function buildApplication({ plugins, rolldownPlugins, isDev, configPath })
|
|
|
42
42
|
plugins: rolldownPlugins,
|
|
43
43
|
platform: "node",
|
|
44
44
|
skipNodeModulesBundle: true,
|
|
45
|
-
name: "CommandKit",
|
|
46
45
|
sourcemap: true,
|
|
47
46
|
target: "node16",
|
|
48
47
|
outDir: dest,
|
|
49
|
-
env:
|
|
48
|
+
env: config.env || {},
|
|
50
49
|
entry: [
|
|
51
50
|
"src",
|
|
52
51
|
`!${config.distDir}`,
|
|
@@ -126,4 +125,4 @@ Object.defineProperty(exports, 'buildApplication', {
|
|
|
126
125
|
return buildApplication;
|
|
127
126
|
}
|
|
128
127
|
});
|
|
129
|
-
//# sourceMappingURL=build-
|
|
128
|
+
//# sourceMappingURL=build-DwKrwWkl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-DwKrwWkl.js","names":[],"sources":["../src/cli/build.ts"],"sourcesContent":["import { build } from 'tsdown';\nimport { CompilerPlugin, CompilerPluginRuntime } from '../plugins';\nimport { loadConfigFile } from '../config/loader';\nimport { writeFile } from 'node:fs/promises';\nimport { join } from 'node:path';\nimport { DevEnv, devEnvFileArgs, ProdEnv, prodEnvFileArgs } from './env';\nimport { rimraf } from 'rimraf';\nimport { performTypeCheck } from './type-checker';\nimport { copyLocaleFiles } from './common';\nimport { MaybeArray } from '../components';\n\nexport interface ApplicationBuildOptions {\n plugins?: MaybeArray<CompilerPlugin>[] | Array<CompilerPlugin>;\n rolldownPlugins?: any[];\n isDev?: boolean;\n configPath?: string;\n}\n\nexport async function buildApplication({\n plugins,\n rolldownPlugins,\n isDev,\n configPath,\n}: ApplicationBuildOptions) {\n const config = await loadConfigFile(configPath);\n\n if (!isDev && !config?.typescript?.ignoreBuildErrors) {\n await performTypeCheck(configPath || process.cwd());\n }\n\n const pluginRuntime = new CompilerPluginRuntime(\n (plugins || []) as CompilerPlugin[],\n );\n\n rolldownPlugins ??= [];\n\n rolldownPlugins.push(pluginRuntime.toJSON());\n\n try {\n const dest = isDev ? '.commandkit' : config.distDir;\n\n // Clean the destination directory\n await rimraf(dest);\n\n await pluginRuntime.init();\n\n await build({\n watch: false,\n dts: false,\n clean: true,\n format: ['esm'],\n shims: true,\n minify: false,\n silent: !!isDev,\n inputOptions: {\n transform: {\n jsx: {\n runtime: 'automatic',\n importSource: 'commandkit',\n },\n },\n moduleTypes: {\n '.json': 'js',\n '.node': 'binary',\n },\n },\n plugins: rolldownPlugins,\n platform: 'node',\n skipNodeModulesBundle: true,\n sourcemap: true,\n target: 'node16',\n outDir: dest,\n env: config.env || {},\n entry: [\n 'src',\n `!${config.distDir}`,\n '!.commandkit',\n '!**/*.test.*',\n '!**/*.spec.*',\n ],\n unbundle: false,\n });\n\n await copyLocaleFiles('src', dest);\n await injectEntryFile(configPath || process.cwd(), !!isDev, config.distDir);\n } catch (error) {\n console.error('Build failed:', error);\n if (error instanceof Error) {\n console.error('Error details:', error.stack);\n }\n process.exit(1); // Force exit on error\n } finally {\n // Ensure plugins are cleaned up\n await pluginRuntime.destroy();\n }\n}\n\nconst envScript = (dev: boolean) => `// --- Environment Variables Loader ---\nconst $env = [${(dev ? devEnvFileArgs : prodEnvFileArgs).map((p) => `\"${p}\"`).join(', ')}];\nfor (const file of $env) {\n try {\n process.loadEnvFile(file);\n console.log('\\\\x1b[36m✔ Loaded \\\\x1b[0m\\\\x1b[33m%s\\\\x1b[0m', file);\n } catch {}\n}\n`;\n\nconst antiCrashScript = [\n '// --- CommandKit Anti-Crash Monitor ---',\n \" // 'uncaughtException' event is supposed to be used to perform synchronous cleanup before shutting down the process\",\n ' // instead of using it as a means to resume operation.',\n ' // But it exists here due to compatibility reasons with discord bot ecosystem.',\n \" const p = (t) => `\\\\x1b[31m${t}\\\\x1b[0m`, b = '[CommandKit Anti-Crash Monitor]', l = console.log, e1 = 'uncaughtException', e2 = 'unhandledRejection';\",\n ' if (!process.eventNames().includes(e1)) // skip if it is already handled',\n ' process.on(e1, (e) => {',\n ' l(p(`${b} Uncaught Exception`)); l(p(b), p(e.stack || e));',\n ' })',\n ' if (!process.eventNames().includes(e2)) // skip if it is already handled',\n ' process.on(e2, (r) => {',\n ' l(p(`${b} Unhandled promise rejection`)); l(p(`${b} ${r.stack || r}`));',\n ' });',\n '// --- CommandKit Anti-Crash Monitor ---',\n].join('\\n');\n\nconst wrapInAsyncIIFE = (code: string[]) =>\n `;await (async () => {\\n${code.join('\\n\\n')}\\n})();`;\n\nasync function injectEntryFile(\n configPath: string,\n isDev: boolean,\n distDir?: string,\n) {\n const code = `/* Entrypoint File Generated By CommandKit */\n${isDev ? `\\n\\n// Injected for development\\n${wrapInAsyncIIFE([envScript(isDev), antiCrashScript])}\\n\\n` : wrapInAsyncIIFE([envScript(isDev)])}\n\nimport { commandkit } from 'commandkit';\nimport { Client } from 'discord.js';\n\nasync function bootstrap() {\n const app = await import('./app.js').then((m) => m.default ?? m);\n\n if (!app || !(app instanceof Client)) {\n throw new Error('The app file must default export the discord.js client instance');\n }\n\n commandkit.setClient(app);\n\n await commandkit.start();\n}\n\nawait bootstrap().catch((e) => {\n console.error('Failed to bootstrap CommandKit application:\\\\n', e.stack);\n})\n`;\n\n const dist = isDev ? '.commandkit' : distDir || 'dist';\n\n await writeFile(join(configPath, dist, 'index.js'), code);\n}\n"],"mappings":";;;;;;;;;;;;AAkBA,eAAsB,iBAAiB,EACrC,SACA,iBACA,OACA,YACwB,EAAE;;CAC1B,MAAM,SAAS,MAAM,kCAAe,WAAW;AAE/C,MAAK,yEAAU,OAAQ,oFAAY,mBACjC,OAAM,sCAAiB,cAAc,QAAQ,KAAK,CAAC;CAGrD,MAAM,gBAAgB,IAAI,oDACvB,WAAW,CAAE;AAGhB,qBAAoB,CAAE;AAEtB,iBAAgB,KAAK,cAAc,QAAQ,CAAC;AAE5C,KAAI;EACF,MAAM,OAAO,QAAQ,gBAAgB,OAAO;AAG5C,QAAM,mBAAO,KAAK;AAElB,QAAM,cAAc,MAAM;AAE1B,QAAM,kBAAM;GACV,OAAO;GACP,KAAK;GACL,OAAO;GACP,QAAQ,CAAC,KAAM;GACf,OAAO;GACP,QAAQ;GACR,UAAU;GACV,cAAc;IACZ,WAAW,EACT,KAAK;KACH,SAAS;KACT,cAAc;IACf,EACF;IACD,aAAa;KACX,SAAS;KACT,SAAS;IACV;GACF;GACD,SAAS;GACT,UAAU;GACV,uBAAuB;GACvB,WAAW;GACX,QAAQ;GACR,QAAQ;GACR,KAAK,OAAO,OAAO,CAAE;GACrB,OAAO;IACP;KACC,GAAG,OAAO,QAAQ;IACnB;IACA;IACA;GAAe;GAEf,UAAU;EACX,EAAC;AAEF,QAAM,+BAAgB,OAAO,KAAK;AAClC,QAAM,gBAAgB,cAAc,QAAQ,KAAK,IAAI,OAAO,OAAO,QAAQ;CAC5E,SAAQ,OAAO;AACd,UAAQ,MAAM,iBAAiB,MAAM;AACrC,MAAI,iBAAiB,MACnB,SAAQ,MAAM,kBAAkB,MAAM,MAAM;AAE9C,UAAQ,KAAK,EAAE;CAChB,UAAS;AAER,QAAM,cAAc,SAAS;CAC/B;AACF;AAEA,MAAM,YAAY,CAAC,SAAkB;gBACrB,CAAC,MAAM,6BAAiB,6BAAiB,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,CAAC,KAAK,KAAK,CAAC;;;;;;;;AASzF,MAAM,kBAAkB;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AAA2C,EAC3C,KAAK,KAAK;AAEV,MAAM,kBAAkB,CAAC,UACxB,yBAAyB,KAAK,KAAK,OAAO,CAAC;AAE5C,eAAe,gBACf,YACA,OACA,SACA;CACE,MAAM,QAAQ;EACd,SAAS,mCAAmC,gBAAgB,CAAC,UAAU,MAAM,EAAE,eAAgB,EAAC,CAAC,QAAQ,gBAAgB,CAAC,UAAU,MAAM,AAAC,EAAC,CAAA;;;;;;;;;;;;;;;;;;;;;CAsB5I,MAAM,OAAO,QAAQ,gBAAgB,WAAW;AAEhD,OAAM,gCAAU,oBAAK,YAAY,MAAM,WAAW,EAAE,KAAK;AAC3D"}
|
package/dist/cli/build.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
|
-
require('../CommandKit-
|
|
4
|
+
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');
|
|
@@ -17,8 +17,8 @@ require('../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -35,6 +35,6 @@ require('../CommandKitEventsChannel-BnSPcFdq.js');
|
|
|
35
35
|
require('../store-B9bo6On8.js');
|
|
36
36
|
require('../env-D3rn_eei.js');
|
|
37
37
|
require('../type-checker-FHABnKlq.js');
|
|
38
|
-
const require_build = require('../build-
|
|
38
|
+
const require_build = require('../build-DwKrwWkl.js');
|
|
39
39
|
|
|
40
40
|
exports.buildApplication = require_build.buildApplication;
|
package/dist/cli/common.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ import "../index-CUPkUUOR.js";
|
|
|
31
31
|
import "../constants-BPWSrMkn.js";
|
|
32
32
|
import "../types--Jq7UV8B.js";
|
|
33
33
|
import { ResolvedCommandKitConfig } from "../utils-BJAW-jcv.js";
|
|
34
|
-
import * as
|
|
34
|
+
import * as typescript1 from "typescript";
|
|
35
35
|
|
|
36
36
|
//#region src/cli/common.d.ts
|
|
37
37
|
declare function write(message: any): void;
|
|
@@ -41,7 +41,7 @@ declare function findEntrypoint(dir: string): string;
|
|
|
41
41
|
*/
|
|
42
42
|
declare function panic(message: any): never;
|
|
43
43
|
declare function findPackageJSON(): any;
|
|
44
|
-
declare function loadTypeScript(e?: string): Promise<typeof
|
|
44
|
+
declare function loadTypeScript(e?: string): Promise<typeof typescript1>;
|
|
45
45
|
declare function loadConfigFileFromPath(target: string): Promise<ResolvedCommandKitConfig>;
|
|
46
46
|
declare function erase(dir: string): void;
|
|
47
47
|
declare function copyLocaleFiles(_from: string, _to: string): Promise<void>;
|
package/dist/cli/development.js
CHANGED
|
@@ -2,7 +2,7 @@ const require_chunk = require('../chunk-nOFOJqeH.js');
|
|
|
2
2
|
const require_colors = require('../colors-Cd4Oz-r-.js');
|
|
3
3
|
require('../ActionRow-CmTHbo2t.js');
|
|
4
4
|
require('../error-codes-C_UO39jz.js');
|
|
5
|
-
const require_CommandKit = require('../CommandKit-
|
|
5
|
+
const require_CommandKit = require('../CommandKit-O_Ra_xRL.js');
|
|
6
6
|
require('../common-CcfjYnPG.js');
|
|
7
7
|
require('../common-CeO-vn8Y.js');
|
|
8
8
|
require('../container-CpuiLsZM.js');
|
|
@@ -18,8 +18,8 @@ require('../types-B5VPP9ig.js');
|
|
|
18
18
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
19
19
|
const require_constants = require('../constants-CCqS_v55.js');
|
|
20
20
|
require('../PluginCommon-DPqnQngK.js');
|
|
21
|
-
const require_CompilerPlugin = require('../CompilerPlugin-
|
|
22
|
-
require('../RuntimePlugin-
|
|
21
|
+
const require_CompilerPlugin = require('../CompilerPlugin-DrnhOC1c.js');
|
|
22
|
+
require('../RuntimePlugin-BJoDa8ZR.js');
|
|
23
23
|
require('../types-Bq0EWaM3.js');
|
|
24
24
|
require('../CompilerPluginRuntime-C9wmPMQf.js');
|
|
25
25
|
require('../runtime-D0JnztkU.js');
|
|
@@ -37,7 +37,7 @@ require('../store-B9bo6On8.js');
|
|
|
37
37
|
require('../env-D3rn_eei.js');
|
|
38
38
|
const require_app_process = require('../app-process-DGKqfi5y.js');
|
|
39
39
|
require('../type-checker-FHABnKlq.js');
|
|
40
|
-
const require_build = require('../build-
|
|
40
|
+
const require_build = require('../build-DwKrwWkl.js');
|
|
41
41
|
const node_crypto = require_chunk.__toESM(require("node:crypto"));
|
|
42
42
|
const path = require_chunk.__toESM(require("path"));
|
|
43
43
|
const chokidar = require_chunk.__toESM(require("chokidar"));
|
package/dist/cli/information.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-nOFOJqeH.js');
|
|
2
|
-
const require_version = require('../version-
|
|
2
|
+
const require_version = require('../version-J_n7mBTo.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_child_process = require_chunk.__toESM(require("node:child_process"));
|
package/dist/cli/init.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { bootstrapCommandkitCLI } from "../init-
|
|
1
|
+
import { bootstrapCommandkitCLI } from "../init-CT348Okf.js";
|
|
2
2
|
export { bootstrapCommandkitCLI };
|
package/dist/cli/init.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
|
-
require('../CommandKit-
|
|
4
|
+
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');
|
|
@@ -17,8 +17,8 @@ require('../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -33,6 +33,6 @@ require('../router-DHnFRADH.js');
|
|
|
33
33
|
require('../common-CoUM9Czx.js');
|
|
34
34
|
require('../CommandKitEventsChannel-BnSPcFdq.js');
|
|
35
35
|
require('../store-B9bo6On8.js');
|
|
36
|
-
const require_init = require('../init-
|
|
36
|
+
const require_init = require('../init-DnAVgPki.js');
|
|
37
37
|
|
|
38
38
|
exports.bootstrapCommandkitCLI = require_init.bootstrapCommandkitCLI;
|
package/dist/cli/production.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as child_process3 from "child_process";
|
|
2
2
|
|
|
3
3
|
//#region src/cli/production.d.ts
|
|
4
|
-
declare function bootstrapProductionServer(configPath?: string): Promise<
|
|
4
|
+
declare function bootstrapProductionServer(configPath?: string): Promise<child_process3.ChildProcess>;
|
|
5
5
|
declare function createProductionBuild(configPath?: string): Promise<void>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { bootstrapProductionServer, createProductionBuild };
|
package/dist/cli/production.js
CHANGED
|
@@ -2,7 +2,7 @@ const require_chunk = require('../chunk-nOFOJqeH.js');
|
|
|
2
2
|
require('../colors-Cd4Oz-r-.js');
|
|
3
3
|
require('../ActionRow-CmTHbo2t.js');
|
|
4
4
|
require('../error-codes-C_UO39jz.js');
|
|
5
|
-
const require_CommandKit = require('../CommandKit-
|
|
5
|
+
const require_CommandKit = require('../CommandKit-O_Ra_xRL.js');
|
|
6
6
|
require('../common-CcfjYnPG.js');
|
|
7
7
|
require('../common-CeO-vn8Y.js');
|
|
8
8
|
require('../container-CpuiLsZM.js');
|
|
@@ -18,8 +18,8 @@ require('../types-B5VPP9ig.js');
|
|
|
18
18
|
require('../EventInterceptor-Bvh05z7n.js');
|
|
19
19
|
require('../constants-CCqS_v55.js');
|
|
20
20
|
require('../PluginCommon-DPqnQngK.js');
|
|
21
|
-
const require_CompilerPlugin = require('../CompilerPlugin-
|
|
22
|
-
require('../RuntimePlugin-
|
|
21
|
+
const require_CompilerPlugin = require('../CompilerPlugin-DrnhOC1c.js');
|
|
22
|
+
require('../RuntimePlugin-BJoDa8ZR.js');
|
|
23
23
|
require('../types-Bq0EWaM3.js');
|
|
24
24
|
require('../CompilerPluginRuntime-C9wmPMQf.js');
|
|
25
25
|
require('../runtime-D0JnztkU.js');
|
|
@@ -37,7 +37,7 @@ require('../store-B9bo6On8.js');
|
|
|
37
37
|
require('../env-D3rn_eei.js');
|
|
38
38
|
const require_app_process = require('../app-process-DGKqfi5y.js');
|
|
39
39
|
require('../type-checker-FHABnKlq.js');
|
|
40
|
-
const require_build = require('../build-
|
|
40
|
+
const require_build = require('../build-DwKrwWkl.js');
|
|
41
41
|
const require_utils = require('../utils-CU2bkxji.js');
|
|
42
42
|
const fs = require_chunk.__toESM(require("fs"));
|
|
43
43
|
|
package/dist/components/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../colors-Cd4Oz-r-.js');
|
|
2
2
|
const require_ActionRow = 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
|
const require_container = require('../container-CpuiLsZM.js');
|
|
@@ -17,8 +17,8 @@ require('../types-B5VPP9ig.js');
|
|
|
17
17
|
const require_EventInterceptor = require('../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|
|
@@ -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');
|
|
@@ -17,8 +17,8 @@ require('../../../types-B5VPP9ig.js');
|
|
|
17
17
|
require('../../../EventInterceptor-Bvh05z7n.js');
|
|
18
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');
|