fallow-core 2.40.2

Core analysis engine for the fallow TypeScript/JavaScript codebase analyzer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Turborepo monorepo build system plugin.
//!
//! Detects Turborepo projects and marks turbo.json as always used.

use super::Plugin;

const ENABLERS: &[&str] = &["turbo"];

const ALWAYS_USED: &[&str] = &["turbo.json"];

const TOOLING_DEPENDENCIES: &[&str] = &["turbo"];

define_plugin! {
    struct TurborepoPlugin => "turborepo",
    enablers: ENABLERS,
    always_used: ALWAYS_USED,
    tooling_dependencies: TOOLING_DEPENDENCIES,
}