Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@anakz/backstage-plugin-library-check

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anakz/backstage-plugin-library-check

Backstage.io Library Check plugin frontend

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
Maintainers
1
Weekly downloads
 
Created
Source

Library Check Frontend

Welcome to the library-check plugin!

This plugin was created through the Backstage CLI

Setup instructions:

Add the plugin to your frontend app:

cd packages/app && yarn add @anakz/backstage-plugin-library-check

Expose the main plugin page:

// packages/app/src/App.tsx

import { LibraryCheckIndexPage } from '@anakz/backstage-plugin-library-check';

// ...

const AppRoutes = () => (
  <FlatRoutes>
    // ...
    <Route path="/library-check" element={<LibraryCheckIndexPage />} />
    // ...
  </FlatRoutes>
);

Add it to sidebar:

 // packages/app/src/components/Root/Root.tsx

 // ...
 
 <SidebarItem
   icon={ExtensionIcon}
   to="library-check"
   text="Libraries"
 />

 // ...

Expose the entity plugin tab:

// packages/app/src/components/catalog/EntityPage.tsx

import {
  LibraryCheckPage,
  useIsProjectLibrariesAvailable,
} from '@anakz/backstage-plugin-library-check';

// ...

const serviceEntityPage = (
// ...

    <EntityLayout.Route
      path="/library-check"
      title="Libraries"
      if={useIsProjectLibrariesAvailable}
    >
      <LibraryCheckPage />
    </EntityLayout.Route>

// ...    
)

The plugin interface now available if any supported project descriptor file is present.

Keywords

FAQs

Package last updated on 20 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc