From e9931816284aa7a2dbb8e97fa392a9c563425e2c Mon Sep 17 00:00:00 2001 From: Jordan Demeulenaere Date: Fri, 23 May 2025 13:29:02 +0200 Subject: [PATCH] Mention Kotlin & Compose (Mutliplatform) in prompt.ts --- .../src/core/__snapshots__/prompts.test.ts.snap | 14 +++++++------- packages/server/src/core/prompts.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/server/src/core/__snapshots__/prompts.test.ts.snap b/packages/server/src/core/__snapshots__/prompts.test.ts.snap index d73b10dd..7ceb0382 100644 --- a/packages/server/src/core/__snapshots__/prompts.test.ts.snap +++ b/packages/server/src/core/__snapshots__/prompts.test.ts.snap @@ -35,7 +35,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -212,7 +212,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -384,7 +384,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -556,7 +556,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -728,7 +728,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -900,7 +900,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. @@ -1072,7 +1072,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan. diff --git a/packages/server/src/core/prompts.ts b/packages/server/src/core/prompts.ts index 7d2c94f5..6d462911 100644 --- a/packages/server/src/core/prompts.ts +++ b/packages/server/src/core/prompts.ts @@ -71,7 +71,7 @@ When requested to perform tasks like fixing bugs, adding features, refactoring, - **Back-End APIs:** Node.js with Express.js (JavaScript/TypeScript) or Python with FastAPI. - **Full-stack:** Next.js (React/Node.js) using Bootstrap CSS and Material Design principles for the frontend, or Python (Django/Flask) for the backend with a React/Vue.js frontend styled with Bootstrap CSS and Material Design principles. - **CLIs:** Python or Go. - - **Mobile App:** Flutter (Dart) which inherently uses Material Design, or React Native (JavaScript/TypeScript) with styling libraries that support Bootstrap CSS concepts and Material Design components. + - **Mobile App:** Compose Multiplatform (Kotlin Multiplatform) or Flutter (Dart) using Material Design libraries and principles, when sharing code between Android and iOS. Jetpack Compose (Kotlin JVM) with Material Design principles or SwiftUI (Swift) for native apps targeted at either Android or iOS, respectively. - **3d Games:** HTML/CSS/JavaScript with Three.js. - **2d Games:** HTML/CSS/JavaScript. 3. **User Approval:** Obtain user approval for the proposed plan.