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

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

Baptiste Cabrera

Copyright

(c) 2020 Bca. All rights reserved.

Owners

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.

Version History

Version Downloads Last updated
0.2.0 (current version) 13 9/18/2020
0.1.1 35 9/11/2020
0.0.8 89 7/12/2020
0.0.6 10 7/11/2020