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

@@ -41,7 +41,11 @@ Also has references to .mdc files.`;
// Convert it
const testWindsurfRule = path.join(testDir, 'basic-terms.md');
convertRuleToProfileRule(testCursorRule, testWindsurfRule, windsurfProfile);
convertRuleToProfileRule(
testCursorRule,
testWindsurfRule,
windsurfProfile.windsurfProfile
);
// Read the converted file
const convertedContent = fs.readFileSync(testWindsurfRule, 'utf8');
@@ -72,7 +76,11 @@ alwaysApply: true
// Convert it
const testWindsurfRule = path.join(testDir, 'tool-refs.md');
convertRuleToProfileRule(testCursorRule, testWindsurfRule, windsurfProfile);
convertRuleToProfileRule(
testCursorRule,
testWindsurfRule,
windsurfProfile.windsurfProfile
);
// Read the converted file
const convertedContent = fs.readFileSync(testWindsurfRule, 'utf8');
@@ -100,7 +108,11 @@ This references [dev_workflow.mdc](mdc:.cursor/rules/dev_workflow.mdc) and
// Convert it
const testWindsurfRule = path.join(testDir, 'file-refs.md');
convertRuleToProfileRule(testCursorRule, testWindsurfRule, windsurfProfile);
convertRuleToProfileRule(
testCursorRule,
testWindsurfRule,
windsurfProfile.windsurfProfile
);
// Read the converted file
const convertedContent = fs.readFileSync(testWindsurfRule, 'utf8');