Re-structured and formalized the scripts and modules.

This commit is contained in:
dodexahedron
2024-04-25 13:39:01 -07:00
parent 683c087537
commit b9b68ba1a6
8 changed files with 440 additions and 103 deletions

View File

@@ -1,5 +1,5 @@
#
# Module manifest for module 'Terminal.Gui.Powershell'
# Module manifest for module 'Terminal.Gui.PowerShell'
#
# Generated by: Brandon Thetford (GitHub @dodexahedron)
#
@@ -15,7 +15,7 @@ RootModule = 'Terminal.Gui.PowerShell.psm1'
ModuleVersion = '1.0.0'
# Supported PSEditions
# CompatiblePSEditions = @()
CompatiblePSEditions = @('Core')
# ID used to uniquely identify this module
GUID = 'f28198f9-cf4b-4ab0-9f94-aef5616b7989'
@@ -27,19 +27,24 @@ Author = 'Brandon Thetford (GitHub @dodexahedron)'
CompanyName = 'The Terminal.Gui Project'
# Copyright statement for this module
Copyright = '(c) Brandon Thetford (GitHub @dodexahedron), provided under the MIT license'
Copyright = 'Brandon Thetford (GitHub @dodexahedron), provided to the Terminal.Gui project and you under the MIT license'
# Description of the functionality provided by this module
Description = 'Commands for operations on components of Terminal.Gui during development of Terminal.Gui'
Description = 'Utilities for development-time operations on and management of components of Terminal.Gui code and other assets.'
# Minimum version of the PowerShell engine required by this module
# PowerShellVersion = ''
PowerShellVersion = '7.4.0'
# Name of the PowerShell "host" subsystem (not system host name). Helps ensure that we know what to expect from the environment.
PowerShellHostName = 'ConsoleHost'
# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''
PowerShellHostVersion = '7.4.0'
# Processor architecture (None, X86, Amd64) required by this module
ProcessorArchitecture = 'None'
# Processor architecture (None, MSIL, X86, IA64, Amd64, Arm, or an empty string) required by this module. One value only.
# Set to AMD64 here because development on Terminal.Gui isn't really supported on anything else.
# Has nothing to do with runtime use of Terminal.Gui.
ProcessorArchitecture = 'AMD64'
# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @('Microsoft.PowerShell.Utility','Microsoft.PowerShell.Management','PSReadLine')
@@ -57,28 +62,26 @@ RequiredModules = @('Microsoft.PowerShell.Utility','Microsoft.PowerShell.Managem
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
NestedModules = @('./Terminal.Gui.PowerShell.Analyzers.psd1')
# 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.
FunctionsToExport = @('Build-Analyzers','Close-Solution','Open-Solution')
FunctionsToExport = @('Build-Analyzers','Close-Solution','Open-Solution','Reset-PowerShellEnvironment','Set-PowerShellEnvironment')
#FunctionsToExport = @('*')
# 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.
CmdletsToExport = @()
# Variables to export from this module
# VariablesToExport = ()
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.psm1'
# FileList = @()
# 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 = @{
@@ -89,7 +92,7 @@ PrivateData = @{
# Tags = @()
# A URL to the license for this module.
LicenseUri = 'https://github.com/gui-cs/Terminal.Gui/Scripts/COPYRIGHT'
LicenseUri = 'https://github.com/gui-cs/Terminal.Gui/tree/v2_develop/Scripts/COPYRIGHT'
# A URL to the main website for this project.
ProjectUri = 'https://github.com/gui-cs/Terminal.Gui'
@@ -98,13 +101,13 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
# ReleaseNotes = ''
ReleaseNotes = 'See change history and releases for Terminal.Gui on GitHub'
# Prerelease string of this module
# Prerelease = ''
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
# RequireLicenseAcceptance = $false
RequireLicenseAcceptance = $false
# External dependent modules of this module
# ExternalModuleDependencies = @()