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
In dep-check-> cli() function accepts the parameter --vigilant. This param takes a string, where the first one is considered as reactNativeDevVersion & rest of them are considered as reactNativeVersion fields in reference to the dep-check package-level config.
In align-deps, the --requirements field is the replacement of the --vigilant param. But how do we pass the requirements into cli() function or --requirements flag which will be used for/as production & development fields in align-deps package-level config.
When using the align-deps in monorepo, and running the tool using cli() funciton or using --requirements flag in yarn rnx-align-deps , I dont have any possible way to pass the "production" requirements which will align "peerDependencies" section of package.json(s). Having package-level configurations is not so feasible in our case as the number of packages is very high in number.
It would be really nice to have the ability to pass the requirements with "production" & "development" fields or a way to do it.
Affected Package
@rnx-kit/align-deps
Version
2.0.3
Steps to Reproduce
Run the yarn rnx-align-deps --requirements [email protected] --presets "path-to-my-preset` in a monorepo. this will only align the dependencies in the dependencies & dev dependencies section. peer dependencies are not aligned.
The text was updated successfully, but these errors were encountered:
In dep-check-> cli() function accepts the parameter
--vigilant
. This param takes a string, where the first one is considered asreactNativeDevVersion
& rest of them are considered asreactNativeVersion
fields in reference to the dep-check package-level config.In align-deps, the
--requirements
field is the replacement of the--vigilant
param. But how do we pass the requirements into cli() function or --requirements flag which will be used for/asproduction
&development
fields in align-deps package-level config.When using the align-deps in monorepo, and running the tool using cli() funciton or using
--requirements
flag inyarn rnx-align-deps
, I dont have any possible way to pass the "production" requirements which will align "peerDependencies" section of package.json(s). Having package-level configurations is not so feasible in our case as the number of packages is very high in number.It would be really nice to have the ability to pass the requirements with "production" & "development" fields or a way to do it.
Affected Package
@rnx-kit/align-deps
Version
2.0.3
Steps to Reproduce
Run the yarn rnx-align-deps --requirements [email protected] --presets "path-to-my-preset` in a monorepo. this will only align the dependencies in the dependencies & dev dependencies section. peer dependencies are not aligned.
The text was updated successfully, but these errors were encountered: