move profiles to /src

This commit is contained in:
Joe Danziger
2025-06-05 10:17:30 -04:00
parent 8f93a695e9
commit 948203ed7f
27 changed files with 26 additions and 26 deletions

View File

@@ -7,7 +7,7 @@ describe('Claude Profile Initialization Functionality', () => {
beforeAll(() => {
const claudeJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'claude.js'
);

View File

@@ -7,7 +7,7 @@ describe('Cline Profile Initialization Functionality', () => {
beforeAll(() => {
const clineJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'cline.js'
);

View File

@@ -7,7 +7,7 @@ describe('Codex Profile Initialization Functionality', () => {
beforeAll(() => {
const codexJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'codex.js'
);

View File

@@ -7,7 +7,7 @@ describe('Cursor Profile Initialization Functionality', () => {
beforeAll(() => {
const cursorJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'cursor.js'
);

View File

@@ -18,7 +18,7 @@ describe('Roo Files Inclusion in Package', () => {
test('roo.js profile contains logic for Roo directory creation and file copying', () => {
// Read the roo.js profile file
const rooJsPath = path.join(process.cwd(), 'scripts', 'profiles', 'roo.js');
const rooJsPath = path.join(process.cwd(), 'src', 'profiles', 'roo.js');
const rooJsContent = fs.readFileSync(rooJsPath, 'utf8');
// Check for the main handler function
@@ -55,10 +55,10 @@ describe('Roo Files Inclusion in Package', () => {
)
).toBe(true);
// Check for import of ROO_MODES from profiles.js
// Check for import of ROO_MODES from profiles.js instead of local definition
expect(
rooJsContent.includes(
"import { ROO_MODES } from '../../src/constants/profiles.js'"
"import { ROO_MODES } from '../constants/profiles.js'"
)
).toBe(true);

View File

@@ -7,7 +7,7 @@ describe('Roo Profile Initialization Functionality', () => {
beforeAll(() => {
// Read the roo.js profile file content once for all tests
const rooJsPath = path.join(process.cwd(), 'scripts', 'profiles', 'roo.js');
const rooJsPath = path.join(process.cwd(), 'src', 'profiles', 'roo.js');
rooProfileContent = fs.readFileSync(rooJsPath, 'utf8');
});
@@ -32,7 +32,7 @@ describe('Roo Profile Initialization Functionality', () => {
// Check for import of ROO_MODES from profiles.js instead of local definition
expect(rooProfileContent).toContain(
"import { ROO_MODES } from '../../src/constants/profiles.js';"
"import { ROO_MODES } from '../constants/profiles.js';"
);
});

View File

@@ -37,7 +37,7 @@ describe('Rules Files Inclusion in Package', () => {
test('roo.js profile contains logic for Roo directory creation and file copying', () => {
// Read the roo.js profile file
const rooJsPath = path.join(process.cwd(), 'scripts', 'profiles', 'roo.js');
const rooJsPath = path.join(process.cwd(), 'src', 'profiles', 'roo.js');
const rooJsContent = fs.readFileSync(rooJsPath, 'utf8');
// Check for the main handler function
@@ -77,7 +77,7 @@ describe('Rules Files Inclusion in Package', () => {
// Check for import of ROO_MODES from profiles.js
expect(
rooJsContent.includes(
"import { ROO_MODES } from '../../src/constants/profiles.js'"
"import { ROO_MODES } from '../constants/profiles.js'"
)
).toBe(true);

View File

@@ -7,7 +7,7 @@ describe('Trae Profile Initialization Functionality', () => {
beforeAll(() => {
const traeJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'trae.js'
);

View File

@@ -7,7 +7,7 @@ describe('Windsurf Profile Initialization Functionality', () => {
beforeAll(() => {
const windsurfJsPath = path.join(
process.cwd(),
'scripts',
'src',
'profiles',
'windsurf.js'
);