Browse Source

chore: install conventional-changelog locally instead of using a global one

tags/v1.0.8
Deuchnord 11 months ago
parent
commit
f474c3d295
2 changed files with 8 additions and 2 deletions
  1. +5
    -0
      .gitignore
  2. +3
    -2
      Makefile

+ 5
- 0
.gitignore View File

@@ -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

+ 3
- 2
Makefile View File

@@ -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

Loading…
Cancel
Save