rokucommunity / ropm

A package manager for the Roku platform.
MIT License
34 stars 6 forks source link

Prefixing #8

Closed TwitchBronBron closed 4 years ago

TwitchBronBron commented 4 years ago

This adds support for applying a prefix to every ropm module.

TwitchBronBron commented 4 years ago

This is not yet complete...just wanted to get the code posted so folks could start reviewing it.

@chrisdp @georgejecook could you take a look at my logic for the prefixer to make sure I'm properly detecting function declarations, function calls, component declarations, and the various forms of component usages? Note I'm not planning on supporting node.update() in the initial release...that'll take a little more work to safely detect those.

https://github.com/rokucommunity/ropm/pull/8/files#diff-21165ee6b7410e92603f67c11fa9e21c