Reorganized, simplified, and standardized PowerShell modules.

This commit is contained in:
Brandon Thetford
2024-04-26 21:23:04 -07:00
parent b9b68ba1a6
commit 8cb748e452
12 changed files with 650 additions and 148 deletions

View File

@@ -9,7 +9,7 @@
@{
# Script module or binary module file associated with this manifest.
RootModule = 'Terminal.Gui.PowerShell.Analyzers.psm1'
RootModule = ''
# Version number of this module.
ModuleVersion = '1.0.0'
@@ -45,7 +45,7 @@ PowerShellHostName = 'ConsoleHost'
ProcessorArchitecture = 'Amd64'
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('Microsoft.PowerShell.Management','Microsoft.PowerShell.Utility')
RequiredModules = @('Microsoft.PowerShell.Management','Microsoft.PowerShell.Utility','./Terminal.Gui.PowerShell.Core.psd1')
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
@@ -59,13 +59,13 @@ RequiredModules = @('Microsoft.PowerShell.Management','Microsoft.PowerShell.Util
# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
# Modules to import as nested modules.
NestedModules = @('./Terminal.Gui.PowerShell.Analyzers.psm1')
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
# Functions to export from this module.
FunctionsToExport = @('Build-Analyzers')
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
# Cmdlets to export from this module.
CmdletsToExport = @()
# Variables to export from this module
@@ -74,15 +74,6 @@ VariablesToExport = @()
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = @()
# DSC resources to export from this module
# DscResourcesToExport = @()
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
FileList = './Terminal.Gui.Powershell.Analyzers.psm1'
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{