v0.1.6 — React Entry Variable Rendering Fix
rusters-cli v0.1.6
This release resolves a runtime error in newly generated React projects:
Fixes
- React compile-time variable reference error: Renamed the React entrypoint file from
main.tsxtomain.tsx.tpl. Previously, it was copied verbatim without the template engine running over it, leaving the{{ PROJECT_NAME }}interpolation tag unrendered. This was interpreted by JSX at runtime as nested object shorthand{ { PROJECT_NAME } }referencing an undefinedPROJECT_NAMEvariable, causing the app to crash withReferenceError: PROJECT_NAME is not defined.
Install
cargo install --git https://github.com/untrustnova/rusters-cli --tag v0.1.6