package.json.
Update your root package.json in your workspace with the following script to make sure metadata gets generated.
Make sure to run the repo:fix command before publishing your Backstage package.
package.json
pluginIds and other types of the metadata makes sense.
The CLI is trying to guess things based on package name and role of the package.
If it gets anything wrong you can update the field manually in the package.json
Note: There are some inconsistencies that it might reject but it’ll give you some more info in that case.