-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I noticed that the root package is still included in the JSON output (appended at the very end) although using the --ignore parameter to explicitly remove the root package.
In the generated dart file neither the all dependencies list nor the direct dependencies list contain the root package. So there is no problem here.
Maybe it is a technical issue that the root package is added in the JSON output file as stand-alone entry at the end because in the change log for version 3.0.12 you explicitly mentioned "Ensure generated JSON and Dart constants always include metadata for the root package". I am not sure if it is better to remove the root package in the JSON file alone (not the dart file) if it is included with the --ignore parameter, or if it is better to add a "isRootPackage" field for just the root package entry to the JSON output file.
Version 3.0.12