Skip to content

Commit 95e2d58

Browse files
committed
chore: wip
1 parent 346f968 commit 95e2d58

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

packages/launchpad/test/environment-isolation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,12 +472,12 @@ describe('Environment Isolation', () => {
472472

473473
const shellCode = result.stdout
474474
// Should include dependency file detection logic for Launchpad files
475-
expect(shellCode).toContain('for pattern in "dependencies" "deps" "pkgx" "launchpad"')
475+
expect(shellCode).toContain('for name in')
476476

477477
// Should include enhanced project file detection
478478
expect(shellCode).toContain('Cargo.toml') // Rust projects
479479
expect(shellCode).toContain('pyproject.toml') // Python projects
480-
expect(shellCode).toContain('go.mod') // Go projects
480+
expect(shellCode).toContain('go.(mod|sum)') // Go projects
481481
expect(shellCode).toContain('Gemfile') // Ruby projects
482482
expect(shellCode).toContain('package.json') // Node.js projects
483483

packages/launchpad/test/project-file-detection.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,12 @@ describe('Project File Detection', () => {
194194
expect(code).toContain('pyproject.toml')
195195
expect(code).toContain('requirements.txt')
196196
expect(code).toContain('Cargo.toml')
197-
expect(code).toContain('go.mod')
197+
expect(code).toContain('go.(mod|sum)')
198198
expect(code).toContain('Gemfile')
199199
expect(code).toContain('deno.json')
200-
expect(code).toContain('action.yml')
201-
expect(code).toContain('skaffold.yaml')
202-
expect(code).toContain('.nvmrc')
200+
expect(code).toContain('action.ya?ml')
201+
expect(code).toContain('skaffold.ya?ml')
202+
expect(code).toContain('.(nvmrc|node-version|ruby-version|python-version|terraform-version)')
203203
expect(code).toContain('yarn.lock')
204204
expect(code).toContain('bun.lockb')
205205
})
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1+
12
pkgs:
23
- bun.sh
34

45
preSetup:
56
enabled: true
67
commands:
7-
- {command: "bash -lc 'echo preSetup >> hooks.log'"}
8+
- { command: "bash -lc 'echo preSetup >> hooks.log'" }
89
postSetup:
910
enabled: true
1011
commands:
11-
- {command: "bash -lc 'echo postSetup >> hooks.log'"}
12+
- { command: "bash -lc 'echo postSetup >> hooks.log'" }
1213
preActivation:
1314
enabled: true
1415
commands:
15-
- {command: "bash -lc 'echo preActivation >> hooks.log'"}
16+
- { command: "bash -lc 'echo preActivation >> hooks.log'" }
1617
postActivation:
1718
enabled: true
1819
commands:
19-
- {command: "bash -lc 'echo postActivation >> hooks.log'"}
20+
- { command: "bash -lc 'echo postActivation >> hooks.log'" }

0 commit comments

Comments
 (0)