The original yaml file was growing very large with all of the disparate diagrams in one location. This PR uses the yaml-import library to separate the diagrams into their own files, re-adding them in the existing npm script.
This has the added benefit of automatically importing any new diagram file in the associated folder.
Note the generated json file has many changes, but these are because of the re-ordering of the diagrams due to the automatic folder adding mentioned above. I confirmed that the actual diagrams do not change in this output, they are only being re-ordered.
The original yaml file was growing very large with all of the disparate diagrams in one location. This PR uses the
yaml-import
library to separate the diagrams into their own files, re-adding them in the existing npm script.This has the added benefit of automatically importing any new diagram file in the associated folder.
Note the generated json file has many changes, but these are because of the re-ordering of the diagrams due to the automatic folder adding mentioned above. I confirmed that the actual diagrams do not change in this output, they are only being re-ordered.