Are the commands "cmake -build . --target package" and "cpack ." equivalent?

Yes, package is a build-in target in CMake with dependeny to ALL.

I mentioned that here yesterday: