Skip to content

A project that make it easy to link your VTEX IO components when your project is a monorepo

License

Notifications You must be signed in to change notification settings

CoutoDev/vlink-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLINK-MONOREPO

A CLI tool that helps you to link your VTEX IO Components/Apps

Besides the name, this tool also works if you have multiple repos of the same project on the root folder that you want to run vlink.

Install

npm i -g vlink-monorepo

Or

yarn add global vlink-monorepo

It's important that you have installed Yarn and globally installed version of 'concurrently' package to this tool to work.

Install Yarn

npm i -g yarn

Install concurrently

npm i -g concurrently

Usage

Commands:

  link [componentFolder]  Link VTEX IO components
  fix [componentFolder]   Unlink and Link VTEX IO components
  help [command]          display help for command

Examples:

vlink link -> Will run over all projects inside the current folder (basically sets the path like ".") and run vtex link if the manifest.json file exists on project.

vlink fix -> Same as link, but will unlink the project and then link again.

You can also specify the project you want to link:

vlink link customComponent

About

A project that make it easy to link your VTEX IO components when your project is a monorepo

Resources

License

Stars

Watchers

Forks

Packages

No packages published