feat(template): simplify backend-and-client to TypeScript starter#410
Open
base44-os-gremlins[bot] wants to merge 1 commit intomainfrom
Open
feat(template): simplify backend-and-client to TypeScript starter#410base44-os-gremlins[bot] wants to merge 1 commit intomainfrom
base44-os-gremlins[bot] wants to merge 1 commit intomainfrom
Conversation
…nd/shadcn - Convert all .jsx/.js to .tsx/.ts (App, main, vite.config, base44Client) - Replace jsconfig.json with proper tsconfig.json / tsconfig.app.json / tsconfig.node.json - Remove Tailwind CSS v3 setup (postcss.config.js, tailwind.config.js, autoprefixer) - Remove bundled shadcn/ui components (button, checkbox, input) and components.json - Remove Base44Logo component and demo agent config (task_manager.jsonc) - Simplify App.tsx to a minimal typed task demo using @base44/sdk - Simplify index.css to a basic box-sizing + body reset - Update package.json: add typescript + @types/react, remove postcss/tailwind/lucide-react - Update build script to tsc -b && vite build for type checking on build Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.44-pr.410.d6ad399Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.44-pr.410.d6ad399"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.44-pr.410.d6ad399"
}
}
Preview published to npm registry — try new features instantly! |
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.
Summary
Simplifies the
templates/backend-and-clientVite template to match the spirit of the officialvite react-tsscaffold — minimal, typed, and easy to understand — while keeping Base44-specific essentials.Changes
Removed:
jsconfig.json→ replaced with propertsconfig.json/tsconfig.app.json/tsconfig.node.jsonpostcss.config.js,tailwind.config.js,autoprefixer— no CSS framework in the base scaffoldcomponents.jsonand bundled shadcn/ui copies (button.jsx,checkbox.jsx,input.jsx)src/components/Base44Logo.jsxbase44/agents/task_manager.jsonc(demo-only; not part of a clean scaffold)lucide-reactdependencyAdded / Converted:
tsconfig.json+tsconfig.app.json+tsconfig.node.json(standard vite react-ts structure)vite.config.js→vite.config.tssrc/main.jsx→src/main.tsx(with StrictMode)src/App.jsx→src/App.tsx(minimal typed task demo using@base44/sdk)src/api/base44Client.js.ejs→src/api/base44Client.ts.ejssrc/index.csssimplified to a basic reset (no shadcn HSL tokens)package.json: addedtypescript,@types/react,@types/react-dom; build script updated totsc -b && vite buildTest plan
base44 create my-app --template backend-and-clientwith the updated templatenpm install && npm run devstarts without errorsnpm run buildtype-checks and builds successfullybase44 entities push+base44 deploywork as beforeRelated goal: https://github.com/base44-dev/gremlins/issues/869
🤖 Generated with Claude Code