Skip to content

Commit 7f328ca

Browse files
committed
remove codex setup for now wip
1 parent f0907ed commit 7f328ca

File tree

4 files changed

+0
-79
lines changed

4 files changed

+0
-79
lines changed

packages/create-nx-workspace/src/create-workspace.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ export async function createWorkspace<T extends CreateWorkspaceOptions>(
6767
);
6868
}
6969

70-
const writtenCodexPath = addMcpToCodexConfig();
71-
72-
if (writtenCodexPath) {
73-
ora(`Added nx_mcp to ${writtenCodexPath}`).succeed();
74-
}
75-
7670
let connectUrl: string | undefined;
7771
let nxCloudInfo: string | undefined;
7872
if (nxCloud !== 'skip') {

packages/create-nx-workspace/src/utils/add-mcp-to-codex-config.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

packages/workspace/src/generators/setup-ai-agents/setup-ai-agents.spec.ts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -46,32 +46,6 @@ describe('setup-ai-agents generator', () => {
4646
expect(content.trim()).toBe('Existing content');
4747
});
4848

49-
it('should generate AGENTS.md when it does not exist', async () => {
50-
const options: SetupAiAgentsGeneratorSchema = {
51-
directory: '.',
52-
};
53-
54-
await setupAiAgentsGenerator(tree, options);
55-
56-
expect(tree.exists('AGENTS.md')).toBe(true);
57-
const content = tree.read('AGENTS.md').toString();
58-
expect(content).toContain('# General Guidelines for working with Nx');
59-
});
60-
61-
it('should NOT generate AGENTS.md if it already exists', async () => {
62-
const options: SetupAiAgentsGeneratorSchema = {
63-
directory: '.',
64-
};
65-
66-
// Create existing file
67-
tree.write('AGENTS.md', 'Existing agents content');
68-
69-
await setupAiAgentsGenerator(tree, options);
70-
71-
const content = tree.read('AGENTS.md').toString();
72-
expect(content.trim()).toBe('Existing agents content');
73-
});
74-
7549
it('should generate GEMINI.md when it does not exist', async () => {
7650
const options: SetupAiAgentsGeneratorSchema = {
7751
directory: '.',

packages/workspace/src/generators/setup-ai-agents/setup-ai-agents.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ export async function setupAiAgentsGeneratorImpl(
9090
agent: 'CLAUDE',
9191
});
9292
}
93-
if (!tree.exists(join(options.directory, 'AGENTS.md'))) {
94-
generateFiles(tree, join(__dirname, './files'), options.directory, {
95-
writeNxCloudRules: options.writeNxCloudRules,
96-
agent: 'AGENTS',
97-
});
98-
}
9993
if (!tree.exists(join(options.directory, 'GEMINI.md'))) {
10094
generateFiles(tree, join(__dirname, './files'), options.directory, {
10195
writeNxCloudRules: options.writeNxCloudRules,

0 commit comments

Comments
 (0)