feat(dev): add just changelog (#162)

resolves #134
This commit is contained in:
Shivaraj B H 2024-04-01 03:40:37 +05:30 committed by GitHub
parent 423b85482d
commit 8bbdc91393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 27 additions and 2 deletions

View File

@ -1,5 +1,26 @@
# Changelog for services-flake
## Unreleased
### Feat
- **postgres**: add connectionURI option (#143)
- add pre-commit-hooks.nix, enforcing conventional commits
### Fix
- **postgres**: empty `socketDir` by default (#160)
- **mysql**: look for `*.sql` files in the top-level schema directory (#154)
- **template**: Was broken in previous PR merge
### Refactor
- **deprecation**: replace types.string with types.str
- writeShellScriptBin -> writeShellApplication (#155)
- **postgres**: replace string argument with attrset for `connectionURI` (#146)
- **example**: remove unused pg2 service (#142)
- overlays for packages in test flake (#120)
## 0.1.0 (Mar 6, 2024)
- Initial release

View File

@ -31,10 +31,10 @@
};
};
devShells.default = pkgs.mkShell {
nativeBuildInputs = [
packages = [
pkgs.just
config.pre-commit.settings.tools.commitizen
];
# cf. https://flakular.in/haskell-flake/devshell#composing-devshells
inputsFrom = [
config.treefmt.build.devShell
config.pre-commit.devShell

View File

@ -2,6 +2,10 @@
default:
@just --list
# Generate CHANGELOG under `Unreleased`, starting from the previous release
changelog:
cz ch --start-rev $(git describe --tags --abbrev=0 HEAD^) --incremental
# Run example/simple
ex-simple:
cd ./example/simple && nix run . --override-input services-flake ../..