- Engine version syntax corrected in package.json
- Added 'preferGlobal' to package.json so that non '-g' npm installs offer a warning
- Typo in build.js comments corrected
- Updated readme with links to matic-example. A more complete example repo with sub schema and template includes/mixins
- Updated readme install instructions for npm
- Suffix attribute added to the config object allowing the generation of file formats other than .html
- Folder attribute added to the template object within the config object. If set to true Matic will attempt to map identically named schemas to templates. If it fails to find a match it will fall back to the default template if named in the file attribute of the template object
- Edited 0.2.0 changelog entry for clarity
- Dev dependencies versions updated
- Fixed failing tests
- Added suffix to config file so files other than .html can be output
- Removed copy of config from lib
- Schema merging properly determines between object literals and arrays for entries such as enum
- Fixed critical issue introduced in 0.2.3 around template engine checking
- Graceful checking and failure of template engine requirement
- Updated Node versions in package.json
- Added links to generated examples in README
- Indentation on bin files
- Sub schemas no longer assumed to have a parent key. This is a significant change if you have been including sub-schema's with Matic. Previously it was incorrectly assumed that a sub schema would have a parent key the same as the the key containing the $ref.
So a master schema such as:
{
"id": "master",
"properties": {
"things": {
"$ref": "/things.json"
}
}
}
Would have expected the sub schema 'things.json' to take the following format:
{
"things": {
"id": "theThings",
"properties": {...}
}
}
This is no longer the case and sub schema's are expected now to look like:
{
"id": "theThings",
"properties": {...}
}
README updated thanks to Nick Lombard
- Renamed test for build.js
- Literacy issues in README
- Added links to both simple and very simple examples
- Works in Windows
- Tests passing in Windows
- Changelog (this file) added