auto-changelog: move out of node-packages

This commit is contained in:
Pyrox 2024-06-26 00:18:27 -04:00
parent d75b6ae41f
commit 6954a8acb9
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5
5 changed files with 132 additions and 37 deletions

View File

@ -0,0 +1,100 @@
{
"name": "auto-changelog",
"version": "2.4.0",
"description": "Command line tool for generating a changelog from git tags and commit history",
"main": "./src/index.js",
"bin": {
"auto-changelog": "./src/index.js"
},
"engines": {
"node": ">=8.3"
},
"scripts": {
"lint": "standard --verbose | snazzy",
"lint-fix": "standard --fix",
"lint-markdown": "markdownlint README.md test/data/*.md",
"test": "cross-env NODE_ENV=test mocha -r @babel/register test",
"test-coverage": "cross-env NODE_ENV=test nyc mocha test",
"report-coverage": "nyc report --reporter=json && codecov -f coverage/coverage-final.json",
"preversion": "npm run lint && npm run test",
"version": "node src/index.js --package && git add CHANGELOG.md",
"generate-test-data": "cross-env NODE_ENV=test node scripts/generate-test-data.js"
},
"author": "Pete Cook <pete@cookpete.com> (https://github.com/cookpete)",
"homepage": "https://github.com/CookPete/auto-changelog",
"repository": {
"type": "git",
"url": "https://github.com/CookPete/auto-changelog.git"
},
"bugs": {
"url": "https://github.com/CookPete/auto-changelog/issues"
},
"keywords": [
"auto",
"automatic",
"changelog",
"change",
"log",
"generator",
"git",
"commit",
"commits",
"history"
],
"license": "MIT",
"dependencies": {
"commander": "^7.2.0",
"handlebars": "^4.7.7",
"node-fetch": "^2.6.1",
"parse-github-url": "^1.0.2",
"semver": "^7.3.5"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/register": "^7.13.16",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-rewire": "^1.2.0",
"chai": "^4.3.4",
"codecov": "^3.8.2",
"cross-env": "^7.0.3",
"markdownlint-cli": "^0.30.0",
"mocha": "^9.2.0",
"nyc": "^15.1.0",
"snazzy": "^9.0.0",
"standard": "^16.0.3"
},
"babel": {
"env": {
"test": {
"plugins": [
"istanbul",
"rewire"
]
}
}
},
"standard": {
"ignore": [
"test/data/"
]
},
"nyc": {
"all": true,
"include": "src",
"exclude": "src/index.js",
"sourceMap": false,
"instrument": false,
"report-dir": "./coverage",
"temp-dir": "./coverage/.nyc_output",
"require": [
"@babel/register"
],
"reporter": [
"text",
"html"
]
},
"auto-changelog": {
"breakingPattern": "Breaking change"
}
}

View File

@ -0,0 +1,31 @@
{
lib,
mkYarnPackage,
fetchYarnDeps,
fetchFromGitHub
}: mkYarnPackage rec {
pname = "auto-changelog";
version = "2.4.0";
src = fetchFromGitHub {
owner = "cookpete";
repo = "auto-changelog";
rev = "v${version}";
hash = "sha256-qgJ/TVyViMhISt/EfCWV7XWQLXKTeZalGHFG905Ma5I=";
};
packageJSON = ./package.json;
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-rP/Xt0txwfEUmGZ0CyHXSEG9zSMtv8wr5M2Na+6PbyQ=";
};
meta = {
description = "Command line tool for generating a changelog from git tags and commit history";
homepage = "https://github.com/cookpete/auto-changelog";
changelog = "https://github.com/cookpete/auto-changelog/blob/master/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "auto-changelog";
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

View File

@ -57,6 +57,7 @@ mapAliases {
alloy = pkgs.titanium-alloy; # added 2023-08-17
antennas = pkgs.antennas; # added 2023-07-30
inherit (pkgs) asar; # added 2023-08-26
inherit (pkgs) auto-changelog; # added 2024-06-25
inherit (pkgs) aws-azure-login; # added 2023-09-30
balanceofsatoshis = pkgs.balanceofsatoshis; # added 2023-07-31
inherit (pkgs) bash-language-server; # added 2024-06-07

View File

@ -21,7 +21,6 @@
, "alex"
, "audiosprite"
, "autoprefixer"
, "auto-changelog"
, "aws-cdk"
, "awesome-lint"
, "bower"

View File

@ -63573,42 +63573,6 @@ in
bypassCache = true;
reconstructLock = true;
};
auto-changelog = nodeEnv.buildNodePackage {
name = "auto-changelog";
packageName = "auto-changelog";
version = "2.4.0";
src = fetchurl {
url = "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.4.0.tgz";
sha512 = "vh17hko1c0ItsEcw6m7qPRf3m45u+XK5QyCrrBFViElZ8jnKrPC1roSznrd1fIB/0vR/zawdECCRJtTuqIXaJw==";
};
dependencies = [
sources."commander-7.2.0"
sources."encoding-0.1.13"
sources."handlebars-4.7.8"
sources."iconv-lite-0.6.3"
sources."minimist-1.2.8"
sources."neo-async-2.6.2"
sources."node-fetch-2.7.0"
sources."parse-github-url-1.0.2"
sources."safer-buffer-2.1.2"
sources."semver-7.6.2"
sources."source-map-0.6.1"
sources."tr46-0.0.3"
sources."uglify-js-3.18.0"
sources."webidl-conversions-3.0.1"
sources."whatwg-url-5.0.0"
sources."wordwrap-1.0.0"
];
buildInputs = globalBuildInputs;
meta = {
description = "Command line tool for generating a changelog from git tags and commit history";
homepage = "https://github.com/CookPete/auto-changelog";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
aws-cdk = nodeEnv.buildNodePackage {
name = "aws-cdk";
packageName = "aws-cdk";