Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ 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
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
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
Expand All @@ -53,6 +59,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 }}
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<!-- Centralized ShellUI Version - Update this single file to version all components -->
<PropertyGroup>
<ShellUIVersion>0.1.0</ShellUIVersion>
<ShellUIVersion>0.1.1</ShellUIVersion>
<ShellUIVersionSuffix></ShellUIVersionSuffix>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
60 changes: 17 additions & 43 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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 <component>`** - Add individual components to your project
- **`shellui list`** - List all available components
- **`shellui remove <component>`** - 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
Expand All @@ -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
4 changes: 1 addition & 3 deletions src/ShellUI.Core/ShellUI.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>blazor;components;ui;shellui;core</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IsPackable>false</IsPackable>
</PropertyGroup>

</Project>
Loading