🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis β†’
Socket
Book a DemoInstallSign in
Socket

sr_setup-cli

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sr_setup-cli

Modern CLI for React/Next.js projects with Tailwind CSS v4, templates, and clean setup

latest
npmnpm
Version
3.6.0
Version published
Weekly downloads
6
50%
Maintainers
1
Weekly downloads
Β 
Created
Source

SR Setup CLI v3.6.0

πŸŽ‰ Thank you for downloading SR Setup CLI!

Modern CLI tool for rapid React project setup with Vite, Tailwind CSS v4, and real-time package versions from npm registry.

⚠️ Note: This tool may contain bugs. Please report any issues you encounter to help improve the project.

πŸ“ Changelog v3.6.0

What's New:

  • βœ… Fixed Tailwind CSS spinner duplication - removed spinner, only green output
  • βœ… Fixed progress bar duplication - removed extra empty progress line
  • βœ… Added all 14+ libraries to Welcome.jsx with documentation links
  • βœ… Updated libraryLinks with complete package list:
    • react-router-dom, axios, @tanstack/react-query
    • @reduxjs/toolkit, zustand
    • react-hook-form, formik
    • lucide-react, react-icons, framer-motion, react-toastify
    • date-fns, lodash, react-helmet-async
    • vitest, @testing-library/react, eslint, prettier
  • βœ… Improved clean interface - removed unnecessary tables and messages
  • βœ… Single progress bar with package names
  • βœ… Green checkmarks for successful installations

Previous Updates:

  • v3.5.0 - Full code cleanup, removed unused files
  • v3.4.0 - Removed component selection table, clean progress bar
  • v3.3.0 - CSS framework moved before preset selection
  • v3.2.0 - Real-time package versions from npm registry
  • v3.1.0 - Full migration to enquirer, removed intermediate menus
  • v3.0.0 - Tables, progress bars, square checkboxes, no emojis

✨ Features

  • 🎯 Interactive Setup β€” single-step configuration via enquirer
  • πŸ“¦ Latest Versions β€” real-time package versions from npm registry
  • 🎨 Tailwind CSS v4 β€” automatic installation and @tailwindcss/vite configuration
  • ⚑ Vite β€” modern build tool with HMR
  • 🌐 Bilingual Interface β€” full support for Russian and English
  • πŸ“Š Progress Bar β€” real-time installation tracking
  • πŸ”§ Presets β€” minimal, full, testing, custom
  • πŸ“ Welcome Page β€” auto-generated documentation with links to all installed packages

πŸ“¦ Installation

npm install -g sr_setup-cli

Or use npx without installation:

npx sr_setup-cli

πŸš€ Usage

sr_setup-cli

Installation Process:

  • Language Selection β€” choose Russian or English interface
  • Interactive Configuration β€” all parameters in one window:
    • Project name
    • Installation path
    • App title (for )
    • Programming language (JavaScript / TypeScript)
    • Framework (React Vite / Next.js / Remix / Gatsby)
    • Package manager (npm / yarn / pnpm)
    • CSS framework (Tailwind CSS v4)
    • Installation preset
    • Libraries (for custom preset)
    • Additional options (folder structure, .env, .gitignore)
  • Confirmation β€” table with all parameters
  • Installation β€” progress bar with package names
  • Done! β€” project is configured and ready to use

🎯 Presets

πŸ“Œ Minimal

Only essential dependencies:

  • React
  • Vite
  • Tailwind CSS v4

πŸ“¦ Full

Complete production-ready stack:

  • UI: lucide-react, framer-motion
  • Routing: react-router-dom
  • State: zustand
  • Forms: react-hook-form
  • HTTP: axios
  • Testing: vitest
  • Tools: eslint, prettier, husky, lint-staged

πŸ§ͺ Testing

Testing-focused setup:

  • @testing-library/react
  • @testing-library/jest-dom
  • vitest
  • eslint, prettier, husky, lint-staged

🎨 Custom

Choose what you need from 14+ libraries:

πŸ”„ Routing & Navigation

  • react-router-dom β€” client-side routing

πŸ“‘ HTTP & Data Fetching

  • axios β€” HTTP client
  • @tanstack/react-query β€” server state management

πŸ—ƒοΈ State Management

  • zustand β€” lightweight state
  • @reduxjs/toolkit β€” Redux with better DX

πŸ“ Forms

  • react-hook-form β€” performant forms
  • formik β€” popular form library

🎨 UI & Animations

  • lucide-react β€” modern icons
  • react-icons β€” 10,000+ icons
  • framer-motion β€” smooth animations
  • react-toastify β€” notifications

πŸ› οΈ Utilities

  • date-fns β€” date utilities
  • lodash β€” utility library
  • react-helmet-async β€” document head manager

πŸ“Š What Gets Installed

⚑ Always (for Vite projects):

  • React
  • Vite
  • Tailwind CSS v4 (@tailwindcss/vite)

πŸ”§ Optional (development tools):

  • ESLint β€” linting with React configuration
  • Prettier β€” code formatting
  • Vitest β€” unit testing with jsdom
  • Husky β€” git hooks
  • Lint-staged β€” pre-commit checks
  • Commitlint β€” conventional commits

🌟 v3.6.0 Features

βœ… Real-time Package Versions

βœ… Clean Interface

  • No unnecessary tables or messages
  • Single progress bar with package names
  • Green checkmarks for successful installations
  • Minimal output

βœ… Welcome Page

Auto-generated src/pages/Welcome.jsx includes:

  • List of all installed packages
  • Documentation links
  • Command descriptions
  • Project configuration

🌐 Bilingual Interface

Full support for Russian and English:

  • All prompts translated
  • Error messages
  • Progress bar
  • Welcome page
  • Documentation

Usage Examples

Quick Start (minimal)

sr_setup-cli
# Select language β†’ minimal preset β†’ done!
cd my-app
npm run dev

Full Project (full)

sr_setup-cli
# Select language β†’ full preset
# Get routing, state, forms, tests
cd my-app
npm run dev

Custom Setup

sr_setup-cli
# Select language β†’ custom preset
# Choose only needed libraries (Space to select)
# Example: react-router + zustand + axios + react-query
cd my-app
npm run dev

πŸ”„ Updates

CLI automatically checks for updates on startup:

βœ“ CLI is up to date

Or check manually:

npm update -g sr_setup-cli

πŸ“„ License

MIT License

Made with ❀️ for React developers

Keywords

cli

FAQs

Package last updated on 06 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts