-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add --config (path) flag to CLI to support monorepos #919
Comments
@inlang/team Let's discuss this |
Duplicate of #258. IMO not important because @NiklasBuchfink PR contains a mistake, see LAION-AI/Open-Assistant#3393 (comment). Should we close this for #258? |
Counter Proposal - Adding a --config flag to the CLIThe issue stems from the fact that the CLI might be installed in a path. |
Same here: tournesol-app/tournesol#1610 |
Done by c67535d |
@inlang/team 🎉 The CLI now has a Usagenpx inlang lint --config path/to/inlang.config.js More info in the documentation. |
Problem
Monorepos sometimes want to avoid introducing new dependencies inside of the root directory.
See: LAION-AI/Open-Assistant#3393 (comment)
Proposal
To solve this problem relatively quickly, we can support only one
inlang.config.js
, find the subdirectory where it is located, and keep the required co-location ofinlang.config.js
and CLI. The challenge here is that this should work for all inlang apps.Further information
At some point, monorepos will also request support for multiple applications.
The text was updated successfully, but these errors were encountered: