scripts/README.md
Utility scripts for OpenSpec maintenance and development.
Updates flake.nix pnpm dependency hash automatically.
When to use: After updating dependencies (pnpm install, pnpm update).
Usage:
./scripts/update-flake.sh
What it does:
package.json (dynamically used by flake.nix)flake.nixExample workflow:
# After dependency updates
pnpm install
./scripts/update-flake.sh
git add flake.nix
git commit -m "chore: update flake.nix dependency hash"
Post-installation script that runs after package installation.
Validates package version consistency before publishing.