No need to create Robot as a new instance, modules export references, move robot constructor and robot.compile into CLI module.
Added error handling and test cases for pages and datasets.
Finish up basic error handling for layouts, partials and CLI
Remove useless index.js module
Move towards utilising async package for control flow.
Added shared reader module and test specs.
Add spec for writer module.
Add updated Robot module spec.
Add writer module with adjusted tests
- Add datasets spec and mocks
- Explicitly test for errors and use absolute temp path.
Write spec and implemented data resources.
- Split scanData() and loadData() methods
- Test load data fail cases
- Start speccing partial resource handlers
- Implement scanPartials() and addPartial() methods
Don't reinvent the wheel and use reader module to load partials
- Spec and implement layout resources
- Bit of a mock data shuffle
- Spec and implement page resources
- Spec and implement front matter parsing
- Remove dirty new utils module
- Ensure tests cleanup files
- Spec process module
- Implement read resources process
- Resources only loads files, don't attempt to parse and handle data until next step
- Spec and implement page model and update related resources tests
- Do not save raw data, there's no point
- Spec and implement options module