The Otter project is a highly modular framework whose goal is to provide a common platform to accelerate and facilitate the development of runtime customizable Angular based Web Applications
Add checkAfterItems in metadata-check builder.
This new option allows devs to deactivate checks on items set in "after" property.
This will allow documenting breaking changes in modules which don't have access to the complete metadata.
When running builder @o3r/components:check-config-migration-metadata, the metadata file is the one of module @mylib/moduleA and doesn't contain any metadata from other modules (@mylib/moduleB). The check for property "baz" in config interface @mylib/moduleB#Bar will fail.
With the new option checkAfterItems, we can deactivate this check.
Proposed change
Add
checkAfterItems
in metadata-check builder. This new option allows devs to deactivate checks on items set in "after" property. This will allow documenting breaking changes in modules which don't have access to the complete metadata.For example with this migration change:
When running builder @o3r/components:check-config-migration-metadata, the metadata file is the one of module @mylib/moduleA and doesn't contain any metadata from other modules (@mylib/moduleB). The check for property "baz" in config interface @mylib/moduleB#Bar will fail.
With the new option
checkAfterItems
, we can deactivate this check.Bonus: Add
packageJsonEntry
in the schema of :Related issues