# `VulnCheck.Types.Workspace`
[🔗](https://github.com/Voskan/vulncheck/blob/v1.0.1/lib/vulncheck/types/package.ex#L55)

The fully resolved project under audit: project type, target runtime,
locked packages with their scopes and the compiled artifact locations.

# `project_type`

```elixir
@type project_type() :: :mix | :umbrella | :rebar3 | :gleam
```

# `t`

```elixir
@type t() :: %VulnCheck.Types.Workspace{
  artifact_issues: [{String.t() | nil, String.t()}],
  build_dir: String.t() | nil,
  build_env: String.t() | nil,
  configured_adapters: %{required(atom()) =&gt; [String.t()]},
  consolidated_dirs: [String.t()],
  direct_deps: [String.t()],
  elixir_version: String.t() | nil,
  env: :prod | :dev | :test,
  lockfile: String.t() | nil,
  otp_release: String.t(),
  packages: %{required(String.t()) =&gt; VulnCheck.Types.Package.t()},
  project_name: String.t(),
  project_type: project_type(),
  project_version: String.t() | nil,
  root_apps: [String.t()],
  root_dir: String.t(),
  root_ebin_dirs: [String.t()],
  warnings: [String.t()]
}
```

# `non_prod_packages`

```elixir
@spec non_prod_packages(t()) :: [VulnCheck.Types.Package.t()]
```

Returns the packages that are excluded from the production closure
(development, test and build-time only dependencies).

# `prod_packages`

```elixir
@spec prod_packages(t()) :: [VulnCheck.Types.Package.t()]
```

Returns the packages that belong to the production closure.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
