We could leverage Pester tests in a post hook to perform validation that the package did everything correctly, and fail the package if any tests fail.