pub fn add_package_lifecycle_functions(lua: &Lua) -> Result<(), Error>Expand description
Adds core lifecycle functions (metadata, dependencies, hooks, etc.) to
the Lua environment.
ยงErrors
Returns an error if any of the lifecycle functions cannot be set in the global environment.