Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
lerna-publisher
Advanced tools
Utility to publish lerna/yarn/workspace types of packages from ci to npm
Custom publishing cli for lerna/yarn/workspaces projects.
lerna-publisher will check versions of all subpackages in monorepo and publish them to npmjs if version specified in package.json of subpackage is higher than version in npmjs.
Primary motivation is to allow developer to run lerna publish command locally even if developer does not have permissions to publish to npmjs.CI will pickup tags commited by lerna and publish packages with unpublished versions.
lerna-publisher will assume you already have built version of your package in the folder where lerna publisher runs. To make sure you have built your package, add following to your package.json scripts key.
"prepack": "yarn build"
You need to have line like this in every package.json of every package you want to publish to npm.
lerna version
Add NPM_TOKEN environment variable in Travis Build Settings
Add following to the end of your .travis.yml
before_deploy:
- npm install lerna-publisher -g
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
deploy:
skip_cleanup: true
provider: script
script: lerna-publisher
on:
os: linux
node: 10
branch: master
tags: true
-v, --version output the version number
-h, --help output usage information
You can use lerna-publisher to generate static demo sites for your pull requests. Environmnet variables
Than run:
lerna-publisher deploydemo @wix/lpt-server /Users/youruser/dev/lerna-publish-test
MIT
FAQs
Utility to publish lerna/yarn/workspace types of packages from ci to npm
The npm package lerna-publisher receives a total of 0 weekly downloads. As such, lerna-publisher popularity was classified as not popular.
We found that lerna-publisher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.