bca.Nuget

0.2.0

PowerShell module to create and manage Nuspec manifests and NuGet packages.

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name bca.Nuget

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

Install-PSResource -Name bca.Nuget

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 Windows Linux MacOS

Functions

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

Dependencies

Release Notes

0.2.0:
- Invoke-NuGetCommand is now cross platform;
- Resolve-Nuspecproperty and Set-NuspecProperty now supporting repository, icon and requireLicenseAcceptance prpoperties;
- Resolve-NuspecRepository: new function that resolves a repository object from an URL;
- Set-NuspecRepository: new function that sets the repository property to a Nuspec manifest;
- Now distributed under license MIT.

0.1.0:
- This version now supports certain Chocolatey-specific properties in ConvertTo-NuspecManifest, Resolve-NuspecProperty and Set-NuspecProperty;
- Save-NuspecManifest: New function to save a Nuspec manifest to a file;
- Set-NuspecLicense: Force switch now removes licenseUrl if it had specified;
- Get-NuspecProperty: Value now returns an array instead of a list of nodes if multiple (e.g. property name dependencies will return an array of id and version as the value instead of an array of dependency);
- Bug fixes.

FileList

Version History

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