Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Run in pararel on remote repositories #7

Open
wtrocki opened this issue Sep 22, 2021 · 3 comments
Open

Run in pararel on remote repositories #7

wtrocki opened this issue Sep 22, 2021 · 3 comments

Comments

@wtrocki
Copy link
Collaborator

wtrocki commented Sep 22, 2021

We have all remote repositories in modules folder right now. Those will have separate node_modules installed at the time of setup.

We can add:

  1. workspaces configuration (it will affect how modules are fetched which we probably do not want)
  2. Use parallel runner like https://www.npmjs.com/package/run-in-all

Second option seems more appropriate to run set of UI's together, however, to do that we need to unify how we run projects in the dev. kas-ui, kafka-ui have different scripts to start in dev mode thus it is not possible to issue same script on those etc.

WDYT?

Alternatively we can have script that allow us to define dev profiles in package.json (list of projects that will be started in dev mode etc.

@wtrocki
Copy link
Collaborator Author

wtrocki commented Sep 22, 2021

FYI @pmuir @riccardo-forina

@pmuir
Copy link
Collaborator

pmuir commented Sep 22, 2021

Yeah, I don't think we are ready to align all the dependencies for the projects.

The issue is that start:dev doesn't work on kas-ui for running federated because of ports. What about just using https://github.com/mysticatea/npm-run-all as then you can specify each module separately.

Or add a new target to each project like run:federate that is just a link to start:dev?

@wtrocki
Copy link
Collaborator Author

wtrocki commented Sep 22, 2021

All ideas sound awesome to me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants