This repository was archived by the owner on Mar 7, 2026. It is now read-only.
fix: include Tailwind CSS utilities in distribution build#49
Merged
christoph2806 merged 10 commits intodevelopfrom Jun 6, 2025
Merged
fix: include Tailwind CSS utilities in distribution build#49christoph2806 merged 10 commits intodevelopfrom
christoph2806 merged 10 commits intodevelopfrom
Conversation
added 10 commits
June 6, 2025 06:35
…e default port forwarding (was 5 ports always open) - Enable automatic port detection only when services are running - Configure smart port attributes for different service types - Update documentation with usage examples - Prevents blocking 28+ ports on local machine unnecessarily
….sh script for automatic GitHub CLI authentication - Configure devcontainer to load .env file for GH_TOKEN - Integrate authentication into post-create workflow - Support both GH_TOKEN and git credentials from environment - Enhance error handling and user feedback
…ve warning messages when no GH_TOKEN is provided - Silent skip when token is not available - Change exit code from error (1) to success (0) for missing token - Improve user experience for developers without GitHub tokens
…plicit .env file loading with automatic variable export - Add debugging output to show GH_TOKEN detection - Use set -a/+a to properly export environment variables to subprocesses - Ensure authentication works even when container runArgs env loading fails
…as causing script to exit silently when gh auth status returned error code - Script now properly handles authentication status checks and shows appropriate messages - Both with-token and without-token scenarios now work correctly
… Check for persistent auth file instead of environment-based auth - Temporarily unset GH_TOKEN during login to force credential storage - Now properly detects existing persistent credentials vs temp env auth - GitHub CLI commands work correctly without environment variables
…- Add explicit export of GH_TOKEN before calling auth script - Add explicit export of git configuration variables - Environment loading with set -a/+a was not sufficient for subshell access - GitHub CLI authentication now works correctly in post-create script
…o longer relies on environment variables being exported from parent shells - Includes robust .env file parsing with proper quote handling - Gracefully handles missing .env file while still detecting persistent credentials - Works correctly in any shell context without prior environment setup - Resolves issue where new shells couldn't find GH_TOKEN
… complex environment loading logic from post-create.sh - Delegate all .env handling to gh-auth.sh which now handles it internally - Cleaner separation of concerns between scripts - Post-create script is now simpler and more maintainable
- Add import of globals.css to ui-kit index.ts - Fix distributed CSS missing Tailwind utility classes - Distributed CSS now includes 6,720 lines vs previous 61 lines - Add clear documentation about CSS import usage - Improve devcontainer port forwarding configuration - Update showcase vite config for devcontainer compatibility Fixes #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Fixes #48 - Component CSS styles missing from distribution build
Problem
The distributed CSS file (
dist/index.css) only contained theme variable mappings (2.28 KB, 61 lines) but was missing the actual Tailwind utility classes that shadcn components require.Solution
globals.csstoui-kit/src/index.tsTesting
Breaking Changes
None - this is a bug fix that makes components work as intended.