fix(template): name the Task entity file Task.jsonc to match its entity name - #638
Merged
Merged
Conversation
…ty 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.
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.1.17-pr.638.76ba6a7Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.1.17-pr.638.76ba6a7"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.1.17-pr.638.76ba6a7"
}
}
Preview published to npm registry — try new features instantly! |
netanelgilad
approved these changes
Sep 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Description
The
backend-and-clientscaffolding template shipped its Task entity astask.jsoncwhile the schema inside declares"name": "Task". Because the Base44 platform derives an entity's identity from its filename, a freshly created project registeredtaskas a second, distinct entity alongsideTask. This PR renames the template file toTask.jsoncso the filename and the declared entity name agree.Related Issue
None
Type of Change
Changes Made
packages/cli/templates/backend-and-client/base44/entities/task.jsonctoTask.jsonc(pure rename, file contents unchanged)packages/cli/templates/backend-and-client/README.mdto showTask.jsoncFixedentry toCHANGELOG.mdunder the unreleased section explaining the filename-derived entity behaviourTesting
Checklist
Additional Notes
No source code under `packages/cli/src/` is touched — this is template + docs only, so no behavioural change to the CLI itself, only to what `base44 create` scaffolds. The remaining `task.jsonc` reference in `packages/cli/tests/cli/dev-security.spec.ts` is an inline fixture that test writes itself and is unrelated to this template. Existing projects already created from the old template are unaffected by this change and would need the file renamed manually.
🤖 Generated by Claude | 2026-09-23 10:26 UTC | 76ba6a7