This repository is a Node.js package named @jooservices/node-formrequest.
- Inspect source before editing; do not assume docs or previous implementation are correct.
- Keep FormRequest class-based and Laravel-inspired, not Laravel-compatible.
rules()returns a Zod schema and validation usesparseAsync.- Keep the core framework-neutral.
- Keep the optional adapter targeted to Express 4.x.
- Keep business logic outside FormRequest.
- Update tests and docs with behavior changes.
- Do not weaken the 100% coverage gate.
- Follow the approved
masteranddevelopGit flow.
npm run lintnpm run typechecknpm run test:coveragenpm run buildnpm pack --dry-run
- No Laravel string rule parser.
- No database-backed validation rules in the base package.
- No service container.
- No persistence or business workflows.
- No Express import in the core FormRequest class.
- Do not document unimplemented behavior.
- Feature PRs into
developdo not bumppackage.json. - Version bumps happen only in
release/<version>branches. - The initial public release is
0.1.0.
master: stable release branch only.develop: integration branch.feature/*: branch from latestdevelopand PR back intodevelop.release/<version>: branch from latestdevelopand PR intomaster.- Tags are created from
masteronly.