Add auto-changelog for generating a CHANGELOG.md (#2421)

* Add auto-changelog for generating a CHANGELOG.md

* Update dependencies, cleanup bin file

* Update dependencies
This commit is contained in:
Veeck
2019-02-26 22:30:15 +01:00
committed by GitHub
parent c21ecfe577
commit 0b9eaa5670
4 changed files with 3887 additions and 223 deletions

2175
CHANGELOG.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -50,7 +50,6 @@ var yargs = require('yargs')
var argv = yargs.argv;
var cwd = process.cwd();
var dest = cwd + '/modernizr.js';
var inlineConfig;
var configPath;
var config;
@@ -108,12 +107,10 @@ if (argv.m) {
}
}
if (argv.o || argv.f) {
var metadata = Modernizr.metadata();
var options = Modernizr.options();
var find = function(config, source) {
if (!config) {
return;
@@ -142,8 +139,6 @@ if (argv.o || argv.f) {
'feature-detects': find(argv.f, metadata),
'options': find(argv.o, options)
};
inlineConfig = true;
}
if (argv.c) {
@@ -162,7 +157,7 @@ try {
if (!config && !configPath) {
console.error('config file, inline features, or options required.');
yargs.showHelp();
process.exit(1)
process.exit(1);
} else {
config = config || {};
if (configPath) {

1918
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,12 +13,13 @@
"mkdirp": "^0.5.1",
"remarkable": "^1.7.1",
"requirejs": "^2.3.6",
"yargs": "^12.0.5"
"yargs": "^13.2.1"
},
"devDependencies": {
"@alrra/travis-scripts": "^3.0.1",
"eslint": "^5.12.0",
"eslint-plugin-jsdoc": "^3.15.1",
"auto-changelog": "^1.11.0",
"eslint": "^5.14.1",
"eslint-plugin-jsdoc": "^4.1.1",
"expect.js": "^0.3.1",
"grunt": "^1.0.3",
"grunt-contrib-clean": "^2.0.0",
@@ -36,7 +37,7 @@
"jquery": "3.2.1",
"json3": "^3.3.2",
"load-grunt-tasks": "^4.0.0",
"mocha": "^5.2.0",
"mocha": "^6.0.2",
"proxyquire": "^2.1.0",
"serve-static": "^1.13.2",
"sinon": "2.4.1",
@@ -45,6 +46,7 @@
"scripts": {
"start": "grunt default",
"test": "grunt test --stack",
"changelog": "auto-changelog --commit-limit false --package",
"version": "node lib/generate-license.js && git add LICENSE"
},
"main": "./lib/cli",