Skip to content

🚀[Feature]: Evaluate - Build a nested module loader, that will save modules from the gallery #89

@MariusStorhaug

Description

@MariusStorhaug

Description

When you now use the #Requires -Modules keywords, it will use the built in package manager to get the modules from the package repository. Instead I want to evaluate if we can build modules that when imported, will use Save-PSResource and store the dependencies in the nested module instead of in the users module context.

This keeps the functionality of the packages getting usage metrics, while not colliding with what ever the user has installed. This should be a setting so that it can be disabled for modules when they are built.

The nested module loader would need to be built into the root module file via build-psmodule.

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.psresourceget/about/about_psresourceget?view=powershellget-3.x#searching-by-required-resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions