Socket
Socket
Sign inDemoInstall

conventional-changelog-atom

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-atom - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

6

index.js

@@ -5,3 +5,2 @@ 'use strict';

var resolve = require('path').resolve;
var semver = require('semver');

@@ -40,6 +39,3 @@ function presetOpts(cb) {

commitGroupsSort: 'title',
commitsSort: ['emoji', 'shortDesc'],
generateOn: function(commit) {
return semver.valid(commit.version);
}
commitsSort: ['emoji', 'shortDesc']
};

@@ -46,0 +42,0 @@

17

package.json
{
"name": "conventional-changelog-atom",
"version": "0.0.0",
"version": "0.1.0",
"description": "conventional-changelog atom preset",

@@ -27,8 +27,8 @@ "main": "index.js",

"devDependencies": {
"chai": "^3.4.1",
"conventional-changelog-core": "0.0.1",
"chai": "^3.5.0",
"conventional-changelog-core": "0.0.2",
"coveralls": "^2.11.6",
"git-dummy-commit": "^1.1.1",
"jscs": "^2.7.0",
"jshint": "^2.9.1-rc2",
"istanbul": "^0.4.2",
"jscs": "^2.9.0",
"jshint": "^2.9.1",
"mocha": "*",

@@ -39,7 +39,4 @@ "shelljs": "^0.5.3",

"dependencies": {
"compare-func": "^1.3.1",
"lodash": "^3.10.1",
"q": "^1.4.1",
"semver": "^5.1.0"
"q": "^1.4.1"
}
}
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]
> [conventional-changelog](https://github.com/ajoslin/conventional-changelog) atom preset
> [conventional-changelog](https://github.com/ajoslin/conventional-changelog) [atom](https://github.com/atom/atom) preset

@@ -5,0 +5,0 @@

@@ -9,45 +9,43 @@ 'use strict';

describe('presets', function() {
describe('atom', function() {
before(function() {
shell.config.silent = true;
shell.rm('-rf', 'tmp');
shell.mkdir('tmp');
shell.cd('tmp');
shell.mkdir('git-templates');
shell.exec('git init --template=./git-templates');
describe('atom preset', function() {
before(function() {
shell.config.silent = true;
shell.rm('-rf', 'tmp');
shell.mkdir('tmp');
shell.cd('tmp');
shell.mkdir('git-templates');
shell.exec('git init --template=./git-templates');
writeFileSync('test1', '');
shell.exec('git add --all && git commit -m":arrow_down: exception-reporting"');
writeFileSync('test2', '');
shell.exec('git add --all && git commit -m\':bug: `updateContentDimensions` when model changes\'');
writeFileSync('test3', '');
shell.exec('git add --all && git commit -m"Merge pull request #7881 from atom/bf-upgrade-babel-to-5.6.17"');
writeFileSync('test4', '');
shell.exec('git add --all && git commit -m":arrow_up: language-gfm@0.79.0"');
writeFileSync('test5', '');
shell.exec('git add --all && git commit -m":arrow_up: one-dark/light-ui@v1.0.1"');
});
writeFileSync('test1', '');
shell.exec('git add --all && git commit -m":arrow_down: exception-reporting"');
writeFileSync('test2', '');
shell.exec('git add --all && git commit -m\':bug: `updateContentDimensions` when model changes\'');
writeFileSync('test3', '');
shell.exec('git add --all && git commit -m"Merge pull request #7881 from atom/bf-upgrade-babel-to-5.6.17"');
writeFileSync('test4', '');
shell.exec('git add --all && git commit -m":arrow_up: language-gfm@0.79.0"');
writeFileSync('test5', '');
shell.exec('git add --all && git commit -m":arrow_up: one-dark/light-ui@v1.0.1"');
});
it('should work if there is no semver tag', function(done) {
conventionalChangelogCore({
config: config
it('should work if there is no semver tag', function(done) {
conventionalChangelogCore({
config: config
})
.on('error', function(err) {
done(err);
})
.on('error', function(err) {
done(err);
})
.pipe(through(function(chunk) {
chunk = chunk.toString();
.pipe(through(function(chunk) {
chunk = chunk.toString();
expect(chunk).to.include(':arrow_down:');
expect(chunk).to.include('`updateContentDimensions` when model changes');
expect(chunk).to.include(':arrow_up:');
expect(chunk).to.include('one-dark/light-ui@v1.0.1');
expect(chunk).to.include(':arrow_down:');
expect(chunk).to.include('`updateContentDimensions` when model changes');
expect(chunk).to.include(':arrow_up:');
expect(chunk).to.include('one-dark/light-ui@v1.0.1');
expect(chunk).to.not.include('7881');
expect(chunk).to.not.include('7881');
done();
}));
});
done();
}));
});
});
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