Skip to content

reaxi/wksp

Repository files navigation

wksp

npm Maintained

yarn workspaces extension

Table of Contents:

  1. Requirements
  2. Running
  3. Examples

Requirements

yarn

node.js

Running

Install

npm i -g wksp

then

wksp <cmd>

shorthand for: yarn workspace <cmd>

wksp will detect the package name automatically (if run inside the project folder)

if your current directory is the workspace root you can specify the name

wksp -n my-app <cmd>

shorthand for: yarn workspace <name> <cmd>

Examples

root

cwd: .../monorepo/

projects/
    /client/
    /server/
    /ui-lib/
wksp start -n client

--name

project

cwd: .../monorepo/projects/server

wksp start

wksp will detect the package name related with this folder and run the start script defined in package.json