dotnet-deps-parser

  • Version 5.2.0
  • Published
  • 47.8 kB
  • 6 dependencies
  • Apache-2.0 license

Install

npm i dotnet-deps-parser
yarn add dotnet-deps-parser
pnpm add dotnet-deps-parser

Overview

Generate a dep tree given a collection of manifests

Index

Functions

function buildDepTreeFromFiles

buildDepTreeFromFiles: (
root: string,
manifestFilePath: string,
includeDev?: boolean,
targetFramework?: string
) => PkgTree | Promise<PkgTree>;

    function buildDepTreeFromPackagesConfig

    buildDepTreeFromPackagesConfig: (
    manifestFileContents: string,
    includeDev?: boolean
    ) => Promise<PkgTree>;

      function buildDepTreeFromProjectAssetsJson

      buildDepTreeFromProjectAssetsJson: (
      manifestFileContents: string,
      targetFramework?: string
      ) => PkgTree;

        function buildDepTreeFromProjectFile

        buildDepTreeFromProjectFile: (
        manifestFileContents: string,
        includeDev?: boolean,
        propsMap?: PropsLookup
        ) => Promise<PkgTree>;

          function buildDepTreeFromProjectJson

          buildDepTreeFromProjectJson: (
          manifestFileContents: string,
          includeDev?: boolean
          ) => PkgTree;

            function containsPackageReference

            containsPackageReference: (manifestFileContents: string) => Promise<boolean>;

              function extractProps

              extractProps: (propsFileContents: string) => Promise<PropsLookup>;

                function extractTargetFrameworksFromFiles

                extractTargetFrameworksFromFiles: (
                root: string,
                manifestFilePath: string,
                includeDev?: boolean
                ) => Promise<string[]>;

                  function extractTargetFrameworksFromProjectAssetsJson

                  extractTargetFrameworksFromProjectAssetsJson: (
                  manifestFileContents: string
                  ) => Promise<string[]>;

                    function extractTargetFrameworksFromProjectConfig

                    extractTargetFrameworksFromProjectConfig: (
                    manifestFileContents: string
                    ) => Promise<string[]>;

                      function extractTargetFrameworksFromProjectFile

                      extractTargetFrameworksFromProjectFile: (
                      manifestFileContents: string
                      ) => Promise<string[]>;

                        function extractTargetFrameworksFromProjectJson

                        extractTargetFrameworksFromProjectJson: (
                        manifestFileContents: string
                        ) => Promise<string[]>;

                          Interfaces

                          interface PkgTree

                          interface PkgTree {}

                            property cyclic

                            cyclic?: boolean;

                              property dependencies

                              dependencies: {
                              [dep: string]: PkgTree;
                              };

                                property dependenciesWithUnknownVersions

                                dependenciesWithUnknownVersions?: string[];

                                  property depType

                                  depType?: DepType;

                                    property hasDevDependencies

                                    hasDevDependencies?: boolean;

                                      property name

                                      name: string;

                                        property targetFrameworks

                                        targetFrameworks?: string[];

                                          property version

                                          version: string;

                                            Enums

                                            enum DepType

                                            enum DepType {
                                            prod = 'prod',
                                            dev = 'dev',
                                            }

                                              member dev

                                              dev = 'dev'

                                                member prod

                                                prod = 'prod'

                                                  Package Files (2)

                                                  Dependencies (6)

                                                  Dev Dependencies (9)

                                                  Peer Dependencies (0)

                                                  No peer dependencies.

                                                  Badge

                                                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/dotnet-deps-parser.

                                                  • Markdown
                                                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/dotnet-deps-parser)
                                                  • HTML
                                                    <a href="https://www.jsdocs.io/package/dotnet-deps-parser"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>