Skip to content

Automate deploying npm packages managed by lerna to webjars.org

License

Notifications You must be signed in to change notification settings

ChristianMurphy/lerna-webjar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lerna-webjar

NPM Version

Automate deploying npm packages managed by lerna to webjars.org

📓 this relies on the package being released to npm before the webjar release is started.

Quick usage

npx lerna-webjar

Installation

# with npm
npm install --save-dev lerna lerna-webjar

# or with yarn
yarn add --dev lerna lerna-webjar

Usage

in package.json

{
  "scripts": {
+    "publish-webjar": "lerna-webjar"
  }
}

then from a terminal

# with npm
npm run publish-webjar

# with yarn
yarn publish-webjar