Socket
Book a DemoInstallSign in
Socket

create-vf-app

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-vf-app

A command-line tool to scaffold Vectorform starter repositories

0.0.3
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

create-vf-app

create-vf-app is a command-line tool to scaffold Vectorform starter repositories.

Overview

This command-line tool helps you initialize new projects using Vectorform starter repositories. It offers the flexibility to pick any repository as a template, create a new repository with clean git history, and optionally add a .prettierrc file from a remote source.

Features

  • Clones the chosen template repository.
  • Removes the existing git history and initializes a new one.
  • Prompts for adding a .prettierrc file from a remote source.
  • Handles existing .prettierrc or .prettierrc.json files in the project.

Installation

To install this package globally, run:

npm install -g create-vf-app

Usage

To use this command-line tool, run:

create-vf-app <template> <name>

Where:

  • <template> is the repository you want to use as a template.
  • <name> is the name of your new repository.

For example:

create-vf-app https://github.com/vectorform/starter my-new-project

Adding a .prettierrc File

During the project initialization process, you will be prompted whether you want to add a .prettierrc file from a remote source. If you select yes, the tool will automatically fetch and add the .prettierrc file to your project. If a .prettierrc or .prettierrc.json file already exists in the project, you will be prompted whether to override it.

Dependencies

  • Commander: For creating command-line interfaces.
  • Inquirer: For creating interactive command-line prompts.
  • Prettier: For code formatting.
  • ShellJS: For executing shell commands.

License

This project is licensed under the ISC license.

Keywords

cli

FAQs

Package last updated on 02 Jun 2023

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.