GiantCroissant.Lunar.Build.NuGet
0.1.1-ci.40
See the version list below for details.
dotnet add package GiantCroissant.Lunar.Build.NuGet --version 0.1.1-ci.40
NuGet\Install-Package GiantCroissant.Lunar.Build.NuGet -Version 0.1.1-ci.40
<PackageReference Include="GiantCroissant.Lunar.Build.NuGet" Version="0.1.1-ci.40" />
<PackageVersion Include="GiantCroissant.Lunar.Build.NuGet" Version="0.1.1-ci.40" />
<PackageReference Include="GiantCroissant.Lunar.Build.NuGet" />
paket add GiantCroissant.Lunar.Build.NuGet --version 0.1.1-ci.40
#r "nuget: GiantCroissant.Lunar.Build.NuGet, 0.1.1-ci.40"
#:package GiantCroissant.Lunar.Build.NuGet@0.1.1-ci.40
#addin nuget:?package=GiantCroissant.Lunar.Build.NuGet&version=0.1.1-ci.40&prerelease
#tool nuget:?package=GiantCroissant.Lunar.Build.NuGet&version=0.1.1-ci.40&prerelease
NuGet Build Components
Streamlined NuGet build automation for the Lunar Build system. This module now favors simple, NUKE-native targets over a heavy service layer.
What You Get (Current)
INuGetPackaging
: End-to-end targets for restore, pack, clean, and push using NUKEDotNet*
/NuGet*
tasks.INuGetRepositoryComponent
: Config-driven repository paths (BuildConfiguration-aware), with analysis/optimize/validate stubs.INuGetLocalRepoSyncComponent
: Copy freshly built.nupkg
files to one or more local feeds (flat/hierarchical/both).
Quick Start
Add the component(s) to your NUKE build class:
using Lunar.Build.NuGet;
partial class Build : NukeBuild, INuGetPackaging, INuGetRepositoryComponent
{
// Compose targets as needed
Target CI => _ => _
.DependsOn(Restore)
.DependsOn(Pack)
.DependsOn(CleanRepository);
}
To sync built packages to local feeds:
using Lunar.Build.Components; // INuGetLocalRepoSyncComponent
partial class Build : NukeBuild, INuGetLocalRepoSyncComponent
{
// Configure via config or parameters:
// - nuget.outputDirectory
// - nuget.localNugetRepositories (array)
// - nuget.syncLayout (hierarchical|flat|both)
}
Configuration
- Repository & feed paths resolve via: parameter → env var → BuildConfiguration → auto-detect → fallback.
- See
Interfaces/INuGetRepositoryComponent.cs
andComponents/INuGetLocalRepoSyncComponent.cs
for keys and behavior.
Legacy (Kept for Reference Only)
The previous service-oriented implementation (services, options, validators, DI extensions, etc.) remains in this folder but is excluded from compilation and packaging. This preserves history and reference material without increasing package surface area.
- Excluded folders:
Services
,Options
,DependencyInjection
,Interfaces
(exceptINuGetRepositoryComponent
),Components
(compiled onlyINuGetLocalRepoSyncComponent
),Common
,NugetPackage
,Validation
,PreBuild
,PostBuild
,_Generated
. IWorkspaceNuGetComponent
is deprecated; still compiled for backward compatibility. PreferINuGetRepositoryComponent
.
If you still need the old behavior, consider copying the relevant code into your build as internal utilities rather than re-enabling it in this package.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- GiantCroissant.Lunar.Build.Configuration (>= 0.1.1-ci.40)
- NuGet.Packaging (>= 6.14.0)
- NuGet.Versioning (>= 6.14.0)
- Nuke.Common (>= 9.0.4)
- Serilog (>= 4.3.0)
- System.Text.Json (>= 9.0.7)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GiantCroissant.Lunar.Build.NuGet:
Package | Downloads |
---|---|
GiantCroissant.Lunar.Build
Meta-package that depends on the Lunar Build component packages for one-line install. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.1.1-ci.90 | 109 | 9/8/2025 |
0.1.1-ci.40 | 95 | 9/6/2025 |
0.1.1-ci.21 | 143 | 9/4/2025 |
0.1.1-ci.20 | 134 | 9/3/2025 |
0.1.1-chore-ci-pack-mobile-... | 27 | 9/4/2025 |
NuGet packaging components with repository management and publishing workflows for Nuke build system.