From ad9bfa843a294fcb3a8db6e807212426a6ecf564 Mon Sep 17 00:00:00 2001 From: Shewart Date: Sat, 17 Jan 2026 02:15:43 +0200 Subject: [PATCH 1/4] hotfix: prevent ShellUI.Core from being published separately - Set ShellUI.Core.IsPackable=false (it's a dependency of ShellUI.Components) - Update release workflow to only publish ShellUI.CLI and ShellUI.Components - Update README to reflect only 2 packages are published - Fixes issue where 3 packages were being published instead of 2 --- .github/workflows/release.yml | 7 ++++--- README.md | 2 +- src/ShellUI.Core/ShellUI.Core.csproj | 4 +--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94cc4fe..0f3582a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,10 @@ jobs: - name: Publish to NuGet run: | - dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - dotnet nuget push **/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + dotnet nuget push src/ShellUI.CLI/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + dotnet nuget push src/ShellUI.CLI/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + dotnet nuget push src/ShellUI.Components/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + dotnet nuget push src/ShellUI.Components/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - name: Extract version from tag id: version @@ -53,6 +55,5 @@ jobs: files: | src/ShellUI.CLI/bin/Release/*.nupkg src/ShellUI.Components/bin/Release/*.nupkg - src/ShellUI.Core/bin/Release/*.nupkg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 29df0d5..e5440fe 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ To update ShellUI version across all components: ``` This single file change updates: -- ✅ All NuGet packages (`ShellUI.CLI`, `ShellUI.Components`, `ShellUI.Core`) +- ✅ All NuGet packages (`ShellUI.CLI`, `ShellUI.Components`) - ✅ All component templates (73 components) - ✅ Build configurations and metadata diff --git a/src/ShellUI.Core/ShellUI.Core.csproj b/src/ShellUI.Core/ShellUI.Core.csproj index d185d0a..6e79228 100644 --- a/src/ShellUI.Core/ShellUI.Core.csproj +++ b/src/ShellUI.Core/ShellUI.Core.csproj @@ -16,9 +16,7 @@ git MIT blazor;components;ui;shellui;core - true - true - snupkg + false From c37175120bd262a1567c191c40fab36ef5f8872d Mon Sep 17 00:00:00 2001 From: Shewart Date: Sat, 17 Jan 2026 02:15:43 +0200 Subject: [PATCH 2/4] hotfix: prevent ShellUI.Core from being published separately - Set ShellUI.Core.IsPackable=false (it's a dependency of ShellUI.Components) - Update release workflow to only publish ShellUI.CLI and ShellUI.Components - Update README to reflect only 2 packages are published - Fixes issue where 3 packages were being published instead of 2 --- .github/workflows/release.yml | 1 - README.md | 2 +- src/ShellUI.Core/ShellUI.Core.csproj | 4 +--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 94cc4fe..6e97d8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,6 +53,5 @@ jobs: files: | src/ShellUI.CLI/bin/Release/*.nupkg src/ShellUI.Components/bin/Release/*.nupkg - src/ShellUI.Core/bin/Release/*.nupkg env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 29df0d5..e5440fe 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ To update ShellUI version across all components: ``` This single file change updates: -- ✅ All NuGet packages (`ShellUI.CLI`, `ShellUI.Components`, `ShellUI.Core`) +- ✅ All NuGet packages (`ShellUI.CLI`, `ShellUI.Components`) - ✅ All component templates (73 components) - ✅ Build configurations and metadata diff --git a/src/ShellUI.Core/ShellUI.Core.csproj b/src/ShellUI.Core/ShellUI.Core.csproj index d185d0a..6e79228 100644 --- a/src/ShellUI.Core/ShellUI.Core.csproj +++ b/src/ShellUI.Core/ShellUI.Core.csproj @@ -16,9 +16,7 @@ git MIT blazor;components;ui;shellui;core - true - true - snupkg + false From 31f20cc6a6cefbe4159dbd29e4f338c21699f788 Mon Sep 17 00:00:00 2001 From: Shewart Date: Sat, 17 Jan 2026 02:24:49 +0200 Subject: [PATCH 3/4] chore: prepare v0.1.1 release - package publishing fix --- Directory.Build.props | 2 +- docs/RELEASE_NOTES.md | 60 ++++++++++++------------------------------- 2 files changed, 18 insertions(+), 44 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 91b786e..ff54005 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - 0.1.0 + 0.1.1 diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index c108059..d9a9021 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,36 +1,26 @@ -# ShellUI v0.1.0 🎉 +# ShellUI v0.1.1 🔧 -> Beautiful, accessible Blazor components inspired by shadcn/ui +> Hotfix release - Package publishing fix -## ✨ Highlights +## 🐛 Bug Fixes -This is the **first official release** of ShellUI - a CLI-first Blazor component library that brings the shadcn/ui philosophy to .NET developers. +### Fixed Package Publishing +- **Prevented `ShellUI.Core` from being published separately** - Set `IsPackable=false` on `ShellUI.Core` project +- **Updated release workflow** - Now only publishes the 2 intended packages: + - ✅ `ShellUI.CLI` - CLI tool for component management + - ✅ `ShellUI.Components` - Component library package +- **Updated documentation** - README now correctly reflects that only 2 packages are published -### 🚀 What's Included - -#### CLI Tool (`ShellUI.CLI`) -- **`shellui init`** - Initialize your Blazor project with Tailwind CSS -- **`shellui add `** - Add individual components to your project -- **`shellui list`** - List all available components -- **`shellui remove `** - Remove installed components -- **`shellui update`** - Update components to the latest version - -#### Components Library (`ShellUI.Components`) -Pre-built components for NuGet installation: -- **Button** - Interactive button with variants (default, destructive, outline, secondary, ghost, link) -- **Badge** - Status indicators with multiple variants -- **Alert** - Notification banners with icons -- **Card** - Content containers with header, content, and footer sections -- **Input** - Form input fields -- **Label** - Accessible form labels -- **Separator** - Visual dividers -- **Shell utilities** - `Shell.Cn()` for Tailwind class merging +### What Changed +- `ShellUI.Core` is an internal dependency of `ShellUI.Components` and should not be published as a standalone package +- Future releases will only publish the 2 intended packages ## 📦 Installation -### Option 1: CLI (Recommended) +No changes to installation process: + ```bash -# Install the CLI globally +# Install CLI globally dotnet tool install -g ShellUI.CLI # Initialize your project @@ -40,33 +30,17 @@ shellui init shellui add button badge alert card ``` -### Option 2: NuGet Package +Or via NuGet: ```bash dotnet add package ShellUI.Components ``` -## 🎨 Styling - -ShellUI uses **Tailwind CSS v4** with CSS variables for theming. The `shellui init` command automatically sets up: -- Tailwind CSS standalone CLI (no Node.js required) -- CSS variables for light/dark themes -- Component styling aligned with shadcn/ui - -## 📋 Requirements - -- .NET 9.0 or later -- Blazor Server, WebAssembly, or Interactive modes - ## 🔗 Links - **Documentation**: https://shellui.dev - **GitHub**: https://github.com/shellui-dev/shellui - **NuGet**: https://www.nuget.org/packages/ShellUI.Components -## 🙏 Acknowledgments - -Inspired by [shadcn/ui](https://ui.shadcn.com/) - the beautiful React component library. - --- -**Full Changelog**: https://github.com/shellui-dev/shellui/commits/v0.1.0 +**Full Changelog**: https://github.com/shellui-dev/shellui/compare/v0.1.0...v0.1.1 From 82487b912e5591e95e4f49d62df23daa376834c9 Mon Sep 17 00:00:00 2001 From: Shewart Date: Sat, 17 Jan 2026 02:28:39 +0200 Subject: [PATCH 4/4] fix: make symbol package push conditional (only if files exist) --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f3582a..114de51 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,9 +37,13 @@ jobs: - name: Publish to NuGet run: | dotnet nuget push src/ShellUI.CLI/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - dotnet nuget push src/ShellUI.CLI/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + if ls src/ShellUI.CLI/bin/Release/*.snupkg 1> /dev/null 2>&1; then + dotnet nuget push src/ShellUI.CLI/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + fi dotnet nuget push src/ShellUI.Components/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - dotnet nuget push src/ShellUI.Components/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + if ls src/ShellUI.Components/bin/Release/*.snupkg 1> /dev/null 2>&1; then + dotnet nuget push src/ShellUI.Components/bin/Release/*.snupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + fi - name: Extract version from tag id: version