Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
semantic-release-license
Advanced tools
[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to update your license file on new releases.
semantic-release plugin to update your license file on new releases.
Step | Description |
---|---|
verifyConditions | Verify the presence of a license file and makes sur it can detect it |
prepare | Update the license file based on its type |
npm install -D semantic-release-license
The plugin can be configured in the semantic-release configuration file:
module.exports = {
plugins: [
'semantic-release-license',
/*
* Use the git plugin to commit the updated license file
* Note: make sure semantic-release-license is run BEFORE the git plugin
* otherwise you git won't pick your updated LICENSE.
*/
['@semantic-release/git', {
assets: ['LICENSE']
}]
]
}
You can configure the plugin by passing options:
module.exports = {
plugins: [
['semantic-release-license', {
license: {
path: 'path/to/MY_LICENSE.txt'
}
}]
]
}
We use a
license
root property to avoid conflicts withsemantic-release
CLI options (see here).
Options | Description | Default |
---|---|---|
license.path | The path to your license path | The plugin tries to automatically detect it |
FAQs
[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to update your license file on new releases.
We found that semantic-release-license 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.