jsverse/transloco-keys-manager

Feature: scan arbitrary folders

charmbv opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe

We use an Angular monorepo with several projects and these all work fine. We also have some non-building libraries that are made available to each project using simple imports. When I want to scan any of these libraries I always get an Input path provided doesn't exist! error. I'm using the following command:

./node_modules/.bin/transloco-keys-manager extract -i projects/ui-lib/src/lib/ -o projects/ui-lib/src/assets/i18n/

Note that these libraries have no project entry in angular.json.

Describe the solution you'd like

I want the ability to scan the given input directory for keys and save them at the given output location.

Describe alternatives you've considered

None.

Additional context

@ngneat/transloco-keys-manager: v3.7.0

See also this question on StackOverflow: https://stackoverflow.com/questions/76108437/handle-angular-monorepo-with-transloco

I would like to make a pull request for this feature

No