CLI command to build Tailwind CSS for code components

Created on 20 May 2025, about 2 months ago

Overview

The CLI tool needs to be able to build Tailwind CSS taking into account the markup for all "online" components combined with any local component(s).

β†’ See: 🌱 [Meta] CLI tool for code components Active

Proposed resolution

  1. Implement this command as a wrapper around the right package from https://github.com/tailwindlabs/tailwindcss.
  2. Before running the Tailwind CSS build, download the JS source of all code components into a local directory, e.g., ~/.xb.
  3. Read the location for your local directory for components from an environment variable or .env file established in πŸ“Œ Set up first authenticated request from CLI Postponed .
  4. Allow users to select components interactively or passed as a CLI argument. Make sure there is an option to select all.
  5. Add the JS source of all selected components to the locally cached collection of all "online" components, run the Tailwind build on that folder.
  6. Write the generated CSS to dist/index.css at the root of the local components directory.
  7. Extend the upload command ( ✨ CLI command to upload code components Postponed ) to run this compilation, and upload the compiled CSS as the global asset library's compiled CSS.
✨ Feature request
Status

Postponed

Version

0.0

Component

CLI Tool

Created by

πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @balintbrews
  • πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL
  • πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL
  • πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL
  • πŸ‡ΊπŸ‡ΈUnited States hooroomoo
  • Pipeline finished with Canceled
    21 days ago
    Total: 125s
    #530471
  • πŸ‡ΊπŸ‡ΈUnited States hooroomoo

    hooroomoo β†’ changed the visibility of the branch 3525592-cli-command-to to hidden.

  • Pipeline finished with Failed
    20 days ago
    Total: 222s
    #531496
  • Pipeline finished with Failed
    20 days ago
    Total: 246s
    #531716
  • Pipeline finished with Failed
    18 days ago
    Total: 349s
    #533326
  • Pipeline finished with Failed
    18 days ago
    Total: 264s
    #533354
  • Pipeline finished with Running
    18 days ago
    #533434
  • Pipeline finished with Failed
    18 days ago
    Total: 186s
    #533467
  • Pipeline finished with Failed
    18 days ago
    Total: 218s
    #533469
  • Pipeline finished with Failed
    18 days ago
    Total: 1091s
    #533488
  • Pipeline finished with Canceled
    18 days ago
    Total: 263s
    #533502
  • Pipeline finished with Failed
    18 days ago
    Total: 592s
    #533503
  • πŸ‡ΊπŸ‡ΈUnited States hooroomoo
  • Pipeline finished with Success
    18 days ago
    Total: 659s
    #533504
  • Pipeline finished with Canceled
    15 days ago
    Total: 293s
    #535600
  • Pipeline finished with Success
    15 days ago
    Total: 827s
    #535601
  • Pipeline finished with Failed
    15 days ago
    Total: 943s
    #535609
  • Pipeline finished with Success
    14 days ago
    Total: 1421s
    #536341
  • Pipeline finished with Failed
    14 days ago
    Total: 1271s
    #536470
  • Pipeline finished with Success
    14 days ago
    Total: 853s
    #536492
  • Pipeline finished with Success
    14 days ago
    Total: 717s
    #536500
  • Pipeline finished with Success
    14 days ago
    Total: 836s
    #536516
  • Pipeline finished with Canceled
    14 days ago
    Total: 157s
    #536533
  • Pipeline finished with Success
    14 days ago
    Total: 663s
    #536537
  • Pipeline finished with Skipped
    14 days ago
    #536550
  • πŸ‡³πŸ‡±Netherlands balintbrews Amsterdam, NL
  • Pipeline finished with Success
    14 days ago
    Total: 904s
    #536547
Production build 0.71.5 2024