Skip to content

[$150] CLI-based setup wizard #571

@aidenybai

Description

@aidenybai

Describe the feature

Create a CLI (distributed via the million) package that:

  • Automatically detects the environment (e.g. Next.js, Vite, Webpack), or if not available, prompt options to pick a compatible build tool (Currently compatible with: Next.js, Gatsby, Astro, Vite, Create-React-App, Webpack, Rollup, Rspack, Esbuild). See installation page
  • Create or update the config with Million.js auto mode options. Provide a diff so it is not destructive. If this is Next.js, make sure to detect for App router (RSC mode for auto mode)
  • Be able to call this via CLI (e.g. npx million@latest)
  • Provide a fallback to the installation page if failed: https://million.dev/docs/install#use-the-compiler
  • Add documentation on this feature (ideally the default path for installation)

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions