open-index/open-npm huggingface dataset:
npm package: @phaser-quick/cli
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 1.0.34

# phaser-quick-cli

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build phaser-quick-cli` to build the library.

## Running unit tests

Run `nx test phaser-quick-cli` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @phaser-quick/vite-plugins
Description: <h1>phaser-quick vite plugins</h1>
Latest version: 1.0.15

<h1>phaser-quick vite plugins</h1>

<img src="https://raw.githubusercontent.com/philipgriffin/url-demo/main/logo.png" width="600"/>

<h1>Overview</h1>

A collection of useful vite plugins for Phaser development. Checkout the main [phaser-quick](https://github.com/philipgriffin/phaser-quick) repo for more easy to use packages.

- [1. Build Information](#1-build-information)
  - [1.1. Usage](#11-usage)
    - [1.1.1. Installation](#111-installation)
    - [1.1.2. Example](#112-example)
    - [1.1.3. Output](#113-output)
  - [1.2. Options](#12-options)
    - [1.2.1. outputDir](#121-outputdir)
      - [1.2.1.1. Usage](#1211-usage)
    - [1.2.2. dependencies](#122-dependencies)
      - [1.2.2.1. Usage](#1221-usage)

# 1. Build Information

This plugin provides additional build information in JSON format and exposes this to `dist/assets/version.json`. See below for a sample output.

## 1.1. Usage

### 1.1.1. Installation

```bash
npm i @phaser-quick/vite-plugins
```

### 1.1.2. Example

```typescript
import { getBuildInfo } from '@phaser-quick/vite-plugins';

export default {
  //...
  plugins: [getBuildInfo()]
};
```

### 1.1.3. Output

```jsonc
// dist/assets/version.json
{
  "commit": "47075e6b91b7e4b7be3e8bed94eb00bb0075f68c",
  "buildTimestamp": "2023-10-25T19:17:19.876Z",
  "dependencies": {
    "phaser": "3.60.0",
    "phaser-quick": "0.0.27"
  }
}
```

## 1.2. Options

### 1.2.1. outputDir

Changes the output directory of the version.json file relative to the dist. Default value is `assets/`.

#### 1.2.1.1. Usage

```typescript
export default {
  //...
  plugins: [getBuildInfo({ outputDir: 'assets/info' })]
};

// expected output location: dist/assets/info/version.json
```

### 1.2.2. dependencies

Specifies the dependencies to output. Default value is `['phaser','phaser-quick']`.

#### 1.2.2.1. Usage

```typescript
export default {
  //...
  plugins: [getBuildInfo({ dependencies: 'my-package' })]
};

// expected output:
{
  "commit": "47075e6b91b7e4b7be3e8bed94eb00bb0075f68c",
  "buildTimestamp": "2023-10-25T19:17:19.876Z",
  "dependencies": {
    "my-package": "1.0.0"
  }
}
```