Support TypeScript
It is possible to support TypeScript:
Steps:
- create
templatesdirectory - rename
templatetodefault - move
defaulttotemplates - create
templates/typescriptdirectory- will next/hardhat need separate directories due to
tsconfig.json?
- will next/hardhat need separate directories due to
- update
create-app.jsfor--typescript- install dependencies
- copy
templates/typescriptassets
Reference for the steps above: create-next-app
Why let people make non typescript projects at all? Nobody should be doing this in 2021 imo.
correct, this is possible. I left code for the option of typescript install here https://github.com/Developer-DAO/create-dao/blob/0709815bf658dee5ae747c3591acea46003cb1e1/index.js#L20
and the code to copy the correct templated folder here https://github.com/Developer-DAO/create-dao/blob/0709815bf658dee5ae747c3591acea46003cb1e1/create-app.js#L138
I think the idea was to focus a working plain js version as a MVP and exploring ts later.
I would volunteer to help migrate this project to TypeScript
Should we add TypeScript for a template project?
I would volunteer to help migrate this project to TypeScript
Go for it! Give me typescript or give me death.
Changes in the file structure coming down the pipeline. This helps for smoother npm publishing and future scaling of this project if tested and merged.
Changes in the file structure coming down the pipeline. This helps for smoother npm publishing and future scaling of this project if tested and merged.
Nicely done, please ping me here in this issue whenever it's ready to be migrated to TypeScript and hopeful I'm not gonna interfere the development cycle