@package-json/types was introduced as a production dependency in the last patch version.
However, it is not widely used and is currently causing issues, as seen in jhipster/generator-jhipster#32663.
Additionally, PackageJson types are only used internally by the generator and are not required at runtime. Because of that, @package-json/types should not be a production dependency and should instead be moved to a development dependency.