1.2.22 • Published 9 months ago

viteuf v1.2.22

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

viteuf

viteuf is a simple CLI tool to generate project templates with customization options. It helps you quickly set up new projects based on predefined templates.

Features

  • Choose from various project templates.
  • Customize template settings during setup.
  • Automatically initialize a git repository.
  • Install dependencies automatically.
  • Add a project description to the README file.

How to use

1 . install the package globally

   npm install -g
   viteuf <template-name>

2 . run using npx or bunx

   npx viteuf <template-name>
   bunx viteuf <template-name>

Explanation

  1. Project Structure:

    • src/viteuf.js: The main for our tool.
    • bases/: Directory containing project bases.
    • index.js: Entry point.
    • README.md: README for viteuf.
  2. Dependencies:

    • Used inquirer for user prompts.
    • Used chalk for colored output.
    • Used shelljs for shell commands.
  3. Templates:

    • front: A base template for your React project that leverages bun and vite.
    • micro-front: A base template for an app structured as micro-fronts making use of federation.
    • back: A base template to develop an api or a single backend function with nodemon and express.
    • full-back: A base project structured as a full backend app. Server, API, DB and utils to hook a front
    • npm: A basic NPM package base to develop a cli tool or library.
    • component: A base template to develop a web component with lit-element and vite.
    • serverless: A base template to develop a serverless function using the workers model.
    • mobile: A base template to develop a mobile app using react-native.
  4. Commands:

    • viteuf <template-name>: To create a new project based on the selected template.
    • viteuf list: To list all available templates.
    • viteuf help: To display help information.
  5. Dev notes and license:

This project was authored by belka hedia and is licensed under the MIT license.

1.2.21

9 months ago

1.2.22

9 months ago

1.0.2

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.2.19

1 year ago

1.2.20

1 year ago

1.2.18

1 year ago

1.2.30

2 years ago

1.2.17

2 years ago

1.2.15

2 years ago