bca.Nuget
0.2.0
PowerShell module to create and manage Nuspec manifests and NuGet packages.
Minimum PowerShell version
5.1
Installation Options
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
-
- Bca.Spdx (>= 0.1.1)
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
- Bca.Nuget.nuspec
- Bca.Nuget.psd1
- Bca.Nuget.psm1
- Bca.Nuget.Tests.ps1
- Public\Add-NuspecContentFile.ps1
- Public\Add-NuspecDependency.ps1
- Public\Add-NuspecFile.ps1
- Public\ConvertTo-NuspecManifest.ps1
- Public\Get-NuGetPath.ps1
- Public\Get-NuspecProperty.ps1
- Public\Get-NuspecSchema.ps1
- Public\Install-NuGet.ps1
- Public\Invoke-NuGetCommand.ps1
- Public\New-NuGetPackage.ps1
- Public\Resolve-NuspecProperty.ps1
- Public\Resolve-NuspecRepository.ps1
- Public\Save-NuspecManifest.ps1
- Public\Set-NuspecLicense.ps1
- Public\Set-NuspecProperty.ps1
- Public\Set-NuspecRepository.ps1
- Public\Test-NuspecManifest.ps1
- Public\Update-NuGet.ps1
- template\template.nuspec.xml
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 |