Skip to content

How to create a monorepo? #1043

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

Open
nojaf opened this issue May 21, 2025 · 0 comments
Open

How to create a monorepo? #1043

nojaf opened this issue May 21, 2025 · 0 comments

Comments

@nojaf
Copy link
Contributor

nojaf commented May 21, 2025

Rewatch opens the door to use monorepos.
But what are the ReScript specific bits to make this work?

I'm happy to contribute a section on this, but I don't quite grasp the execution yet.

@jfrolich or @Bushuo could you give me some steps?

Do I install ReScript in the top-level package.json?
Do I have a top-level rescript.json?

Do I add stuff like this in the top-level rescript.json?

  "package-specs": {
    "module": "esmodule",
    "in-source": true
  },
  "suffix": ".res.mjs",

will the packages inherit this?

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

No branches or pull requests

1 participant