This PR adds an -a --auto flag, and attempts more advanced end-to-end transformations of v1 source code, including:
v1 api sync calls -> async. This is the bulk of the work, including switching from recast to babel.
injecting ui_widgets js/css conditionally, if used.
When the auto flag is used, the developer is prompted to accept that the results may be unstable before proceeding.
Because this behaviour is behind an auto flag, and requires the developer to opt-in, I'm in favour of releasing as-is, then iterating. Open to suggestions...
This PR goes part-way towards closing #27.
Resolves #27
Tasks
[x] Update README
[x] Update documentation
[x] Update ZAT to support the --auto flag See JIRA Issue
:v:
/cc @zendesk/vegemite
Description
This PR adds an
-a --auto
flag, and attempts more advanced end-to-end transformations of v1 source code, including:When the auto flag is used, the developer is prompted to accept that the results may be unstable before proceeding.
Because this behaviour is behind an auto flag, and requires the developer to opt-in, I'm in favour of releasing as-is, then iterating. Open to suggestions...
This PR goes part-way towards closing #27.Resolves #27
Tasks
--auto
flag See JIRA IssueReferences
27
Risks