pg-generator is rewritten from scratch using TypeScript. The primary target of the new version is to make it simpler to use than the previous version is. The secondary target is making the generators (templates) easier to share using npm. As a result, major changes have been necessary.
# Breaking Changes for Template Developers
- Template file structure needs to be changed.
- Templates need modifications.
- Custom data and options files are merged into a single file.
- Uses pg-structure v7. See v7 API (opens new window) for details. The most notable change is
arrayattribute is not needed (e.g. use
|Old Name||New Name||Workload|
|Custom Data File||Context File||Moderate|
|Options File||Context File||Moderate|
Please refer to Creating a Generator