Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khala/commit-analyzer-wildcard

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khala/commit-analyzer-wildcard - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

17

analyzer.js

@@ -11,9 +11,12 @@ const releaseTypes = ['major', 'minor', 'patch', 'prerelease'];

let releaseNumber = 3;
analyzeCommits.map((onePlugin) => {
patterns = {
...patterns,
...onePlugin.patterns,
};
return null;
});
if (analyzeCommits instanceof Array) {
analyzeCommits.map((onePlugin) => {
patterns = {
...patterns,
...onePlugin.patterns,
};
return null;
});
}
logger.log(`Using patterns:

@@ -20,0 +23,0 @@ major - ${patterns.major}

{
"name": "@khala/commit-analyzer-wildcard",
"version": "1.0.0",
"version": "1.0.1",
"description": "Commit analyzer for semantic-release based on wildcards",

@@ -5,0 +5,0 @@ "main": "analyzer.js",

@@ -33,2 +33,25 @@ # commit-analyzer-wildcard

```
## Default usage
Simply add some special characters to any of your commit messages and new release will be triggered
* Major - `<?.?.x>`
* Minor - `<?.x.x>` or `<?.x.?>`
* Bug - `<x.x.x>` or `<x.x.?>` or `<x.?.x>` or `<x.?.?>`
* No release - `<no>`
To trigger automatic release add this to `package.json` and install [semantic-release](https://www.npmjs.com/package/semantic-release)
```JSON
{
"scripts": {
"release": "semantic-release"
}
}
```
Settings for travis is
```YML
after_success:
- npm run release
```
## Options

@@ -35,0 +58,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc