mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
refactor: remove unused plugin sdk specifier builder
This commit is contained in:
@@ -2,7 +2,6 @@ export const pluginSdkEntrypoints: string[];
|
||||
export const pluginSdkSubpaths: string[];
|
||||
|
||||
export function buildPluginSdkEntrySources(): Record<string, string>;
|
||||
export function buildPluginSdkSpecifiers(): string[];
|
||||
export function buildPluginSdkPackageExports(): Record<
|
||||
string,
|
||||
{
|
||||
|
||||
@@ -10,12 +10,6 @@ export function buildPluginSdkEntrySources() {
|
||||
);
|
||||
}
|
||||
|
||||
export function buildPluginSdkSpecifiers() {
|
||||
return pluginSdkEntrypoints.map((entry) =>
|
||||
entry === "index" ? "openclaw/plugin-sdk" : `openclaw/plugin-sdk/${entry}`,
|
||||
);
|
||||
}
|
||||
|
||||
export function buildPluginSdkPackageExports() {
|
||||
return Object.fromEntries(
|
||||
pluginSdkEntrypoints.map((entry) => [
|
||||
|
||||
Reference in New Issue
Block a user