elderjs icon indicating copy to clipboard operation
elderjs copied to clipboard

feat: make elderjs compat with a ts project

Open thisislawatts opened this issue 3 years ago • 6 comments

If the src/ directory files are .ts, elder should load them correctly. Removes use of hardcoded .js file extensions and relax to include check for .ts extension.

With this change the developer no longer needs to point elder.config.js at the typescript build directory. As long as the build is executed via ts-node all modules will be transpiled to JS during execution. This will result in build times being slower to incorporate the ts compilation overhead.

However overall it offers a big usability improvement for developers looking to work with elder.js and Typescript.

thisislawatts avatar Oct 28 '20 14:10 thisislawatts

🖐️ Just saying I fully intend to pick this up again asap but will have low availability over the next week. More than happy if other folks would like to pick this up.

thisislawatts avatar Nov 01 '20 15:11 thisislawatts

@thisislawatts Enjoy the new addition to the family! 👍 Take your time.

nickreese avatar Nov 01 '20 15:11 nickreese

@thisislawatts if the remaining stuff is just fixing the build, LMK if you'd like to hand it off. I would like to contribute to Elder so it'd be a way to get started.

floer32 avatar Dec 23 '20 23:12 floer32

Hey @hangtwenty please do have a look at this if you've got the time. I am not sure this is only an issue with the build. I imagine this branch is pretty stale at the moment. I will be picking things up again in January. Let me know if you start work on it! Would love to see this finished off 🙌

thisislawatts avatar Dec 28 '20 15:12 thisislawatts

really interested in getting this done, where can I help test or implement?

ghost avatar Feb 12 '21 05:02 ghost

really interested in getting this done, where can I help test or implement?

I can also help test, Typescript support would be great.

michaeloliverx avatar Mar 09 '21 09:03 michaeloliverx