open-index/open-npm huggingface dataset:
npm package: @stagecentral/plugin-artifactory
Description: Welcome to the Artifactory plugin for Backstage!
Latest version: 0.1.4

# Jfrog Artifactory Plugin for Backstage by StageCentral

Welcome to the Artifactory plugin for Backstage!

The purpose of this plugin is to bring software artifacts forward - where developer can see them.
You can now easily connect your software components and services to their binary artifacts and browse the relevant artifacts directly from your Bacsktage IDP.

## Important - the Backend Plugin

In order to use this plugin please also install the [Artifactory Backend plugin](https://www.npmjs.com/package/@stagecentral/plugin-artifactory-backend)

## Installation

Yarn:
`yarn add @stagecentral/plugin-artifactory`

Npm:
`npm -i @stagecentral/plugin-artifactory`

## Add the 'Artifactory' tab to your entity pages:

In `packages/app/src/components/catalog/EntityPage.tsx`:

```javascript
import { EntityArtifactoryContent } from '@stagecentral/plugin-artifactory';
...

const serviceEntityPage = (
  <EntityLayout>
    
    /* Add the route after other EntityLayout.Route entries */

    <EntityLayout.Route path="/artifactory" title="Artifactory">
      <EntityArtifactoryContent />
    </EntityLayout.Route>

  </EntityLayout>
);
```

## Configuration

Most of the configuration is needed in the correspnding backend plugin.
This plugin only uses the Artifactory URL in order to generate artifact paths in the UI.
In your `app-config.yaml` (or wherever you inject Backstage config from):
```yaml
artifactory:
    url: https://myorg.jfrog.io
```

Note: this is the URL to Jfrog platform. The plugin adds `/artifactory` to this path.
npm package: @stagecentral/plugin-artifactory-backend
Description: Welcome to the Artifactory Backend plugin for Backstage!
Latest version: 0.1.3

# Jfrog Artifactory Plugin for Backstage by StageCentral

Welcome to the Artifactory Backend plugin for Backstage!

The purpose of this plugin is to bring software artifacts forward - where developers can see them.
You can now easily connect your software components and services to their binary artifacts and browse the relevant artifacts directly from your Bacsktage IDP.

## Important - the Frontend Plugin

This plugin was originally created to provide Jfrog API connection for the [Artifactory plugin for Backstage](https://www.npmjs.com/package/@stagecentral/plugin-artifactory) 
But it exposes APIs that can be used by any other Backstage plugin.

## Installation

Yarn:
`yarn add @stagecentral/plugin-artifactory-backend`

Npm:
`npm -i @stagecentral/plugin-artifactory-backend`

## Configuration

In your `app-config.yaml` (or wherever you inject Backstage config from):
```yaml
artifactory:
    # Note: this is the URL to Jfrog platform. The plugin adds `/artifactory` to this path.
    url: https://myorg.jfrog.io
    # The plugin currently uses simple user/passwd auth.
    # API key support will be added later
    user: ${ARTIFACTORY_USER}
    password: ${ARTIFACTORY_PASSWORD}
```

## Integration

### Add to backend:
Create `packages/backend/src/plugins/artifactory.ts`:

```javascript
import { createRouter } from '@stagecentral/plugin-artifactory-backend';
import { Router } from 'express';
import { PluginEnvironment } from '../types';
import { CatalogClient } from '@backstage/catalog-client';

export default async function createPlugin(
  env: PluginEnvironment,
): Promise<Router> {
  const catalogApi = new CatalogClient({ discoveryApi: env.discovery });
  return await createRouter({
    logger: env.logger,
    config: env.config,
    catalogApi,
  }
  );
}
```

In `packages/backend/src/index.ts`:

```javascript
import artifactory from './plugins/artifactory'
...

/* next to other createEnv calls */
const artifactoryEnv = useHotMemoize(module, () => createEnv('artifactory'));

/* next to other apiRouter.use calls */
apiRouter.use('/artifactory', await artifactory(artifactoryEnv));

```
npm package: @stagecentral/plugin-helper-actions-backend
Description: Welcome to the helper-actions backend plugin!
Latest version: 0.1.1

# helper-actions

Welcome to the helper-actions backend plugin!

## What are helper actions?

Helper actions for writing Backstage Scaffolder templates.

- Available actions:
    - `publish:local`: copies the content of the working directory to a locally accessible folder (instead of pushing to a git repo).

- Future actions:
    - `publish:scp`: copies the content of the working directory to remote server by scp.
    - `debug:cat`: prints the content of a workspace file to workflow output