bca.Nuget

0.0.8

PowerShell module to create and manage NuGet packages.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name bca.Nuget -RequiredVersion 0.0.8

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name bca.Nuget -Version 0.0.8

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2020 Bca. All rights reserved.

Package Details

Author(s)

  • Baptiste Cabrera

Tags

Package Packaging PackageManager NuGet

Functions

Add-NuspecContentFile Add-NuspecDependency Add-NuspecFile ConvertTo-NuspecManifest Get-NuGetPath Get-NuspecProperty Get-NuspecSchema Install-NuGet Invoke-NuGetCommand New-NuGetPackage Resolve-NuspecProperty Set-NuspecLicense Set-NuspecProperty Test-NuspecManifest Update-NuGet

Dependencies

Release Notes

0.0.8:
- Install-NuGet: Fixed if bin folder is not present (as it is removed if empty when packaged);
- Updated tests.

0.0.7:
- Install-NuGet: New function that will install NuGet if not present when importing the module (can be used to update with Force switch).
- Update-NuGet: New function that will update NuGet to the latest version.

0.0.6:
- ConvertTo-NuspecManifest: Added support for PowerShell Script Info objects.

0.0.5:
- Bug fixes.

0.0.4:
- ConvertTo-NuspecManifest: Added support for Module objects.

0.0.3:
- Added files support (Add-NuspecContentFile and Add-NuspecFile);
- Set-NuspecLicense: New function that supports either SPDX license or file;
- Added a dependency on module Bca.Spdx.

0.0.2:
- Added new function for Nuspec properties (Get-NuspecProperty, Set-NuspecProperty, Resolve-NuspecProperty);
- ConvertTo-NuspecManifest: Moved a great deal of logic in Resolve-NuspecProperty.

0.0.1:
- First version.

FileList

Version History

Version Downloads Last updated
0.2.0 11,895 9/18/2020
0.1.1 51 9/11/2020
0.0.8 (current version) 105 7/12/2020
0.0.6 28 7/11/2020