enact icon indicating copy to clipboard operation
enact copied to clipboard

WRQ-26798: Remove Lerna and refine run scripts

Open 0x64 opened this issue 8 months ago • 1 comments

Checklist

  • [x] I have read and understand the contribution guide
  • [ ] A CHANGELOG entry is included
  • [ ] At least one test case is included for this feature or bug fix
  • [x] Documentation was added or is not needed
  • [ ] This is an API breaking change

Issue Resolved / Feature Added

After #3166, 'npm run bootstrap' does not link internal packages automatically.

Resolution

As we use npm higher than 7 now, we can use npm workspaces.

  • Updated our monorepo to use npm workspaces
  • Removed Lerna as we do not use any complex function of Lerna
  • Made 'npm install' to make an internal link also
  • Made 'npm run clean' to remove 'node_modules' of the root path also
  • Removed 'npm run publish' as we don't use it anymore
  • But, kept the existing run scripts rather than removing them for any scripts
  • Updated a related document

Additional Considerations

Links

WRQ-26798

Comments

Enact-DCO-1.0-Signed-off-by: Seungcheon Baek ([email protected])

0x64 avatar Jun 27 '24 05:06 0x64