remove unneeded exports to optimize loc

This commit is contained in:
Joe Danziger
2025-05-27 14:52:09 -04:00
parent 5149aaa56f
commit 9681c9171c
10 changed files with 86 additions and 101 deletions

View File

@@ -102,8 +102,8 @@ function onPostConvertRulesProfile(targetDir) {
onAddRulesProfile(targetDir);
}
// Create roo profile using the base factory
const rooProfile = createProfile({
// Create and export roo profile using the base factory
export const rooProfile = createProfile({
name: 'roo',
displayName: 'Roo Code',
url: 'roocode.com',
@@ -123,20 +123,5 @@ const rooProfile = createProfile({
onPostConvert: onPostConvertRulesProfile
});
// Export all the standard profile properties and lifecycle functions
export const {
conversionConfig,
fileMap,
globalReplacements,
profileName,
displayName,
profileDir,
rulesDir,
mcpConfig,
mcpConfigName,
mcpConfigPath,
getTargetRuleFilename
} = rooProfile;
// Export lifecycle functions separately to avoid naming conflicts
export { onAddRulesProfile, onRemoveRulesProfile, onPostConvertRulesProfile };