diff --git a/e2e-tests/snapshots/capacitor.spec.ts_upgraded-capacitor.txt b/e2e-tests/snapshots/capacitor.spec.ts_upgraded-capacitor.txt index e66f5ed..c73dfc7 100644 --- a/e2e-tests/snapshots/capacitor.spec.ts_upgraded-capacitor.txt +++ b/e2e-tests/snapshots/capacitor.spec.ts_upgraded-capacitor.txt @@ -2088,10 +2088,10 @@ end "preview": "vite preview" }, "dependencies": { - "@capacitor/android": "^7.4.0", - "@capacitor/cli": "^7.4.0", - "@capacitor/core": "^7.4.0", - "@capacitor/ios": "^7.4.0", + "@capacitor/android": "^7.4.1", + "@capacitor/cli": "^7.4.1", + "@capacitor/core": "^7.4.1", + "@capacitor/ios": "^7.4.1", "@hookform/resolvers": "^3.9.0", "@radix-ui/react-accordion": "^1.2.0", "@radix-ui/react-alert-dialog": "^1.1.1", diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-1.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-1.txt index 64af21f..c1ae0ad 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-1.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-1.txt @@ -396,7 +396,6 @@ finalMainTsxFileWithError(); EOM - === role: user message: Fix these 1 TypeScript compile-time error: diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-2.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-2.txt index da95149..4b49bed 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-2.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---complex-delete-rename-write-2.txt @@ -405,7 +405,6 @@ finalMainTsxFileWithError(); EOM - === role: user message: Fix these 1 TypeScript compile-time error: @@ -416,8 +415,7 @@ Please fix all errors in a concise way. === role: assistant -message: - +message: // Import doesn't exist // import NonExistentClass from 'non-existent-class'; diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-1.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-1.txt index 72eef74..bb2e840 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-1.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-1.txt @@ -415,7 +415,6 @@ x.nonExistentMethod(); EOM - === role: user message: Fix these 2 TypeScript compile-time errors: diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-2.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-2.txt index b615bee..a36cd4f 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-2.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---enabled-2.txt @@ -417,7 +417,6 @@ x.nonExistentMethod(); EOM - === role: user message: Fix these 2 TypeScript compile-time errors: @@ -429,8 +428,7 @@ Please fix all errors in a concise way. === role: assistant -message: - +message: // Import doesn't exist // import NonExistentClass from 'non-existent-class'; diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-1.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-1.txt index 863224f..9f15646 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-1.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-1.txt @@ -417,7 +417,6 @@ import NonExistentClass5 from 'non-existent-class'; EOM - === role: user message: Fix these 5 TypeScript compile-time errors: diff --git a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-2.txt b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-2.txt index 52984fb..2f06817 100644 --- a/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-2.txt +++ b/e2e-tests/snapshots/problems.spec.ts_problems-auto-fix---gives-up-after-2-attempts-2.txt @@ -421,7 +421,6 @@ import NonExistentClass5 from 'non-existent-class'; EOM - === role: user message: Fix these 5 TypeScript compile-time errors: @@ -436,8 +435,7 @@ Please fix all errors in a concise way. === role: assistant -message: - +message: A file (2) More diff --git a/e2e-tests/snapshots/select_component.spec.ts_select-component-next-js-1.txt b/e2e-tests/snapshots/select_component.spec.ts_select-component-next-js-1.txt index 3431f39..62e2200 100644 --- a/e2e-tests/snapshots/select_component.spec.ts_select-component-next-js-1.txt +++ b/e2e-tests/snapshots/select_component.spec.ts_select-component-next-js-1.txt @@ -311,11 +311,11 @@ To ensure consistency and leverage the chosen stack effectively, please follow t * **Complex Global State**: If application state becomes significantly complex, discuss the potential introduction of a dedicated state management library (e.g., Zustand, Jotai) before implementing. 6. **Routing**: - * Utilize the Next.js App Router (file-system based routing in the `app/` directory). + * Utilize the Next.js App Router (file-system based routing in the `src/app/` directory). 7. **API Calls & Data Fetching**: * **Client-Side**: Use the native `fetch` API or a simple wrapper around it. - * **Server-Side (Next.js)**: Leverage Next.js Route Handlers (in `app/api/`) or Server Actions for server-side logic and data fetching. + * **Server-Side (Next.js)**: Leverage Next.js Route Handlers (in `src/app/api/`) or Server Actions for server-side logic and data fetching. 8. **Animations**: * Use `tailwindcss-animate` plugin and the animation utilities provided by Radix UI components. @@ -339,6 +339,7 @@ To ensure consistency and leverage the chosen stack effectively, please follow t By following these guidelines, we can build a more robust, maintainable, and consistent application. + Directory names MUST be all lower-case (src/pages, src/components, etc.). File names may use mixed-case if you like. # REMEMBER