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

Monorepo with multiple bs projects #71

Closed
Coobaha opened this issue Jun 30, 2018 · 6 comments
Closed

Monorepo with multiple bs projects #71

Coobaha opened this issue Jun 30, 2018 · 6 comments

Comments

@Coobaha
Copy link
Contributor

Coobaha commented Jun 30, 2018

plugin version:
0.57

Description

This is an enhancement request :)
At the moment having one mono-repository opened in IntelliJ with multiple Bucklescript projects won't work. I am not sure if it worth to support but would be nice to have at some point?

@Coobaha
Copy link
Contributor Author

Coobaha commented Jul 1, 2018

Alternative use case: when Project structure is configured to have multiple content roots

@giraud
Copy link
Owner

giraud commented Jul 2, 2018

I have this problem myself :), and it might be a common use case.
I don't understand the alternative use case

@Coobaha
Copy link
Contributor Author

Coobaha commented Jul 2, 2018

I don't understand the alternative use case

It is possible to configure multiple project roots (not only nested folders in one project) in File -> Project Structure -> Modules.

@giraud
Copy link
Owner

giraud commented Jul 18, 2018

are we talking about this structure ?

  root
  |__ /packages
       |__ /moduleA
       |    |__ bsconfig.json
       |    |__ /lib/js
       |    |__ /src
       |__ /moduleB
            |__ bsconfig.json
            |__ /lib/js
            |__ /src

@Coobaha
Copy link
Contributor Author

Coobaha commented Jul 18, 2018

yes but ./root/packages is not mandatory and it can be just:

    root
       |__ /moduleA
       |    |__ bsconfig.json
       |    |__ /lib/js
       |    |__ /src
       |__ /moduleB
            |__ bsconfig.json
            |__ /lib/js
            |__ /src

@giraud
Copy link
Owner

giraud commented Jul 19, 2018

fixed in v0.59

@giraud giraud closed this as completed Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants