I would like to share common content elements (NodeTypes, Fusion files) across different projects. What is the current recommended approach to achieve this? I thought to create some separate Composer package, but I was not sure which Composer type should be used? I have seen “neos-plugin” and also “neos-package”. What is the difference?
There is no technical difference between neos-plugins and neos-package, only neos-site packages are handled differently.
Mostly neos-package is used while neos-plugin generally is for stuff that adds larger isolated functions but there are no strict rules. You may even use “neos-unicorn” as package-type which is fine aswell and will lead to a folder named “Unicorn” containing all packages of this type.
But unicorn is so much nicer also it actually supports unicode. So neos-terprise would be a valid package type aswell. Might be a bit hard to navigate via shell but why not.