open-index/open-npm huggingface dataset:
npm package: @portaldx/plugin-deploy-schedule
Description: List the Deploys scheduled in Cronhooks in a simple way.
Latest version: 2.0.3

![img](https://github.com/madeiramadeirabr/portaldx/blob/feat-cronhooks-plugin/images/banner.svg)

# @portaldx/plugin-deploy-schedule

List the Deploys scheduled in Cronhooks in a simple way.

_This plugin was created through the Backstage CLI_

## Requirements

- [Backstage](https://backstage.io/) Project;
- Node.js v16.14.x

## Use

### app-config.yaml

```yaml
[...]

proxy:
  '/chronhooks':
    target: 'https://api.cronhooks.io/'
    changeOrigin: true
    allowedMethods: [GET, POST, PUT, DELETE]
    allowedHeaders: ['Authorization']
    pathRewrite:
      '^/api/proxy/chronhooks/': '/'
    headers:
      Authorization: ${TOKEN_CRONHOOKS}

[...]
```

### routes.tsx

`packages/app/src/routes.tsx`

```tsx
import { DeploySchedulePage } from '@portaldx/plugin-deploy-schedule'

[...]

const routes = (
  <FlatRoutes>
  [...]
    <Route path="/deploy-schedule" element={<DeploySchedulePage />} />
  </FlatRoutes>
);
```

_Developed with ❤️ by the [MadeiraMadeira](https://github.com/madeiramadeirabr) SRE Team_
npm package: @portaldx/plugin-github-insights
Description: Welcome to the github-insights plugin!
Latest version: 2.0.2

# github-insights

Welcome to the github-insights plugin!

_This plugin was created through the Backstage CLI_

## Getting started

Your plugin has been added to the example app in this repository, meaning you'll be able to access it by running `yarn start` in the root directory, and then navigating to [/github-insights](http://localhost:3000/github-insights).

You can also serve the plugin in isolation by running `yarn start` in the plugin directory.
This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads.
It is only meant for local development, and the setup for it can be found inside the [/dev](./dev) directory.
npm package: @portaldx/plugin-medium-feed
Description: List the feed of a user on Backstage
Latest version: 2.0.2

# @portaldx/plugin-medium-feed

List the feed of a user on Backstage

_This plugin was created through the Backstage CLI_

## Requirements

- [Backstage](https://backstage.io/) Project;
- Node.js v16.14.x

## Use

### On App.tsx:

```tsx
import { MediumFeedProvider } from '@portaldx/plugin-medium-feed'

[...]

export default app.createRoot(
<AppRouter>
  <MediumFeedProvider user="your-user-here">
    [...]
  </MediumFeedProvider>
<AppRouter />
);
```

### On routes.tsx or Root.tsx:

`packages/app/src/routes.tsx`

```tsx
import { MediumFeedPage } from '@portaldx/plugin-medium-feed'

[...]

const routes = (
  <FlatRoutes>
    [...]
    <Route path="/medium" element={<MediumFeedPage />} />
  </FlatRoutes>
);
```

### On HomePage.tsx or any other page:

`packages/app/src/pages/HomePage.tsx`

```tsx
import { MediumFeedHomeWidget } from '@portaldx/plugin-medium-feed';

 [...]

 export const HomePage = () => {

    return (

    [...]
    <Grid item xs={12} md={6}>
        <MediumFeedHomeWidget />
    </Grid>
    );
 };

```

_Developed with ❤️ by the [MadeiraMadeira](https://github.com/madeiramadeirabr) DX Junior Team_
npm package: @portaldx/plugin-mm-components
Description: > Check the documentation in pt-BR by clicking [here](./docs/README_pt-BR.md).
Latest version: 0.2.0

# mm-components
> Check the documentation in pt-BR by clicking [here](./docs/README_pt-BR.md).

Plugin that allows you to customize the layout of the default pages, as well as the customized ones in Spotify's [Backstage](https://backstage.io/).


_This plugin was created through the Backstage CLI_

## Requirements

- [Backstage](https://backstage.io/) Project;
- Node.js v16.14.x

## What can you do?

Restructure the entire layout of the pages, so that those that have SideBar are not harmed.

## Install

```
yarn add @portaldx/plugin-mm-components
```

or

```
npm i @portaldx/plugin-mm-components
```

## Use

In your pages custom:

```diff
+ import { WorkspaceLayout } from '@portaldx/plugin-mm-components'

[...]

+ return (
+     <WorkspaceLayout
+      title="Example Title"
+      subtitle="Example Subtitle."
+      themeId="home"
+      hasSidebar={boolean}
+    >

      [...]

+    </WorkspaceLayout>
+  );
```
_Developed with ❤️ by the [MadeiraMadeira](https://github.com/madeiramadeirabr) DX Team_
npm package: @portaldx/plugin-positive-quotes
Description: Display a random positive quote message from "O Pensador".
Latest version: 2.0.2

# @portaldx/plugin-positive-quotes

Display a random positive quote message from "O Pensador".

_This plugin was created through the Backstage CLI_

## Requirements

- [Backstage](https://backstage.io/) Project;
- Node.js v16.14.x

## Install

```
yarn add @portaldx/plugin-positive-quotes
```

or

```
npm i @portaldx/plugin-positive-quotes
```

## Use

### app-config.yaml

```yaml
[...]

proxy:
  '/positive-quotes':
    target: 'https://quotes-br.herokuapp.com/api/'
    changeOrigin: true
    allowedMethods: [GET, POST]
    pathRewrite:
      '^/api/proxy/positive-quotes/': '/'

[...]
```

### routes.tsx

`packages/app/src/routes.tsx`

```tsx
import { PositiveQuotesPage } from '@portaldx/plugin-positive-quotes';
// ...

const routes = (
  <FlatRoutes>
    // ...
    <Route path="/positive-quotes" element={<PositiveQuotesPage />} />
  </FlatRoutes>
);
```

### Import the component where you want to use it:

`src/components/common/WelcomeHeader/WelcomeHeader.tsx`

```tsx
import { PositiveQuoteText } from '@portaldx/plugin-positive-quotes';

// ...

const routes = (
  <>
    // ...
    <PositiveQuoteText />
  </>
);
```

_Developed with ❤️ by the [MadeiraMadeira](https://github.com/madeiramadeirabr) DX Team_
npm package: @portaldx/plugin-rollback-application
Description: Imagine you have an application that takes 20 minutes to deploy and you need to make an URGENT fix, waiting that time wouldn't be a good idea.
Latest version: 0.1.3

# @portaldx/plugin-rollback-application

Imagine you have an application that takes 20 minutes to deploy and you need to make an URGENT fix, waiting that time wouldn't be a good idea.

This plugin was developed to simplify the process of rolling back your ECS application. By using it, you can easily revert to a previous version of your taskDefinition in case of errors or problems with the current version, bypassing the deploy phase. Additionally, it also allows you to view and compare the differences between versions before performing the rollback. All of this with just a few clicks!

_This plugin was created through the Backstage CLI_

## Requirements

- [Backstage](https://backstage.io/) Project;
- Node.js v16.14.x
- AWS Credentials with permissions to read and alter taskDefinitions

## Use

### app-config.yaml

```yaml
[...]
rollbackApplication:
  accessKeyId: {{ ACCESS_KEY_ID }}
  accessSecretKey: {{ SECRET_ACCESS_KEY_ID }}
  region: {{ AWS_REGION }}
[...]
```

### catalog-info.yaml

_This file is located at the root of each of your remote repositories. The plugin will only work with the settings as described_

```yaml
[...]
metadata:
  [...]
  annotations:
    [...]
    aws.amazon.com/service: name-you-application-aws-staging
    aws.amazon.com/cluster: your-application-cluster
[...]
```

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

```diff
+ import { RollbackApplicationComponent, isRollbackAvaliable } from '@portaldx/plugin-rollback-application';

[...]

const serviceEntityPage = (
  <EntityLayout>
+   <EntityLayout.Route if={isRollbackAvaliable} path="/rollback" title="Rollback">
+      <RollbackApplicationComponent />
+    </EntityLayout.Route>
  </EntityLayout>
); 
```

_Developed with ❤️ by the [MadeiraMadeira](https://github.com/madeiramadeirabr) SRE Team_