Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Getting only the json output #15

Description

@sdzaveri

Hello! I'm running the dependency report with the following command:
dependency-report '../applications/**/*.tsx' --packages=@opengov/component-library/capital --parser=typescript >> capital.json

But the file ends up with all of the additional output (like below) on top and I have to manually delete it. Is there a way to run without exporting this to the file as well?

these are the packages [ { name: '@opengov/compose-app/immutable',
    exportNames: [ 'List' ] },
  { name: '../contextMenus/components/ContextMenu',
    exportNames: [ 'IContextMenu' ] },
  { name: '../contextMenus/types',
    exportNames: [ 'IContextMenuMetadata' ] },
  { name: '../layout/DefaultPageLayout',
    exportNames: [ 'IDefaultPageLayoutProps' ] },
  { name: '../modals/types', exportNames: [ 'IModalMetadata' ] },
  { name: '../navigation', exportNames: [ 'INavigationProps' ] },
  { name: '../types', exportNames: [ 'ISession' ] } ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions