turborepo
8856b3be - feat: allow usage of `turbo` without turbo.json (#9149)

Commit
1 year ago
feat: allow usage of `turbo` without turbo.json (#9149) ### Description This PR adds the ability to use `turbo` in a monorepo that doesn't have a `turbo.json`. This feature is currently gated behind `--experimental-allow-no-turbo-json`/`TURBO_ALLOW_NO_TURBO_JSON`. A majority of the PR is refactoring the `EngineBuilder` so that it no longer directly loads `TurboJson`s, but delegates to a `TurboJsonLoader`. This allows us to use different strategies for resolving `TurboJson` loads depending on runtime options e.g. single package mode or task access. Reviewing this PR is best done by viewing each commit individually. ### Testing Instructions Unit testing for `turbo.json` loading changes. Integration test for verifying the new loader is activated with the new env var/flag.
Parents
Loading