summaryrefslogtreecommitdiff
path: root/git-hooks/pre-commit
Commit message (Collapse)AuthorAge
* Consolidate code style checks into tool scripts.Owen Jacobson2025-05-30
| | | | | | The new `tools/check-format` script checks _all_ project formatting - JS (through `prettier`), and Rust (through `rustfmt`). It also checks `prettier` against the whole project, not just against what's in the `ui` subdir, which means it now catches formatting issues in various JS config files (like `.prettierrc` itself). This commit does not include style _fixes_, which means that it does not pass its own `tools/check-format` script. This is intentional, and is intended to make the Git history a bit easier to reason about; a future commit will include format fixes.
* Rename the project to `pilcrow`.Owen Jacobson2024-11-08
|
* Verify .sqlx files against an empty DB.Owen Jacobson2024-11-03
| | | | For reasons beyond my understanding, the `sqlx prepare` command produces different results for sqlite depending on whether there are or are not rows in certain tables. This ensures that the files are generated consistently with an _empty_ database.
* Run prettier, make lint part of pre-commitOwen Jacobson2024-11-02
|
* Verify node deps during pre-commitOwen Jacobson2024-10-22
|
* Let `cargo` handle building the UI, where possible.Owen Jacobson2024-10-22
| | | | This allows skipping the `target/ui` rebuild if the UI has not changed, which has otherwise been a bit of a source of drag on my development speed.
* Pre-commit needs the UI available, so make it available.Owen Jacobson2024-10-05
|
* Make sure Cargo.lock is not stale on commitOwen Jacobson2024-09-08
|
* Write down dependency for `cargo sqlx prepare --check`.Owen Jacobson2024-09-04
|
* Allow login creation and authentication.Owen Jacobson2024-09-03
This is a beefy change, as it adds a TON of smaller pieces needed to make this all function: * A database migration. * A ton of new crates for things like password validation, timekeeping, and HTML generation. * A first cut at a module structure for routes, templates, repositories. * A family of ID types, for identifying various kinds of domain thing. * AppError, which _doesn't_ implement Error but can be sent to clients.