pzuraq / macro-decorators

Decorators for getter/setter macros!
https://pzuraq.github.io/macro-decorators/
MIT License
62 stars 10 forks source link

Export utility functions #10

Open puwelous opened 4 years ago

pzuraq commented 4 years ago

This looks good. I think we'll also need to rearrange the publish so that Typescript compiles files and places them in the root directory, rather than dist. This is because NPM resolution doesn't allow multiple modules to come from anywhere but the main folder containing package.json (it's dumb, I know). Alternatively, we could copy package.json into dist and publish from their I think.

If you want to add that onto this PR feel free, otherwise I'll try to get to it soon!

puwelous commented 4 years ago

@pzuraq Well, I rebase the PR onto master to incorporate fixes from https://github.com/pzuraq/macro-decorators/pull/12, unfortunately, my knowledge is insufficient in rearranging the publish.

lukemelia commented 3 years ago

Excited for this to land. We've copied and pasted getPath for now. Unfortunately, I also don't know enough about typescript to help with the last task here.

xomaczar commented 3 years ago

Same here. Would like to see this PR getting merged, for now we've also copied/pasted getPath/setPath into our codebase.