Scala 3: Package objeccts are deprecated, how to create types in a top-level package and use them everywhere in your projectIn Scala 3, package objects are deprecated, impacting code accessibility across sub-packages. A workaround is to define common types in a 'near' top-level package for import.