Skip to content

Commit 2243f76

Browse files
committed
fix: update default maxDepth from 3 to 5 in all config templates
- Fix basic, nvm, nix, mixed, and cursor templates - Update custom setup default value - Aligns with documented default of 5 and CLI behavior Closes #18
1 parent 2ed41f8 commit 2243f76

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const CONFIG_TEMPLATES = {
77
name: 'Basic setup',
88
config: {
99
path: '~',
10-
maxDepth: 3,
10+
maxDepth: 5,
1111
execute: 'code .',
1212
execute2: 'zsh',
1313
execute3: 'bash'
@@ -17,7 +17,7 @@ export const CONFIG_TEMPLATES = {
1717
name: 'Node.js with NVM',
1818
config: {
1919
path: '~',
20-
maxDepth: 3,
20+
maxDepth: 5,
2121
execute: '[ -f .nvmrc ] && . ~/.nvm/nvm.sh && nvm use; code .',
2222
execute2: '. ~/.nvm/nvm.sh && nvm use && npm start',
2323
execute3: 'nvm use && yarn dev'
@@ -27,7 +27,7 @@ export const CONFIG_TEMPLATES = {
2727
name: 'Nix development environment',
2828
config: {
2929
path: '~',
30-
maxDepth: 3,
30+
maxDepth: 5,
3131
execute: 'nix develop -c code .',
3232
execute2: 'nix-shell --run "code ."',
3333
execute3: 'direnv allow && code .'
@@ -37,7 +37,7 @@ export const CONFIG_TEMPLATES = {
3737
name: 'Mixed environments (auto-detect)',
3838
config: {
3939
path: '~',
40-
maxDepth: 3,
40+
maxDepth: 5,
4141
execute: 'bash -c "if [ -f flake.nix ]; then nix develop; elif [ -f .nvmrc ]; then . ~/.nvm/nvm.sh && nvm use; fi; zsh"',
4242
execute2: 'code .',
4343
execute3: 'zsh'
@@ -47,7 +47,7 @@ export const CONFIG_TEMPLATES = {
4747
name: 'Cursor editor',
4848
config: {
4949
path: '~',
50-
maxDepth: 3,
50+
maxDepth: 5,
5151
execute: 'cursor .',
5252
execute2: 'zsh',
5353
execute3: 'bash'
@@ -106,7 +106,7 @@ export async function createInteractiveConfig() {
106106
type: 'input',
107107
name: 'maxDepth',
108108
message: 'Default search depth (1-10):',
109-
default: '3',
109+
default: '5',
110110
validate: (input) => {
111111
const num = parseInt(input, 10);
112112
if (isNaN(num) || num < 1 || num > 10) {

0 commit comments

Comments
 (0)