Skip to content
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

feat(cli): generate turborepo tooling if requested by user #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Yuval-Peled
Copy link

@Yuval-Peled Yuval-Peled commented Jul 6, 2022

  • Added new cli/interactive flag --monorepo-tool which currently supports either: no value, "turborepo"
  • If the flag's value is "turborepo", the example repo will be generated with basic npm workspace + turborepo configuration (removed Lerna config)
  • The configuration contains a turborepo pipeline for "build" and "test" commands
  • Also added sourcemaps for CLI code for easier debugging

closes #80

Open issues before merging:

  • Requires testing for all flag values: correct codegen, basic commands work after generation (install, build, test)
  • For some reason, after codegen the first "npm install" fails, but after the 1st one's faliure - everything works correctly

- Added new cli/interactive flag --monorepo-tool which currently supports either: no value, "turborepo"
- If the flag's value is "turborepo", the example repo will be generated with basic npm workspace + turborepo configuration
- The configuration contains a turborepo pipeline for "build" and "test" commands
- Also added sourcemaps for CLI code for easier debugging

closes practicajs#80
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

Successfully merging this pull request may close these issues.

Which is the right Monorepo tool?
1 participant