Skip to content

Cleanup: Remove Flowbite Dependencies #125

@dokterbob

Description

@dokterbob

Objective

Final cleanup to remove all Flowbite dependencies and references from the project.

Prerequisites

⚠️ ONLY execute this after all component migrations are complete and tested

Tasks

Package Removal

  • Remove flowbite from package.json
  • Remove flowbite-svelte from package.json
  • Remove flowbite-svelte-blocks from package.json
  • Remove flowbite-svelte-icons from package.json
  • Run pnpm install to update lock file

CSS/Tailwind Cleanup

  • Remove from app.tailwind.css:
    • @plugin 'flowbite/plugin'
    • @source "../node_modules/flowbite-svelte/dist"
    • @source "../node_modules/flowbite-svelte-icons/dist"
    • @source '../node_modules/flowbite-svelte-blocks/dist'
  • Remove any Flowbite-specific color variables
  • Clean up unused Tailwind classes

Code Cleanup

  • Search for any remaining "flowbite" imports
  • Remove any Flowbite-specific type imports
  • Delete temporary migration helper files
  • Remove any commented-out Flowbite code

Verification

# Run these commands to verify complete removal:
moon frontend:exec grep -r "flowbite" --include="*.svelte" --include="*.ts" --include="*.js"
moon frontend:exec grep -r "flowbite" --include="*.css"
moon frontend:exec grep -r "flowbite" package.json

Documentation Updates

  • Update README with new UI library info
  • Update any component documentation
  • Document any custom components created

Final Checks

  • Run moon check --all
  • Build production bundle
  • Verify bundle size reduction
  • Test application thoroughly

Acceptance Criteria

  • No Flowbite packages in dependencies
  • No Flowbite imports in code
  • Application builds successfully
  • All tests pass
  • Bundle size reduced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions