WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@liamgold
Copy link
Owner

@liamgold liamgold commented Dec 4, 2025

Summary

Completes the cleanup from the shadcn-to-XbyK migration by removing all leftover configuration files, dependencies, and webpack configuration that are no longer needed.

All styling is now handled exclusively through native Kentico XbyK components, making CSS loaders, PostCSS, and related tooling unnecessary.

Changes

  • ✅ Removed components.json (shadcn configuration file)
  • ✅ Removed CSS loader rule from webpack config
  • ✅ Removed unused npm packages:
    • css-loader
    • postcss-loader
    • postcss
    • style-loader
  • ✅ Removed @ path alias from webpack config (was used for @/components/ui imports)
  • ✅ Cleaned up 21 transitive dependencies from node_modules

Impact

  • Smaller bundle size: 21 fewer packages in node_modules
  • Cleaner config: Simplified webpack configuration
  • No functional changes: All UI still uses native XbyK components

Verification

  • No CSS files in source code
  • No @/ import paths in codebase
  • No shadcn/tailwind packages in dependencies
  • All styling via XbyK components

🤖 Generated with Claude Code

liamgold and others added 3 commits December 4, 2025 20:21
Removes leftover shadcn configuration file that is no longer needed after migrating to native Kentico XbyK admin components.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Removes leftover CSS-related webpack loaders and npm packages from the shadcn migration. All styling is now handled through native XbyK components, making these dependencies unnecessary.

Changes:
- Removed CSS loader rule from webpack.config.js
- Removed css-loader, postcss-loader, style-loader from dependencies
- Removed postcss from devDependencies
- Cleaned up 21 unused packages from node_modules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Removes the @ alias that was added for shadcn imports (@/components/ui). No longer needed since all imports now use relative paths with native XbyK components.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings December 4, 2025 20:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes the migration from shadcn/tailwind to native Kentico XbyK components by removing all leftover configuration files, dependencies, and build tooling that are no longer needed for styling.

Key Changes:

  • Removed shadcn configuration file (components.json)
  • Cleaned up webpack configuration by removing CSS loaders and path aliases
  • Removed 4 direct dependencies (css-loader, postcss-loader, postcss, style-loader) plus 21 transitive dependencies

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/Client/webpack.config.js Removed CSS loader rule and @ path alias configuration that were used for shadcn components
src/Client/package.json Removed CSS/PostCSS related dependencies that are no longer needed with XbyK components
src/Client/components.json Deleted shadcn configuration file entirely
Files not reviewed (1)
  • src/Client/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@liamgold liamgold merged commit fdce813 into main Dec 4, 2025
5 checks passed
@liamgold liamgold deleted the cleanup/remove-shadcn-config branch December 4, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants