Skip to content
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

Is it possible to use types for libs directory in monorep mode? #665

Open
3 tasks done
welljs opened this issue Sep 24, 2024 · 0 comments
Open
3 tasks done

Is it possible to use types for libs directory in monorep mode? #665

welljs opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@welljs
Copy link

welljs commented Sep 24, 2024

Clear and concise description of the problem

I have monorep project with such structure:

/apps
  /app1
    /i18n
      /en
        http.json
        validation.json
      /ru
        http.json
        validation.json
  /app2
    /i18n
      /en
        http.json
        validation.json
      /ru
        http.json
        validation.json
/libs
  /modules
    /offers
      /i18n
        /en
          some.json
          msgs.json
        /ru
          some.json
          msgs.json
    /orders
      /i18n
        /en
          some.json
          msgs.json
        /ru
          some.json
          msgs.json

    /users
      /i18n
        /en
          some.json
          msgs.json
        /ru
          some.json
          msgs.json

How to use generated types from inside the libs/modules if they are abstract relative to the apps?

Suggested solution

Аn additional file with types suggests itself

Alternative

No response

Additional context

No response

Validations

@welljs welljs added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant