question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeScript monorepo with Rush.js, with at least one package, leveraging Jest, Plop, Just, Just Scripts.

See original GitHub issue

In documentation, about stacks-monorepo, it says

Just uses the Rush library to manage monorepos.

When I follow the steps, it doesn’t.

Intention

I am willing to make a PR to support this use-case (without breaking the use of Lerna or Beachball). This is to know if there are plans to support such use-case.

Reproduction repo

Use-Case: Have a TypeScript monorepo (ideally with Rush, because it is now my new favourite over Lerna), with at least one item, process to run tests, plop files, and run tests.

See: https://github.com/renoirb/experiments-201908-just-plop-typescript-monorepo-rushjs

Steps:

npm init just
cd monorepo-created
npm run gen
# ...

But I’ve had to change things a bit after that so I could get to to work. (not visible in Git history)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kenotroncommented, Aug 22, 2019

Rush is actually technically superior in that it provides a lot out of the box. Lerna is missing the following:

  1. automated semver via change files (Lerna uses commit messages which is meh)
  2. incremental builds

That said, the change file automated versioning has been filled by another piece of software called beachball. Incremental builds is another matter - just-task has support for this and could be used to help speed things up.

The issue I found with Rush centers around the fact that it doesn’t actually have as big of install base amongst the most popular monorepos out there. We actually have found both to be good solutions, but the purpose of the just-stack-monorepo is to get new users up and running with very familiar tools. We could use a just-stack-rush-monorepo as well to make sure those who want to use Rush has a good starting point as well.

0reactions
github-actions[bot]commented, Mar 8, 2020

Issues seem to have gone stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a scalable front-end with Rush monorepo and React
This is the 1st part of the blog series “Build a scalable front-end with Rush monorepo and React”. Part 1: Monorepo setup, import...
Read more >
Manage Your Monorepo With Rushjs Typescript - kimserey lam
Rush is build orchestrator facilitating management of Javascript and Typescript monorepos. In today's post we will look at the common ...
Read more >
Build a scalable front-end with Rush monorepo and React
Part 1: Monorepo setup, import projects with preserving git history, add Prettier. Part 2: Create build tools package with Webpack and Jest.
Read more >
Making TypeScript monorepos play nice with other tools
The solution revolved around path aliases that let us map package names to their location inside the monorepo. In this follow up post...
Read more >
Awesome Stars - Source for https://arbal.github.io
Recorded data can be played back with the included ttyplay command. ttyrec is just a derivative of script command for recording timing information...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found