Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
danger-plugin-lerna
Advanced tools
Reports which packages in a lerna mono-repo will be published.
Reports which packages in a lerna mono-repo will be published.
Install:
yarn add danger-plugin-lerna --dev
At a glance:
// dangerfile.js
import lerna from 'danger-plugin-lerna';
schedule(lerna());
If package changes are detected messages will be published like so:
Message | |
---|---|
:book: | :rocket: A new version of the stuff package will be published. |
:book: | :rocket: A new version of the more-stuff package will be published. |
The function accepts a settings object with the following properties:
name | description |
---|---|
emoji | An emoji to prepend to the success message |
noPublishMessage | A message to show if there is nothing to publish. |
formatSuccessMessage | A function to format the success message. |
Example:
import lerna from 'danger-plugin-lerna';
schedule(lerna({
emoji: ':thinking:',
noPublishMessage: 'No new package versions will be published',
formatSuccessMessage(emoji, pkg) {
return `${emoji} My custom message about the ${pkg.name} package`;
}
}));
FAQs
Reports which packages in a lerna mono-repo will be published.
We found that danger-plugin-lerna 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.