commandkit 1.2.2 → 1.2.4
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/analytics/analytics-engine.d.ts +1 -1
- package/dist/analytics/analytics-engine.js +1 -1
- package/dist/analytics/analytics-provider.d.ts +1 -1
- package/dist/analytics/analytics-provider.js +1 -1
- package/dist/analytics/constants.js.map +1 -1
- package/dist/analytics/utils.js +1 -1
- package/dist/{analytics-engine-Bz1p7ud3.d.ts → analytics-engine-uY6FDAEv.d.ts} +8 -2
- package/dist/app/commands/AppCommandRunner.d.ts +1 -1
- package/dist/app/commands/AppCommandRunner.js +1 -1
- package/dist/app/commands/Context.d.ts +1 -1
- package/dist/app/commands/Context.js +1 -1
- package/dist/app/commands/MessageCommandParser.js +1 -1
- package/dist/app/commands/MessageCommandParser.js.map +1 -1
- package/dist/app/commands/helpers.js.map +1 -1
- package/dist/app/events/EventWorkerContext.d.ts +1 -1
- package/dist/app/events/EventWorkerContext.js.map +1 -1
- package/dist/app/handlers/AppCommandHandler.d.ts +1 -1
- package/dist/app/handlers/AppCommandHandler.js +1 -1
- package/dist/app/handlers/AppEventsHandler.d.ts +1 -1
- package/dist/app/handlers/AppEventsHandler.js +1 -1
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +4 -4
- package/dist/app/interrupt/signals.js +2 -2
- package/dist/app/interrupt/signals.js.map +1 -1
- package/dist/app/middlewares/permissions.d.ts +1 -1
- package/dist/app/middlewares/permissions.js +1 -1
- package/dist/app/register/CommandRegistrar.d.ts +1 -1
- package/dist/app/register/CommandRegistrar.js +1 -1
- package/dist/app/router/CommandTree.js +1 -1
- package/dist/app/router/CommandsRouter.js +3 -1
- package/dist/app/router/CommandsRouter.js.map +1 -1
- package/dist/app/router/EventsRouter.js +3 -1
- package/dist/app/router/EventsRouter.js.map +1 -1
- package/dist/app/router/TreeArtifact.js.map +1 -1
- package/dist/app/router/index.js +3 -3
- package/dist/cli/app-process.d.ts +1 -1
- package/dist/cli/app-process.js +2 -2
- package/dist/cli/app-process.js.map +1 -1
- package/dist/cli/build.d.ts +1 -1
- package/dist/cli/build.js +25 -22
- package/dist/cli/build.js.map +1 -1
- package/dist/cli/common.d.ts +1 -1
- package/dist/cli/common.js +4 -4
- package/dist/cli/common.js.map +1 -1
- package/dist/cli/development.js +7 -8
- package/dist/cli/development.js.map +1 -1
- package/dist/cli/env.js +0 -1
- package/dist/cli/generators.js +3 -3
- package/dist/cli/generators.js.map +1 -1
- package/dist/cli/information.js +3 -3
- package/dist/cli/information.js.map +1 -1
- package/dist/cli/init.js +12 -10
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/production.js +7 -7
- package/dist/cli/production.js.map +1 -1
- package/dist/cli/type-checker.js +2 -2
- package/dist/cli/type-checker.js.map +1 -1
- package/dist/cli/utils.js +0 -1
- package/dist/{commandkit-DNbfLwyR.js → commandkit-5cCZPGBF.js} +214 -187
- package/dist/commandkit-5cCZPGBF.js.map +1 -0
- package/dist/commandkit.d.ts +1 -1
- package/dist/commandkit.js +1 -1
- package/dist/components/common/EventInterceptor.js +0 -1
- package/dist/components/common/element.js +1 -1
- package/dist/components/common/types.js +1 -1
- package/dist/components/display/common.js +1 -1
- package/dist/components/display/container.js +1 -1
- package/dist/components/display/file.js.map +1 -1
- package/dist/components/display/index.js +5 -5
- package/dist/components/display/label.js +1 -1
- package/dist/components/display/media-gallery.js +1 -1
- package/dist/components/display/poll.js.map +1 -1
- package/dist/components/display/section.js +1 -1
- package/dist/components/display/separator.js.map +1 -1
- package/dist/components/display/text-display.js +4 -2
- package/dist/components/display/text-display.js.map +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/interactive/action-row/ActionRow.js.map +1 -1
- package/dist/components/interactive/button/Button.js +1 -1
- package/dist/components/interactive/button/ButtonKit.js +1 -1
- package/dist/components/interactive/checkbox/checkbox.js +1 -1
- package/dist/components/interactive/modal/Modal.js +1 -1
- package/dist/components/interactive/modal/ModalKit.js +1 -1
- package/dist/components/interactive/radio/radio.js +1 -1
- package/dist/components/interactive/select-menu/ChannelSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/MentionableSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/RoleSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/SelectMenu.js +1 -1
- package/dist/components/interactive/select-menu/StringSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/UserSelectMenuKit.js +1 -1
- package/dist/components/interactive/select-menu/common.js +1 -1
- package/dist/config/config.d.ts +1 -1
- package/dist/config/config.js +1 -1
- package/dist/config/default.d.ts +1 -1
- package/dist/config/default.js +1 -1
- package/dist/config/loader.d.ts +1 -1
- package/dist/config/loader.js +1 -1
- package/dist/config/types.d.ts +1 -1
- package/dist/config/types.js +1 -1
- package/dist/config/utils.d.ts +1 -1
- package/dist/config/utils.js +4 -4
- package/dist/context/async-context.d.ts +1 -1
- package/dist/context/async-context.js +1 -1
- package/dist/context/environment.d.ts +1 -1
- package/dist/context/environment.js +1 -1
- package/dist/events/CommandKitEventsChannel.d.ts +1 -1
- package/dist/events/CommandKitEventsChannel.js +1 -1
- package/dist/events/CommandKitEventsChannel.js.map +1 -1
- package/dist/flags/FlagProvider.d.ts +1 -1
- package/dist/flags/FlagProvider.js +0 -1
- package/dist/flags/feature-flags.d.ts +1 -1
- package/dist/flags/feature-flags.js +1 -1
- package/dist/flags/store.d.ts +1 -1
- package/dist/flags/store.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +22 -22
- package/dist/kv/constants.js +0 -1
- package/dist/kv/dotprops.js +0 -1
- package/dist/kv/kv.js +6 -4
- package/dist/kv/kv.js.map +1 -1
- package/dist/kv/serde.js +1 -1
- package/dist/logger/DefaultLogger.js +1 -1
- package/dist/logger/ILogger.js +1 -1
- package/dist/logger/Logger.js +1 -1
- package/dist/logger/NoopLogger.js +0 -1
- package/dist/plugins/CompilerPlugin.d.ts +1 -1
- package/dist/plugins/CompilerPlugin.js +1 -1
- package/dist/plugins/CompilerPlugin.js.map +1 -1
- package/dist/plugins/PluginCommon.d.ts +1 -1
- package/dist/plugins/PluginCommon.js.map +1 -1
- package/dist/plugins/RuntimePlugin.d.ts +1 -1
- package/dist/plugins/RuntimePlugin.js +1 -1
- package/dist/plugins/RuntimePlugin.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.js +3 -3
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.d.ts +1 -1
- package/dist/plugins/plugin-runtime/CommandKitPluginRuntime.js +1 -1
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.d.ts +1 -1
- package/dist/plugins/plugin-runtime/CompilerPluginRuntime.js +1 -1
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.d.ts +1 -1
- package/dist/plugins/plugin-runtime/builtin/CommonDirectiveTransformer.js +1 -1
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.d.ts +1 -1
- package/dist/plugins/plugin-runtime/builtin/MacroPlugin.js +1 -1
- package/dist/plugins/plugin-runtime/runtime.d.ts +1 -1
- package/dist/plugins/plugin-runtime/runtime.js +1 -1
- package/dist/plugins/types.d.ts +1 -1
- package/dist/plugins/types.js +1 -1
- package/dist/{rolldown-runtime-C_NdSu1c.js → rolldown-runtime-AN5ru5iW.js} +2 -3
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utils/colors.js.map +1 -1
- package/dist/utils/constants.js +0 -1
- package/dist/utils/dev-hooks.d.ts +1 -1
- package/dist/utils/dev-hooks.js +1 -1
- package/dist/utils/error-codes.js +0 -1
- package/dist/utils/resolve-file-url.js +1 -1
- package/dist/utils/types-package.js +3 -2
- package/dist/utils/types-package.js.map +1 -1
- package/dist/utils/useful-stuff/async-queue.js +0 -1
- package/dist/utils/useful-stuff/mutex.js +0 -1
- package/dist/utils/useful-stuff/ratelimiter.js +0 -1
- package/dist/utils/useful-stuff/semaphore.js +0 -1
- package/dist/utils/utilities.js +1 -1
- package/dist/utils/warning.js +0 -1
- package/dist/version.js +1 -2
- package/package.json +17 -15
- package/dist/commandkit-DNbfLwyR.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompilerPlugin.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CompilerPlugin.js","names":["PluginCommon","isPlugin"],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as isPlugin, L as PluginCommon, R as PluginOptions, z as PluginType } from "../analytics-engine-
|
|
1
|
+
import { B as isPlugin, L as PluginCommon, R as PluginOptions, z as PluginType } from "../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { PluginCommon, PluginOptions, PluginType, isPlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginCommon.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"PluginCommon.js","names":["randomUUID"],"sources":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RuntimePlugin, et as isRuntimePlugin } from "../analytics-engine-
|
|
1
|
+
import { $ as RuntimePlugin, et as isRuntimePlugin } from "../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { RuntimePlugin, isRuntimePlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimePlugin.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"RuntimePlugin.js","names":["PluginCommon","isPlugin"],"sources":[],"mappings":""}
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RuntimePlugin, G as CompilerPlugin, H as CompilerPluginRuntime, I as CommandKitPluginRuntime, J as isCompilerPlugin, K as PluginTransformParameters, Q as TemplateHandler, U as CommonDirectiveTransformer, V as CommonPluginRuntime, W as CommonDirectiveTransformerOptions, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey, et as isRuntimePlugin, q as TransformedResult } from "../analytics-engine-
|
|
1
|
+
import { $ as RuntimePlugin, G as CompilerPlugin, H as CompilerPluginRuntime, I as CommandKitPluginRuntime, J as isCompilerPlugin, K as PluginTransformParameters, Q as TemplateHandler, U as CommonDirectiveTransformer, V as CommonPluginRuntime, W as CommonDirectiveTransformerOptions, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey, et as isRuntimePlugin, q as TransformedResult } from "../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommandKitEventDispatch, CommandKitPlugin, CommandKitPluginRuntime, CommonDirectiveTransformer, CommonDirectiveTransformerOptions, CommonPluginRuntime, CompilerPlugin, CompilerPluginRuntime, MaybeFalsey, PluginTransformParameters, RuntimePlugin, TemplateHandler, TransformedResult, isCompilerPlugin, isRuntimePlugin };
|
package/dist/plugins/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
3
|
-
const require_plugins_CompilerPlugin = require(
|
|
4
|
-
const require_plugins_RuntimePlugin = require(
|
|
2
|
+
const require_commandkit = require("../commandkit-5cCZPGBF.js");
|
|
3
|
+
const require_plugins_CompilerPlugin = require("./CompilerPlugin.js");
|
|
4
|
+
const require_plugins_RuntimePlugin = require("./RuntimePlugin.js");
|
|
5
5
|
|
|
6
6
|
exports.CommandKitPluginRuntime = require_commandkit.CommandKitPluginRuntime;
|
|
7
7
|
exports.CommonDirectiveTransformer = require_commandkit.CommonDirectiveTransformer;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { I as CommandKitPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { I as CommandKitPluginRuntime } from "../../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommandKitPluginRuntime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.CommandKitPluginRuntime = require_commandkit.CommandKitPluginRuntime;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as CompilerPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { H as CompilerPluginRuntime } from "../../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CompilerPluginRuntime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.CompilerPluginRuntime = require_commandkit.CompilerPluginRuntime;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { U as CommonDirectiveTransformer, W as CommonDirectiveTransformerOptions } from "../../../analytics-engine-
|
|
1
|
+
import { U as CommonDirectiveTransformer, W as CommonDirectiveTransformerOptions } from "../../../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommonDirectiveTransformer, CommonDirectiveTransformerOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../../../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.CommonDirectiveTransformer = require_commandkit.CommonDirectiveTransformer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as CompilerPlugin, K as PluginTransformParameters, Z as MaybeFalsey, q as TransformedResult } from "../../../analytics-engine-
|
|
1
|
+
import { G as CompilerPlugin, K as PluginTransformParameters, Z as MaybeFalsey, q as TransformedResult } from "../../../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
//#region src/plugins/plugin-runtime/builtin/MacroPlugin.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Macro plugin enables the use of `"use macro"` directive in the code.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../../../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.MacroPlugin = require_commandkit.MacroPlugin;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { V as CommonPluginRuntime } from "../../analytics-engine-
|
|
1
|
+
import { V as CommonPluginRuntime } from "../../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommonPluginRuntime };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
package/dist/plugins/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Q as TemplateHandler, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey } from "../analytics-engine-
|
|
1
|
+
import { Q as TemplateHandler, X as CommandKitPlugin, Y as CommandKitEventDispatch, Z as MaybeFalsey } from "../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommandKitEventDispatch, CommandKitPlugin, MaybeFalsey, TemplateHandler };
|
package/dist/plugins/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -19,14 +19,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
23
|
value: mod,
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
|
|
29
|
-
Object.defineProperty(exports, '__toESM', {
|
|
28
|
+
Object.defineProperty(exports, "__toESM", {
|
|
30
29
|
enumerable: true,
|
|
31
30
|
get: function () {
|
|
32
31
|
return __toESM;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _n as EventHandler, fn as CommandContext, gn as CommandMetadataFunction, hn as CommandMetadata, mn as CommandKitOptions, pn as CommandData } from "./analytics-engine-
|
|
1
|
+
import { _n as EventHandler, fn as CommandContext, gn as CommandMetadataFunction, hn as CommandMetadata, mn as CommandKitOptions, pn as CommandData } from "./analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommandContext, CommandData, CommandKitOptions, CommandMetadata, CommandMetadataFunction, EventHandler };
|
package/dist/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
package/dist/utils/colors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"colors.js","names":["createColors"],"sources":[],"mappings":""}
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nt as IpcMessageCommand, rt as registerDevHooks, tt as CommandKitHMREvent } from "../analytics-engine-
|
|
1
|
+
import { nt as IpcMessageCommand, rt as registerDevHooks, tt as CommandKitHMREvent } from "../analytics-engine-uY6FDAEv.js";
|
|
2
2
|
export { CommandKitHMREvent, IpcMessageCommand, registerDevHooks };
|
package/dist/utils/dev-hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.registerDevHooks = require_commandkit.registerDevHooks;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_rolldown_runtime = require(
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime-AN5ru5iW.js");
|
|
3
3
|
let path = require("path");
|
|
4
4
|
path = require_rolldown_runtime.__toESM(path);
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_utils_constants = require(
|
|
2
|
+
const require_utils_constants = require("./constants.js");
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -15,7 +15,8 @@ function getEnvFilePath() {
|
|
|
15
15
|
return (0, node_path.join)(require_utils_constants.COMMANDKIT_CWD, COMMANDKIT_ENV_FILE);
|
|
16
16
|
}
|
|
17
17
|
async function ensureCommandkitEnvFile() {
|
|
18
|
-
|
|
18
|
+
const envPath = getEnvFilePath();
|
|
19
|
+
await (0, node_fs_promises.writeFile)(envPath, `/// <reference path="./${COMMANDKIT_TYPES_DIRECTORY}/types" />\n`, "utf8");
|
|
19
20
|
}
|
|
20
21
|
async function writeTypesContent(names = []) {
|
|
21
22
|
const typesPath = getTypesFilePath();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-package.js","names":[],"sources":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types-package.js","names":["join","COMMANDKIT_CWD","writeFile","mkdir","dirname","COMMANDKIT_IS_DEV","existsSync"],"sources":[],"mappings":""}
|
package/dist/utils/utilities.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_commandkit = require(
|
|
2
|
+
const require_commandkit = require("../commandkit-5cCZPGBF.js");
|
|
3
3
|
|
|
4
4
|
exports.JsonSerialize = require_commandkit.JsonSerialize;
|
|
5
5
|
exports.buildOnly = require_commandkit.buildOnly;
|
package/dist/utils/warning.js
CHANGED
package/dist/version.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
2
|
//#region src/version.ts
|
|
4
3
|
/**
|
|
5
4
|
* @private
|
|
@@ -7,7 +6,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
7
6
|
/**
|
|
8
7
|
* The current version of CommandKit.
|
|
9
8
|
*/
|
|
10
|
-
const version = "1.2.
|
|
9
|
+
const version = "1.2.4";
|
|
11
10
|
|
|
12
11
|
//#endregion
|
|
13
12
|
exports.version = version;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "commandkit",
|
|
3
3
|
"description": "Beginner friendly command & event handler for Discord.js",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
|
-
"bin": "./bin/index.mjs",
|
|
11
10
|
"files": [
|
|
12
11
|
"dist",
|
|
13
12
|
"bin",
|
|
@@ -152,11 +151,6 @@
|
|
|
152
151
|
"types": "./cli.d.ts"
|
|
153
152
|
}
|
|
154
153
|
},
|
|
155
|
-
"scripts": {
|
|
156
|
-
"check-types": "tsc --noEmit",
|
|
157
|
-
"build": "tsdown",
|
|
158
|
-
"test": "vitest"
|
|
159
|
-
},
|
|
160
154
|
"repository": {
|
|
161
155
|
"type": "git",
|
|
162
156
|
"url": "https://github.com/neplexlabs/commandkit",
|
|
@@ -179,19 +173,27 @@
|
|
|
179
173
|
"ora": "^9.4.1",
|
|
180
174
|
"picocolors": "^1.1.1",
|
|
181
175
|
"rimraf": "^6.1.3",
|
|
182
|
-
"tsdown": "
|
|
176
|
+
"tsdown": "^0.22.14",
|
|
183
177
|
"use-macro": "^1.1.0"
|
|
184
178
|
},
|
|
185
179
|
"devDependencies": {
|
|
186
180
|
"@types/ms": "^2.1.0",
|
|
187
|
-
"@types/node": "^25.9.
|
|
188
|
-
"discord.js": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
181
|
+
"@types/node": "^25.9.9",
|
|
182
|
+
"discord.js": "^14.27.0",
|
|
183
|
+
"tsx": "^4.23.15",
|
|
184
|
+
"typescript": "^5.9.3",
|
|
185
|
+
"vitest": "^4.1.11",
|
|
186
|
+
"tsconfig": "1.2.4"
|
|
193
187
|
},
|
|
194
188
|
"engines": {
|
|
195
189
|
"node": ">=24"
|
|
190
|
+
},
|
|
191
|
+
"scripts": {
|
|
192
|
+
"check-types": "tsc --noEmit",
|
|
193
|
+
"build": "tsdown",
|
|
194
|
+
"test": "vitest"
|
|
195
|
+
},
|
|
196
|
+
"bin": {
|
|
197
|
+
"commandkit": "./bin/index.mjs"
|
|
196
198
|
}
|
|
197
|
-
}
|
|
199
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commandkit-DNbfLwyR.js","names":[],"sources":[],"mappings":""}
|