You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to have the capability to synchronize more fields than just dependencies or to specify values for certain fields.
For example, in a mono-repo, I want to maintain consistency in the author field. Ideally, updating this field once should automatically sync the change across all packages.
Another use case could involve ensuring that every package.json includes a defined set of scripts, with the desired outcome being that these specific scripts are synchronized, while any additional scripts in each file remain unaffected.
Suggested Solution
One potential approach to address this could be implemented in the .syncpackrc file:
{
"templateFields": [
"author": "Cool Dev Person <cool.dev.email@company.net>",
"scripts": [
"build": "tsc",
"do:something": "something --makeItCool"
]
],
}
The text was updated successfully, but these errors were encountered:
Description
It would be helpful to have the capability to synchronize more fields than just dependencies or to specify values for certain fields.
For example, in a mono-repo, I want to maintain consistency in the author field. Ideally, updating this field once should automatically sync the change across all packages.
Another use case could involve ensuring that every package.json includes a defined set of scripts, with the desired outcome being that these specific scripts are synchronized, while any additional scripts in each file remain unaffected.
Suggested Solution
One potential approach to address this could be implemented in the .syncpackrc file:
The text was updated successfully, but these errors were encountered: