surplus
surplus copied to clipboard
Remove generated code from this repository
Use npm prepare script to generate needed objects before publishing. For example:
- https://github.com/hyperapp/hyperapp/blob/master/package.json#L25
- https://github.com/brodybits/sql-promise-helper/blob/master/package.json#L11
I would be happy to help with this one if you like. Maybe within the next 1-2 weeks.
FWIW, I'm currently checking in the built assets for two reasons:
- (small reason) it makes it marginally easier to have some scratch and demo scripts that run against current master, and
- (bigger) b/c I'm transpiling from typescript, I manually review the generated code to make sure the transpiler didn't introduce any non-performant patterns. Having the built assets checked in makes that very easy -- I just check the changed sections in the diff.
If I start getting substantial community contributions to the code, I'll probably flip the other way.