This commit is contained in:
parent
637be41a8b
commit
e3e2e2f57c
3 changed files with 60 additions and 0 deletions
11
.fragua/config.yaml
Normal file
11
.fragua/config.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# fragua project config — project-specific knobs only.
|
||||||
|
# Generic preferences live in ~/.fragua/config.yaml.
|
||||||
|
|
||||||
|
# Stable project identity. Committed so every clone shares it and runs
|
||||||
|
# stay attributable across machines — do not change it.
|
||||||
|
id: 01a03577-18d7-7f10-bcee-144a07a22c20
|
||||||
|
name: flotilla
|
||||||
|
tier: fork
|
||||||
|
|
||||||
|
# Uncomment if the project needs a per-worktree bootstrap command:
|
||||||
|
# bootstrap: "bun install --frozen-lockfile"
|
||||||
11
.gitignore
vendored
11
.gitignore
vendored
|
|
@ -81,3 +81,14 @@ CLAUDE.md
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
|
# fragua runtime — never commit these
|
||||||
|
.fragua/runs/
|
||||||
|
.fragua/worktrees/
|
||||||
|
.fragua/blobs/
|
||||||
|
.fragua/fragua.db*
|
||||||
|
.fragua/daemon/
|
||||||
|
|
||||||
|
# fragua — always commit these (negative patterns for clarity)
|
||||||
|
!.fragua/config.yaml
|
||||||
|
!.fragua/workflows/
|
||||||
|
|
|
||||||
38
scripts/checks
Executable file
38
scripts/checks
Executable file
|
|
@ -0,0 +1,38 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
lint () {
|
||||||
|
echo "::group::lint"
|
||||||
|
pnpm lint
|
||||||
|
echo "::endgroup::"
|
||||||
|
}
|
||||||
|
|
||||||
|
check () {
|
||||||
|
echo "::group::typecheck"
|
||||||
|
pnpm check
|
||||||
|
echo "::endgroup::"
|
||||||
|
}
|
||||||
|
|
||||||
|
build () {
|
||||||
|
echo "::group::build"
|
||||||
|
pnpm build
|
||||||
|
echo "::endgroup::"
|
||||||
|
}
|
||||||
|
|
||||||
|
no_local_overrides () {
|
||||||
|
echo "::group::no-local-overrides"
|
||||||
|
# Make sure no "link:" overrides are committed — those break every other clone
|
||||||
|
if grep -q 'link:' package.json pnpm-workspace.yaml 2>/dev/null; then
|
||||||
|
echo "Some packages are linked to local files!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "::endgroup::"
|
||||||
|
}
|
||||||
|
|
||||||
|
steps="${*:-lint check no_local_overrides build}"
|
||||||
|
|
||||||
|
for step in $steps; do
|
||||||
|
"$step"
|
||||||
|
done
|
||||||
Loading…
Reference in a new issue