diff --git a/packages/cli/templates/backend-and-client/README.md b/packages/cli/templates/backend-and-client/README.md index 0fa84faa..1951ea2c 100644 --- a/packages/cli/templates/backend-and-client/README.md +++ b/packages/cli/templates/backend-and-client/README.md @@ -1,6 +1,6 @@ -# Todo App +# Base44 App -A simple todo list app built with React and Base44 backend. +A React + TypeScript app with Base44 backend. ## Structure @@ -11,10 +11,8 @@ base44/ # Backend configuration └── task.jsonc # Task entity src/ # Frontend code -├── App.jsx # Main todo app -├── api/ # Base44 client -├── components/ui/ # UI components -└── lib/ # Utilities +├── App.tsx # Main app component +└── api/ # Base44 client ``` ## Development @@ -29,7 +27,7 @@ npm run dev | Command | Description | |---------|-------------| | `npm run dev` | Start dev server | -| `npm run build` | Build for production | +| `npm run build` | Type-check + build for production | | `npm run preview` | Preview production build | ## Base44 CLI diff --git a/packages/cli/templates/backend-and-client/base44/agents/task_manager.jsonc b/packages/cli/templates/backend-and-client/base44/agents/task_manager.jsonc deleted file mode 100644 index 35253c00..00000000 --- a/packages/cli/templates/backend-and-client/base44/agents/task_manager.jsonc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "task_manager", - "description": "An AI agent that helps you manage and change your tasks", - "instructions": "You are a helpful task management assistant. You can help users create, update, mark as completed, and delete tasks using the entity tool. When a user asks to change a task, help them modify it by updating the appropriate fields. Always be conversational and helpful.", - "tool_configs": [ - { - "entity_name": "Task", - "allowed_operations": ["read", "create", "update", "delete"] - } - ] -} diff --git a/packages/cli/templates/backend-and-client/components.json b/packages/cli/templates/backend-and-client/components.json deleted file mode 100644 index 068bddc0..00000000 --- a/packages/cli/templates/backend-and-client/components.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$schema": "https://ui.shadcn.com/schema.json", - "style": "new-york", - "rsc": false, - "tsx": false, - "tailwind": { - "config": "tailwind.config.js", - "css": "src/index.css", - "baseColor": "slate", - "cssVariables": true - }, - "aliases": { - "components": "@/components", - "ui": "@/components/ui" - } -} diff --git a/packages/cli/templates/backend-and-client/index.html b/packages/cli/templates/backend-and-client/index.html index 01d83531..eb17a96e 100644 --- a/packages/cli/templates/backend-and-client/index.html +++ b/packages/cli/templates/backend-and-client/index.html @@ -4,10 +4,10 @@ -