Skip to content

Commit 67cf4d3

Browse files
committed
feat: tasks plugin wip
1 parent 1d7d403 commit 67cf4d3

26 files changed

+711
-185
lines changed

packages/commandkit/src/CommandKit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { join } from 'node:path';
1111
import { AppCommandHandler } from './app/handlers/AppCommandHandler';
1212
import { CommandsRouter, EventsRouter } from './app/router';
1313
import { AppEventsHandler } from './app/handlers/AppEventsHandler';
14-
import { CommandKitPluginRuntime } from './plugins/runtime/CommandKitPluginRuntime';
14+
import { CommandKitPluginRuntime } from './plugins/plugin-runtime/CommandKitPluginRuntime';
1515
import { loadConfigFile } from './config/loader';
1616
import { COMMANDKIT_IS_DEV } from './utils/constants';
1717
import { registerDevHooks } from './utils/dev-hooks';

packages/commandkit/src/config/default.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { CachePlugin } from '../plugins/runtime/builtin/cache/CachePlugin';
2-
import { MacroPlugin } from '../plugins/runtime/builtin/MacroPlugin';
1+
import { CachePlugin } from '../plugins/plugin-runtime/builtin/cache/CachePlugin';
2+
import { MacroPlugin } from '../plugins/plugin-runtime/builtin/MacroPlugin';
33
import { ResolvedCommandKitConfig } from './utils';
44

55
export const defaultConfig: ResolvedCommandKitConfig = {

packages/commandkit/src/plugins/CompilerPlugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import {
33
OnLoadArgs,
44
OnResolveArgs,
55
OnResolveResult,
6-
} from './runtime/types';
6+
} from './plugin-runtime/types';
77
import { PluginCommon, PluginOptions } from './PluginCommon';
88
import { MaybeFalsey } from './types';
9-
import { CompilerPluginRuntime } from './runtime/CompilerPluginRuntime';
9+
import { CompilerPluginRuntime } from './plugin-runtime/CompilerPluginRuntime';
1010

1111
export interface PluginTransformParameters {
1212
args: OnLoadArgs;

packages/commandkit/src/plugins/PluginCommon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CommonPluginRuntime } from './runtime/runtime';
1+
import { CommonPluginRuntime } from './plugin-runtime/runtime';
22

33
export type PluginOptions = Record<string, any>;
44

packages/commandkit/src/plugins/RuntimePlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Interaction, Message, PartialMessage } from 'discord.js';
22
import { PluginCommon, PluginOptions } from './PluginCommon';
3-
import type { CommandKitPluginRuntime } from './runtime/CommandKitPluginRuntime';
3+
import type { CommandKitPluginRuntime } from './plugin-runtime/CommandKitPluginRuntime';
44
import { CommandBuilderLike, PreparedAppCommandExecution } from '../app';
55
import { CommandKitEnvironment } from '../context/environment';
66
import { CommandKitHMREvent } from '../utils/dev-hooks';
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export * from './CompilerPlugin';
22
export * from './RuntimePlugin';
33
export * from './types';
4-
export * from './runtime/CommandKitPluginRuntime';
5-
export * from './runtime/CompilerPluginRuntime';
6-
export * from './runtime/types';
7-
export * from './runtime/runtime';
4+
export * from './plugin-runtime/CommandKitPluginRuntime';
5+
export * from './plugin-runtime/CompilerPluginRuntime';
6+
export * from './plugin-runtime/types';
7+
export * from './plugin-runtime/runtime';

0 commit comments

Comments
 (0)