open-index/open-npm huggingface dataset:
npm package: @nx-extend/gcp-task-runner
Description: <a href="https://www.npmjs.com/package/@nx-extend/gcp-task-runner" rel="nofollow">   <img src="https://badgen.net/npm/v/@nx-extend/gcp-task-runner" alt="@nx-extend/gcp-task-runner NPM package"> </a>
Latest version: 10.1.0

# @nx-extend/gcp-task-runner

<a href="https://www.npmjs.com/package/@nx-extend/gcp-task-runner" rel="nofollow">
  <img src="https://badgen.net/npm/v/@nx-extend/gcp-task-runner" alt="@nx-extend/gcp-task-runner NPM package">
</a>

**Nx plugin to use [Cloud Storage](https://cloud.google.com/storage) as remote cache**.

## Features

- Use Google Cloud Storage as Nx remote cache
- Automatic authentication via Google Cloud credentials
- Compatible with Nx's caching infrastructure
- Drop-in replacement for default Nx cache

## Setup

### Prerequisites

- Google Cloud project with Cloud Storage enabled
- Google Cloud credentials configured

### Install

```sh
npm install -D @nx/gcs-cache@npm:@nx-extend/gcp-task-runner@<latest version>
```

## Usage

### Enable task runner

Update your `nx.json` with the following:

```json
{
  "gcs": {
    "bucket": "your-bucket"
  }
}
```

### Authenticate

The task runner uses `@google-cloud/storage` which in turn is capable of using the env variable `GOOGLE_APPLICATION_CREDENTIALS`.

Set this environment variable to point to your service account key file:

```sh
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
```

## Available Options

| Name         | Type     | Default | Description                                    |
|--------------|----------|---------|------------------------------------------------|
| **`bucket`** | `string` | -       | Name of the Google Cloud Storage bucket to use |
npm package: @nx-extend/github-pages
Description: <a href="https://www.npmjs.com/package/@nx-extend/github-pages" rel="nofollow">   <img src="https://badgen.net/npm/v/@nx-extend/github-pages" alt="@nx-extend/github-pages NPM package"> </a>
Latest version: 11.1.0

# @nx-extend/github-pages

<a href="https://www.npmjs.com/package/@nx-extend/github-pages" rel="nofollow">
  <img src="https://badgen.net/npm/v/@nx-extend/github-pages" alt="@nx-extend/github-pages NPM package">
</a>

**Nx plugin to deploy your app to [GitHub Pages](https://pages.github.com/)**.

## Features

- Deploy static sites to GitHub Pages
- Automatic deployment from build output
- Configurable target branch
- Integration with GitHub Actions

## Setup

### Prerequisites

- GitHub repository with Pages enabled
- `GH_PAGES_ACCESS_TOKEN` environment variable set with a GitHub Personal Access Token
- A build target configured in your project

### Install

```sh
npm install -D @nx-extend/github-pages
```

## Usage

### Configure Deploy Target

Add the deploy target to your `project.json`:

```json
{
  "targets": {
    "build": {
      "executor": "@nx/web:webpack",
      "options": {
        "outputPath": "dist/apps/my-app"
      }
    },
    "deploy": {
      "executor": "@nx-extend/github-pages:deploy",
      "options": {
        "branch": "gh-pages"
      }
    }
  }
}
```

### Deploy

```sh
nx deploy my-app
```

### Environment Variables

Set the following environment variable before deploying:

```sh
export GH_PAGES_ACCESS_TOKEN="your-github-token"
```

## Available Options

| Name         | Type     | Default      | Description                                          |
|--------------|----------|--------------|------------------------------------------------------|
| **`branch`** | `string` | `"gh-pages"` | The branch to deploy to (typically `gh-pages`)       |

## Notes

- The executor automatically reads the `outputPath` from your build target configuration
- Make sure your build target runs before deploying
- The GitHub token needs repository write permissions