Support hooks
Open
feat
RFC
- Dominant language
- TypeScript
- Stars
- 75
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
## Proposal
Add hooks for run process for each files, example:
```json
{
"hooks": {
"afterOneFileWrite": ["prettier --write"]
}
}
```
### Hooks
* beforeAllFileWrite
* beforeOneFileWrite
* afterOneFileWrite
* afterAllFileWrite
Contributor guide
Research direction
The proposal defines four hook points—beforeAllFileWrite, beforeOneFileWrite, afterOneFileWrite, and afterAllFileWrite—and shows a hooks configuration with a command. Start by locating the file-writing pipeline and configuration entry point, then determine how each command should be run and what completion means for every lifecycle stage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100