1.1.9 • Published 9 months ago

@bulent.guven/custom-react-starter v1.1.9

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Custom React Starter

A modern React project starter with an interactive CLI to set up your project with optional features like Tailwind CSS, i18n support, @tanstack/react-query and authentication pages.

Quick Start

npx @bulent.guven/custom-react-starter

Features

  • 🚀 React + TypeScript setup
  • 🎨 Optional Tailwind CSS integration
  • 🌐 Optional i18n (internationalization) support
  • 🔐 Optional authentication pages
  • 🔄 Optional TanStack Query (React Query) integration
  • 📦 Multiple package manager support
  • 💻 Interactive CLI interface

Usage

Simply run the CLI command and follow the interactive prompts:

npx @bulent.guven/custom-react-starter

You'll be asked to: 1. Enter your project name 2. Choose your preferred package manager (npm, pnpm, yarn, or bun) 3. Select the features you want to include:

  • Tailwind CSS
  • i18n (internationalization)
  • Authentication pages
  • TanStack Query

What's Included

Base Setup

  • React with TypeScript
  • Vite for fast development and building
  • TanStack Router for type-safe routing
  • ESLint and Prettier for code quality
  • Git initialization with initial commit

Optional Features

Tailwind CSS

  • Utility-first CSS framework
  • PostCSS configuration
  • Basic styling setup
  • Vite plugin configuration

Internationalization (i18n)

  • i18next integration
  • Browser language detection
  • English and Turkish translations
  • Type-safe translations
  • Automatic configuration in main.tsx

Authentication Pages

  • Login page template
  • Registration page template
  • Authentication-specific layout
  • Basic routing setup

TanStack Query

  • Powerful data-fetching and state management
  • Automatic background updates
  • Cache management
  • DevTools integration
  • Type-safe queries and mutations

Available Scripts

Once your project is created, you can run:

# Start development server
pnpm dev

# Build for production
pnpm build

Package Manager Support

The CLI supports multiple package managers:

  • pnpm (default)
  • npm
  • yarn
  • bun

Choose your preferred package manager during project setup.

License

MIT

1.1.9

9 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.36

10 months ago

1.0.35

10 months ago

1.0.34

10 months ago

1.0.33

10 months ago

1.0.32

10 months ago

1.0.31

10 months ago

1.0.30

10 months ago

1.0.29

10 months ago

1.0.28

10 months ago

1.0.27

10 months ago

1.0.26

10 months ago

1.0.25

10 months ago

1.0.24

10 months ago

1.0.23

10 months ago

1.0.22

10 months ago

1.0.21

10 months ago

1.0.20

10 months ago

1.0.19

10 months ago

1.0.18

10 months ago

1.0.17

10 months ago

1.0.16

10 months ago

1.0.15

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago