@nishant0121/set-it-up
v0.0.7
Published
A high-performance CLI tool to bootstrap and forge new projects with pre-configured templates, prerequisite checking, and interactive setup.
Readme
set-it-up
set-it-up is a high-performance CLI tool designed to bootstrap and forge new projects with pre-configured templates, prerequisite checking, and interactive setup.
Features
- Interactive Wizard: Professional terminal interface to guide you through project configuration.
- Prerequisite Checks: Automatically verifies necessary tools (Node.js, Git, etc.) are installed before starting.
- React Support (Vite):
- Fast project scaffolding using Vite.
- Automated Tailwind CSS v4 setup.
- Standardized project structure (src/pages, src/components).
- Integrated Layout and Navbar with React Router DOM support.
- Optional Shadcn UI initialization and component addition.
- Global AppContext setup for state management.
- Automatic TypeScript to JavaScript conversion for Shadcn UI if JS is selected.
- React Native Support:
- Rapid initialization with @react-native-community/cli.
- Full support for both TypeScript and JavaScript.
- Automated React Navigation integration with boilerplate code.
- Smart Defaults: Supports npm, yarn, and pnpm based on user preference.
Installation
To use set-it-up globally on your system:
npm install -g @nishant0121/set-it-upUsing npx:
npx @nishant0121/set-it-upUsage
Run the tool in your terminal:
forgeFollow the prompts to:
- Select your project type (React or React Native).
- Provide a project name.
- Choose your preferred package manager.
- Select language (TypeScript or JavaScript).
- Configure additional features (Shadcn UI, Router, Context, Navigation).
Example Workflow
SET-IT-UP
Hi there! Let's configure your new project.
? What do you want to build today? React
? Enter your project name: my-web-app
? Select your preferred package manager: npm
? Which language do you want to use? TypeScript
? Would you like to setup Shadcn UI? Yes
? Would you like to add React Router DOM? Yes
? Would you like to setup a global AppContext? YesContributing
Contributions are welcome. Please open an issue or submit a pull request for improvements.
License
ISC
