zendesk / zendesk_app_migrator

CLI tool to assist in migrating v1 App Framework apps to v2
Other
10 stars 5 forks source link

Generate build output automatically #18

Closed svizzari closed 7 years ago

svizzari commented 7 years ago

:v:

/cc @zendesk/vegemite

Description

I think we should adopt an approach like https://github.com/typestyle/typestyle/blob/master/package.json#L14-L15 where creating a new version via yarn version runs the preversion and postversion scripts (if configured), so that the build output (lib directories) is generated. This way, if anyone were consuming the package via the npm registry they would install a version that had JavaScript files alongside Typescript

Resolve #12

References

Risks

danielbreves commented 7 years ago

TIL yarn version is a thing, and not the thing I expected it to be. :P