From 36b5e6373e3deaef8ba99901bbd5364b5e65a5c3 Mon Sep 17 00:00:00 2001 From: David Susskind Date: Wed, 23 Sep 2026 13:25:55 +0300 Subject: [PATCH] fix(template): name the Task entity file Task.jsonc to match its entity name The platform derives an entity's name from the schema filename, while the CLI reads the name field, so task.jsonc surfaced as a second entity beside Task once the repo was opened in the editor. --- CHANGELOG.md | 1 + packages/cli/templates/backend-and-client/README.md | 2 +- .../base44/entities/{task.jsonc => Task.jsonc} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename packages/cli/templates/backend-and-client/base44/entities/{task.jsonc => Task.jsonc} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index a55100803..e3bc4cc5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ ### Fixed +- The `backend-and-client` template names its entity file `Task.jsonc`, matching the entity's `name`; the Base44 platform derives the entity from the filename, so `task.jsonc` read as a second entity. - `base44 link` now lists editor-created apps; previously only apps created by the CLI could be linked. ## [0.0.51] - 2026-04-28 diff --git a/packages/cli/templates/backend-and-client/README.md b/packages/cli/templates/backend-and-client/README.md index 0fa84faa6..cc2f8846a 100644 --- a/packages/cli/templates/backend-and-client/README.md +++ b/packages/cli/templates/backend-and-client/README.md @@ -8,7 +8,7 @@ A simple todo list app built with React and Base44 backend. base44/ # Backend configuration ├── config.jsonc # Project settings └── entities/ # Data schemas - └── task.jsonc # Task entity + └── Task.jsonc # Task entity src/ # Frontend code ├── App.jsx # Main todo app diff --git a/packages/cli/templates/backend-and-client/base44/entities/task.jsonc b/packages/cli/templates/backend-and-client/base44/entities/Task.jsonc similarity index 100% rename from packages/cli/templates/backend-and-client/base44/entities/task.jsonc rename to packages/cli/templates/backend-and-client/base44/entities/Task.jsonc