Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
grunt-semantic-release
Advanced tools
Using this plugin it is possible to release a new version with just grunt release
.
This will
Here is an example release.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-semantic-release --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-semantic-release');
This task comes with a setup script. You should be good to go after running this.
./node_modules/.bin/setup
In your project's Gruntfile, add a section named release
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
release: {
bump:
}
})
Type: Object
Default value:
bump: {
commitMessage: 'chore(release): v%VERSION%',
files: ['package.json', 'bower.json', 'component.json'],
commitFiles: ['-a'],
pushTo: 'origin master'
}
The options object that gets (partly) forwarded to the grunt-bump task.
The task relies on some options for grunt-bump, but there shouldn't be a need to configure this anyways. E.g. when there is a bower.json
file present in the file system it is added to the files array automatically.
Type: Array<String>
Default value: ['changelog']
A list of tasks that prepare files for the release commit. Per default the changelog is generated here, but you can do other stuff like minifying a distribution build, generating a list of contributors – basically everything you could imagine and find useful.
Type: Array<String>
The email used for git commits.
Type: Array<String>
The name used for git commits.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2014 Stephan Bönnemann. Licensed under the MIT license.
FAQs
release your package without breaking stuff
The npm package grunt-semantic-release receives a total of 5 weekly downloads. As such, grunt-semantic-release popularity was classified as not popular.
We found that grunt-semantic-release 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.