Shared constants for two package targets?

If you’re making a package, how would you set up two targets to reference some common constants? Do you make a third target that both the old ones depend on?

Either create a third target within the package (usually internal), and have both targets depend on that one, or create a new package.