fynjs API
    Preparing search index...

    Function outOfScopePackages

    • Package names that fall OUTSIDE the given scopes, i.e. the ones --scope should exclude.

      An unscoped package is never in any scope, so it is always excluded once --scope is given. Scopes may be written with or without the leading @.

      Shared by both selection paths so they cannot disagree: makePkgDeps (used by prepare) and the dep-graph path (used by bootstrap, local and run). --scope used to be applied only in the former, so the three commands that actually advertise it silently ignored it. See FPO-37.

      Parameters

      • scopes: unknown

        the requested scopes

      • names: string[]

        all known package names

      Returns string[]

      names to exclude; empty when no scope was requested