open-index/open-npm huggingface dataset:
npm package: @rakesh_gali/plugin-hello-plugin
Description: A minimal frontend Backstage plugin that displays a `HelloCard` InfoCard.
Latest version: 0.0.1

# Hello Plugin

A minimal frontend Backstage plugin that displays a `HelloCard` InfoCard.

How to use:

- Add the plugin package to your `packages/app` package.json `dependencies` or use a workspace reference.
- Import and register the plugin in your app's plugin registration and routes.

Example import in the app:

```ts
import { plugin as helloPlugin } from '@rakesh_gali/plugin-hello-plugin';
```

If your repository uses Yarn or PNPM workspaces, add a workspace reference from `packages/app` to the plugin package (or use a direct relative import as in this repository). Then rebuild the app.

Example run (from repo root):

```bash
# install deps (yarn or pnpm depending on repo)
yarn install
# build plugin
cd plugins/hello-plugin && yarn build
# start app
cd ../../packages/app && yarn start
```

Publishing to npm
-----------------

Before publishing, update `package.json` fields such as `repository.url` and `version`.

If you want to publish to the public npm registry under an organization scope like `@backstage`, ensure your npm account has permission to publish under that scope. If you don't, choose a different scope (your username or organization) or publish unscoped.

Example publish steps:

```bash
# from the plugin folder
cd plugins/hello-plugin

# ensure build artifacts are present
npm run build

# login to npm (if not already)
npm login

# publish (public access)
npm publish --access public
```

If you plan to publish under `@backstage`, consult the npm organization owners to add you as a maintainer. Alternatively, change the `name` field in `package.json` to `@your-scope/plugin-hello-plugin` or `plugin-hello-plugin`.