This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Description
Hello, thanks for the library.
We are currently using it in a monorepo to ensure that the same script is run in all packages.
The one thing I would like to improve is to have a single point of configuration within the monorepo. To be more specific, we have the following configuration in every single package.json:
"config": {
"scripty": {
"path": "../../scripts",
}
}
A quite straight forward solution that comes to my mind is to use cosmiconfig that could easily find e.g. .scriptyrc.js in root of the monorepo in order to load the configuration. I think it might be a pretty simple PR.
What do you think? Is it a viable option? Or is there a workaround I haven't found?