diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b92544a..f57e1e9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,3 @@ updates: directory: / # Location of package manifests schedule: interval: weekly - - package-ecosystem: nuget # See documentation for possible values - directory: / # Location of package manifests - schedule: - interval: weekly diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 5c9f300..d7650ae 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -27,3 +27,5 @@ jobs: uses: super-linter/super-linter@latest env: GITHUB_TOKEN: ${{ github.token }} + VALIDATE_MARKDOWN_PRETTIER: false + VALIDATE_YAML_PRETTIER: false diff --git a/.github/workflows/Nightly-Run.yml b/.github/workflows/Nightly-Run.yml index d5b5994..c25d806 100644 --- a/.github/workflows/Nightly-Run.yml +++ b/.github/workflows/Nightly-Run.yml @@ -7,8 +7,10 @@ on: permissions: contents: read + pull-requests: write + statuses: write jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v2 + uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v3 secrets: inherit diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 76f9983..da48a8b 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -26,5 +26,5 @@ permissions: jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v2 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v3 secrets: inherit diff --git a/src/assemblies/LsonLib.dll b/src/assemblies/LsonLib.dll deleted file mode 100644 index 3661807..0000000 Binary files a/src/assemblies/LsonLib.dll and /dev/null differ diff --git a/src/classes/Function.ps1 b/src/classes/Function.ps1 deleted file mode 100644 index a0421d3..0000000 --- a/src/classes/Function.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -class Function { - $Name - $Version - - PSModule ([string] $Name, [string] $Version) { - $this.Name = $Name - $this.Version = $Version - } -} diff --git a/src/classes/PSModule.ps1 b/src/classes/PSModule.ps1 deleted file mode 100644 index 8746dd2..0000000 --- a/src/classes/PSModule.ps1 +++ /dev/null @@ -1,11 +0,0 @@ -class PSModule { - $Name - $Version - $Functions - - PSModule ([string] $Name, [string] $Version, [hashtable] $Functions) { - $this.Name = $Name - $this.Version = $Version - $this.Functions = $Functions - } -} diff --git a/src/data/Config.psd1 b/src/data/Config.psd1 deleted file mode 100644 index fea4466..0000000 --- a/src/data/Config.psd1 +++ /dev/null @@ -1,3 +0,0 @@ -@{ - RandomKey = 'RandomValue' -} diff --git a/src/data/Settings.psd1 b/src/data/Settings.psd1 deleted file mode 100644 index bcfa7b4..0000000 --- a/src/data/Settings.psd1 +++ /dev/null @@ -1,3 +0,0 @@ -@{ - RandomSetting = 'RandomSettingValue' -} diff --git a/src/formats/CultureInfo.Format.ps1xml b/src/formats/CultureInfo.Format.ps1xml deleted file mode 100644 index a715e08..0000000 --- a/src/formats/CultureInfo.Format.ps1xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - System.Globalization.CultureInfo - - System.Globalization.CultureInfo - - - - - 16 - - - 16 - - - - - - - - LCID - - - Name - - - DisplayName - - - - - - - - diff --git a/src/formats/Mygciview.Format.ps1xml b/src/formats/Mygciview.Format.ps1xml deleted file mode 100644 index 4c972c2..0000000 --- a/src/formats/Mygciview.Format.ps1xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - mygciview - - System.IO.DirectoryInfo - System.IO.FileInfo - - - PSParentPath - - - - - - 7 - Left - - - - 26 - Right - - - - 26 - Right - - - - 14 - Right - - - - Left - - - - - - - - ModeWithoutHardLink - - - LastWriteTime - - - CreationTime - - - Length - - - Name - - - - - - - - diff --git a/src/public/Test-PSModuleTemplate.ps1 b/src/functions/public/Test-PSModuleTemplate.ps1 similarity index 100% rename from src/public/Test-PSModuleTemplate.ps1 rename to src/functions/public/Test-PSModuleTemplate.ps1 diff --git a/src/init/initializer.ps1 b/src/init/initializer.ps1 deleted file mode 100644 index 28396fb..0000000 --- a/src/init/initializer.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Write-Verbose '-------------------------------' -Write-Verbose '--- THIS IS AN INITIALIZER ---' -Write-Verbose '-------------------------------' diff --git a/src/modules/OtherPSModule.psm1 b/src/modules/OtherPSModule.psm1 deleted file mode 100644 index a9177f7..0000000 --- a/src/modules/OtherPSModule.psm1 +++ /dev/null @@ -1,16 +0,0 @@ -function Get-OtherPSModule { - <# - .SYNOPSIS - A brief description of the function - - .EXAMPLE - Get-OtherPSModule -Name "World" - #> - [CmdletBinding()] - param( - # The name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/private/Get-InternalPSModule.ps1 b/src/private/Get-InternalPSModule.ps1 deleted file mode 100644 index 323f7a6..0000000 --- a/src/private/Get-InternalPSModule.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -function Get-InternalPSModule { - <# - .SYNOPSIS - Performs tests on a module. - - .EXAMPLE - Get-InternalPSModule -Name 'World' - - "Hello, World!" - #> - [CmdletBinding()] - param ( - # Name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/private/Set-InternalPSModule.ps1 b/src/private/Set-InternalPSModule.ps1 deleted file mode 100644 index 4b46032..0000000 --- a/src/private/Set-InternalPSModule.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -function Set-InternalPSModule { - <# - .SYNOPSIS - Performs tests on a module. - - .EXAMPLE - Set-InternalPSModule -Name 'World' - - "Hello, World!" - #> - [Diagnostics.CodeAnalysis.SuppressMessageAttribute( - 'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function', - Justification = 'Reason for suppressing' - )] - [CmdletBinding()] - param ( - # Name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/public/Get-PSModuleTemplate.ps1 b/src/public/Get-PSModuleTemplate.ps1 deleted file mode 100644 index 014b47c..0000000 --- a/src/public/Get-PSModuleTemplate.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -function Get-PSModuleTemplate { - <# - .SYNOPSIS - Performs tests on a module. - - .EXAMPLE - Get-PSModuleTemplate -Name 'World' - - "Hello, World!" - #> - [CmdletBinding()] - param ( - # Name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/public/New-PSModuleTemplate.ps1 b/src/public/New-PSModuleTemplate.ps1 deleted file mode 100644 index 8d5f1fd..0000000 --- a/src/public/New-PSModuleTemplate.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -function New-PSModuleTemplate { - <# - .SYNOPSIS - Performs tests on a module. - - .EXAMPLE - New-PSModuleTemplate -Name 'World' - - "Hello, World!" - #> - [Diagnostics.CodeAnalysis.SuppressMessageAttribute( - 'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function', - Justification = 'Reason for suppressing' - )] - [CmdletBinding()] - param ( - # Name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/public/Set-PSModuleTemplate.ps1 b/src/public/Set-PSModuleTemplate.ps1 deleted file mode 100644 index 51f099c..0000000 --- a/src/public/Set-PSModuleTemplate.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -function Set-PSModuleTemplate { - <# - .SYNOPSIS - Performs tests on a module. - - .EXAMPLE - Set-PSModuleTemplate -Name 'World' - - "Hello, World!" - #> - [Diagnostics.CodeAnalysis.SuppressMessageAttribute( - 'PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function', - Justification = 'Reason for suppressing' - )] - [CmdletBinding()] - param ( - # Name of the person to greet. - [Parameter(Mandatory)] - [string] $Name - ) - Write-Output "Hello, $Name!" -} diff --git a/src/scripts/loader.ps1 b/src/scripts/loader.ps1 deleted file mode 100644 index 973735a..0000000 --- a/src/scripts/loader.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Write-Verbose '-------------------------' -Write-Verbose '--- THIS IS A LOADER ---' -Write-Verbose '-------------------------' diff --git a/src/types/DirectoryInfo.Types.ps1xml b/src/types/DirectoryInfo.Types.ps1xml deleted file mode 100644 index aef538b..0000000 --- a/src/types/DirectoryInfo.Types.ps1xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - System.IO.FileInfo - - - Status - Success - - - - - System.IO.DirectoryInfo - - - Status - Success - - - - diff --git a/src/types/FileInfo.Types.ps1xml b/src/types/FileInfo.Types.ps1xml deleted file mode 100644 index 4cfaf6b..0000000 --- a/src/types/FileInfo.Types.ps1xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - System.IO.FileInfo - - - Age - - ((Get-Date) - ($this.CreationTime)).Days - - - - -