Skip to content

Commit

Permalink
feat(.cz.json,-.pre-commit-config.yaml,-CHANGELOG.md): better init …
Browse files Browse the repository at this point in the history
…of commitizen

Adds changelog, result of `cz init`

\\
  • Loading branch information
jordyjwilliams committed Oct 31, 2022
1 parent d3cb4c6 commit 5e9bbad
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 23 deletions.
7 changes: 7 additions & 0 deletions .cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commitizen": {
"name": "cz_conventional_commits",
"version": "0.1.0",
"tag_format": "0.1.0"
}
}
37 changes: 14 additions & 23 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,28 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
# Identify invalid files
- hooks:
- id: check-ast
- id: check-yaml
- id: check-json
- id: check-toml

# git checks
- id: check-merge-conflict
- id: check-added-large-files
- id: detect-private-key
- id: check-case-conflict

# General quality checks
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- args:
- --markdown-linebreak-ext=md
id: trailing-whitespace
- id: check-executables-have-shebangs
- id: end-of-file-fixer

# prettier fomatting
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.0
hooks:
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
- hooks:
- id: prettier
stages: [commit]

# commitizen
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.37.0
hooks:
stages:
- commit
repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.0
- hooks:
- id: commitizen
# - id: commitizen-branch
# stages: [push]
repo: https://github.com/commitizen-tools/commitizen
rev: v2.37.0
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## 0.1.0 (2022-10-31)

First tag created by `commitizen`.

Not planning to release this yet. Simple first initial tag.

Project still in a WIP state.

### Feat

- global play/pause button
- oscillator play/pause button
- gain per oscillator
- githooks setup: `pre-commit`
- commit messages enforced: `commitizen`
- install script to manage cross language deps.
- migration from `npm` to `pnpm`
- update app, 3 page osc layout
- slider, dropdown and oscillator react components

### Docs

- `README.md` to track state
- **TODO** section
- this `CHANGELOG.md`

### Fix

- **`.pre-commit-config.yaml`**: remove `commitizen-branch` check on `push`

0 comments on commit 5e9bbad

Please sign in to comment.