Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ in_ci || pm_exec lint-staged --config "$ROOT/lib/configs/lint-staged.config.ts"
# --- BEGIN SAVVY-OKF MANAGED SECTION ---
if ! in_ci && [ -d "$ROOT/okf" ] && [ -x "$ROOT/node_modules/.bin/okfit" ]; then
# Index mode reads concepts from disk, so skip it while okf/ carries untracked or
# unstaged work: a commit must never link a concept it does not contain.
# unstaged work: a commit must never link a concept it does not contain. Log mode
# reads the git index, so it stays on.
if git -C "$ROOT" status --porcelain --untracked-files=all -- okf | grep -q '^.[^ ]'; then
(cd "$ROOT" && pm_exec okfit sync --staged --only generated) || exit 1
(cd "$ROOT" && pm_exec okfit sync --staged --only generated --only log) || exit 1
else
(cd "$ROOT" && pm_exec okfit sync --staged) || exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://biomejs.dev/schemas/2.6.2/schema.json",
"$schema": "https://biomejs.dev/schemas/2.6.3/schema.json",
"extends": ["@savvy-web/silk/biome"]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"types:check": "tsc --noEmit"
},
"devDependencies": {
"@okfit/plugin": "^0.5.23",
"@savvy-web/silk": "^4.4.1",
"@vitest-agent/plugin": "^5.4.9"
"@okfit/plugin": "^0.5.24",
"@savvy-web/silk": "^4.5.1",
"@vitest-agent/plugin": "^5.6.1"
},
"engines": {
"node": ">=24.0.0"
Expand Down
Loading
Loading