diff --git a/packages/cli/src/helpers/path.ts b/packages/cli/src/helpers/path.ts index e435560..8364270 100644 --- a/packages/cli/src/helpers/path.ts +++ b/packages/cli/src/helpers/path.ts @@ -15,7 +15,7 @@ export async function getDirComponentRequiredFiles !dir.includes(filename)) + return componentObject.files.filter((filename) => !dir.includes(filename)) } export async function checkComponentInstalled(component: RegistryComponent, config: ResolvedConfig): Promise {