ekke
ekke copied to clipboard
Plugin System
This is the draft PR for the plugin system as outlined in #15. The purpose of this draft is to track the progress that we make towards the issue.
Currently Progress:
- [x] Plugin API for our Node.js API/CLI
- [x] Tests for the API/CLI
- [x] Babel transformation.
- [x] Introduction of API methods
- [x] Metro configuration
- [x] Include additional files in the source
- [x] Interception / handling of WebSocket events.
- [x] Execute before, after, test execution. Setup additional hooks, polyfills, anything.
- [x] Intercept error/test failures
- [x] Intercept, and modify test runners. Maybe introduce new config, or call additional API methods.
- [x] Create a
{ bridge }
method that can be used to communicate with the CLI. - [x] Support a
--plugin <name>
flag in our CLI/API that will require and initialize our plugins. - [ ] Extensively document the plugin API, and provide at least 1 working example.
- [ ] The Node and
ekke
API's are unit tested