-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Don't know where is better to write a proposal, so I create an issue. let me know if there is a better place.
Currently, if we want to use the same building process for another project we have to run adopt-dev-deps which will update our package.json with all the devDependecies and after we have to write webpack config files which will merge some configs from the topcoder-react-utils. What do you think about making topcoder-react-utils work similar way to react-scripts
- So instead of copying all the dependencies, our project has only one devDependency
topcoder-react-utilsand provides some commands likebuild,start,dev,lintand so on. - The benefits of such approach are:
topcoder-react-utilscould be theoretically used as a bootstrap during challenges. If it works the wayreact-scriptsthen it would be very handy to use, as there are zero lines to write before starting coding.- updating
devDependencieswill become centralized. Don't have to runadopt-dev-depsagain.
- Downside:
- Have to think how to handle situations if a project needs to make some modifications to config files. Not sure if there is a good solution. In
react-scriptswe only can runejectcommand in such case, which will copy all the files fromreact-scriptsto the project. So in this case, we would loose benefits ofreact-scriptsas we cannot use it anymore. - Probably we can have some folders in the project which will extend corresponding configs from
topcoder-react-utils.
- Have to think how to handle situations if a project needs to make some modifications to config files. Not sure if there is a good solution. In
Metadata
Metadata
Assignees
Labels
No labels