ForestAdmin / lumber

Install Forest Admin in minutes.
https://www.forestadmin.com
MIT License
2.08k stars 106 forks source link

Are there any plans to use typescript for Lumber, or are there any options there #479

Open danhawkins opened 4 years ago

danhawkins commented 4 years ago

We are using Typescript heavily with our company, when we want to use forest we have to mix JS and TS in our product repos. Do you have plans to adopt Typescript for Lumber?

arnaudbesnier commented 4 years ago

Hi @danhawkins, The generation of Admin backend in Typescript is not part of our roadmap, but I'll share your insight to the team.

So far the only way to do so is to generate your Admin backend in Javascript (with the default lumber generate command) and then "translate" manually the project in Typescript.

arnaudbesnier commented 3 years ago

Here is a recent documentation that will help you migrate your project to TypeScript: https://docs.forestadmin.com/woodshop/how-tos/translate-your-app-into-typescript

julestruong commented 1 year ago

@arnaudbesnier but still, cli will always generates javascript file right ?

arnaudbesnier commented 1 year ago

Hello @julestruong, yes that’s right. By the way, lumber is now deprecated, you should use the Forest CLI (aka toolbelt) instead.