Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[NEED HELP] Need help to configure Lerna correctly using rollup/ts in dev mode

Open Darginec05 opened this issue 1 year ago • 3 comments

Is this a unique feature?

  • [X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

So, Yoopta monorepo uses Lerna, Yarn workspaces and rollup for building Current structure:

  • packages
    • /core
      • /editor - core package
    • /plugins - plugins
    • /marks - marks
    • /development - here is development of yoopta packages. If you will check /development/package.json you will see that every package have " * " version
  • web/next-example - here is all examples

So, problems:

  • I want to move development from packages/development to web/next-example
  • When we run "yarn dev" from the root of project it run compiling for all packages. It takes a lot of resources and development becomes impossible. That's why I use --scope <packagename> every time in start script

Proposed Solution

Need HELP

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

Darginec05 avatar Sep 27 '24 16:09 Darginec05

Let's build it mate 👍 looking into this

maZahaca avatar Sep 28 '24 07:09 maZahaca

I want to move development from packages/development to web/next-example

What prevents you from doing this now?

maZahaca avatar Sep 28 '24 07:09 maZahaca

related to https://github.com/Darginec05/Yoopta-Editor/issues/244

Darginec05 avatar Sep 28 '24 19:09 Darginec05