Packages
A CI/CD tool for checking dependency license compatibility in Elixir projects. Reads license information from local hex metadata files and validates compatibility with your project's license using industry-standard rules.
Current section
Files
Jump to
Current section
Files
lib/depscheck/types.ex
defmodule Depscheck.Types do
@moduledoc """
Type definitions for Depscheck.
"""
@type license_category ::
:permissive | :weak_copyleft | :strong_copyleft | :proprietary | :unknown
@type dependency :: %{
name: String.t(),
licenses: [String.t()]
}
@type check_result :: %{
status: :pass | :fail,
project_license: String.t() | nil,
dependencies: [dependency()],
violations: [String.t()],
warnings: [String.t()]
}
@type config :: %{
ignored_packages: [String.t()],
project_license: String.t() | nil
}
end