Socket
Socket
Sign inDemoInstall

create-vibrary

Package Overview
Dependencies
4
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    create-vibrary

A published-ready template for Vue 3 components and composable functions library.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

0.3.0 (2022-08-02)

Bug Fixes

  • add engines node >= 18 (17d8f35)

Features

  • add react template support (3a39bf4)
  • add template-react option (1536c8a)

Readme

Source

Vibrary

A published-ready template for Vue 3 components and composable functions library.

  • pnpm
  • typescript
  • vue 3
  • vite
  • vitest
  • viteplay for documentation
  • @vueuse/core

Scaffolding Your First Vue 3 Library

With NPM:

$ npm create vibrary@latest

With Yarn:

$ yarn create vibrary

With PNPM:

$ pnpm create vibrary

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue library, run:

# npm 6.x
npm create vibrary@latest my-vue-library --template vue-ts

# npm 7+, extra double-dash is needed:
npm create vibrary@latest my-vue-library -- --template vue-ts

# yarn
yarn create vibrary my-vue-library -- --template vue-ts

# pnpm
pnpm create vibrary my-vue-library -- --template vue-ts

Currently supported template presets include:

  • vue-ts

Release it!

Vibrary

For example, to release a new version of your lib, run:

pnpm release

Then follow the prompts!

Troubleshooting hints

If you get an error when running pnpm release, you maybe miss the git repository url in package.json, for example, to add git repository url:

// in package.json
{
  "repository": {
    "type": "git",
    "url": "git+https://github.com/your/your-repo-url.git"
  }
}

FAQs

Last updated on 02 Aug 2022

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc