rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

Investigate feasibility/benefit of porting project to Typescript #14

Closed brandongregoryscott closed 3 years ago

brandongregoryscott commented 5 years ago

Description Investigate how much of a lift porting the project over to Typescript would be. Document any caveats or potential roadblocks, changes in development workflow, npm package publishing, etc.

wintondeshong commented 4 years ago

@brandongregoryscott should be entirely feasible. Believe we would ts-node to allow us to run it without an additional transpilation step. Probably better to start this sooner rather than later. Less to port :)

wintondeshong commented 4 years ago

Gonna hack on this some and see how it goes

wintondeshong commented 4 years ago

Initial findings:

wintondeshong commented 4 years ago

After discussing internally with @Stefanie899 and @brandongregoryscott we are going in the direction of housing source files in src and adding an official build step to lib on releases.

In an ideal world where transpiling typescript was trivial, we wouldn't need to output the javascript build and could just run "live" through ts-node. Development experience will be in that ideal, but publishing new versions will be output to 'lib' where end-users will use it.

brandongregoryscott commented 4 years ago

@wintondeshong I know you were hacking on this previously, I'd love to get us on typescript soon. Any thoughts on pushing up what you have and letting me wrap it up?

wintondeshong commented 4 years ago

Sorry for missing this @brandongregoryscott -- This has been sitting here long enough that I don't feel my branch helpful. We have a much better tuned approach for TS across our projects that starting this issue from scratch is probably easier. I'm going to unassign myself for now so others can take it on.

brandongregoryscott commented 4 years ago

No worries @wintondeshong! A lot has changed, for sure. I won't assign myself just yet, but I have been experimenting with an extended CLI and was able to get it on TS with minor hiccups over the weekend.

brandongregoryscott commented 3 years ago

Closing this as the initial port work has been completed and merged to release/2.0.0. Will report back when it has been merged down to main