From f474c3d295d71cd42e5d20af076370353f4246c5 Mon Sep 17 00:00:00 2001 From: Deuchnord Date: Fri, 5 May 2023 13:31:14 +0200 Subject: [PATCH] chore: install conventional-changelog locally instead of using a global one --- .gitignore | 5 +++++ Makefile | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d2571f9..465f1fd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,8 @@ Pipfile.lock # Gitpod-specific: /.vscode/** poetry.lock + +# Used to generate changelog, should not be in the repo: +/package.json +/package-lock.json +/node_modules diff --git a/Makefile b/Makefile index edc1c6a..275b019 100644 --- a/Makefile +++ b/Makefile @@ -14,5 +14,6 @@ doctests: python3 -m poetry run python tests.py changelog: - conventional-changelog -p angular -i CHANGELOG.md -s - @echo -e "\e[32m✔\e[33m Changelog generated. Don't forget to update the version number before committing.\e[0m" + npm install conventional-changelog-cli + ./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s + rm -rf node_modules package.json package-lock.json