open-index/open-npm huggingface dataset:
npm package: @jinixx/vite-plugin-git-revision
Description: Vite plugin that generates VERSION and COMMITHASH files during build based on a local git repository.
Author: Jin
Latest version: 0.1.15

# @jinixx/vite-plugin-git-revision

[![npm version](https://badgen.net/npm/v/@jinixx/vite-plugin-git-revision)](https://www.npmjs.com/package/@jinixx/vite-plugin-git-revision)
[![monthly downloads](https://badgen.net/npm/dm/@jinixx/vite-plugin-git-revision)](https://www.npmjs.com/package/@jinixx/vite-plugin-git-revision)

> Git version info for applications using [Vite](https://github.com/vitejs/vite)
>
> Forked from https://github.com/qduld/vite-plugin-git-revision to fix a few issues.

## Getting Started

Install:

```bash
npm install -D @jinixx/vite-plugin-git-revision
```

Add to your `vite.config.js`:

```js
import GitRevision from 'vite-plugin-git-revision';

export default {
  plugins: [
    GitRevision()
  ],
};
```

## Configuration

To use custom configuration, pass your options to Pages when instantiating the plugin:

```js
// vite.config.js
import GitRevision from 'vite-plugin-git-revision';

export default {
  plugins: [
    GitRevision({
      lightweightTags: false,
      branch: false,
      // default, remove prop if not needed, do not set to empty
      commithashCommand: 'rev-parse HEAD',
      // default versionCommand was `describe --always`
      versionCommand: 'describe --tags --long --dirty --always',
      // default, remove prop if not needed, do not set to empty
      branchCommand: 'rev-parse --abbrev-ref HEAD',
      // change the default git command used to read the DATE and TIME of the commit
      datetimeCommand: 'log -1 --date=format:"%Y-%m-%d %H:%M" --pretty=format:'%ad'',
    }),
  ],
};
```

### lightweightTags

- **Type:** `boolean`
- **Default:** `false`

lightweight tags support.

### branch

- **Type:** `boolean`
- **Default:** `false`

branch tags support.

### versionCommand

- **Type:** `string`
- **Default:** `describe --always`

change the default git command used to read the value of VERSION.

### commithashCommand

- **Type:** `string`
- **Default:** `rev-parse HEAD`

change the default git command used to read the value of COMMITHASH.

### branchCommand

- **Type:** `string`
- **Default:** `rev-parse --abbrev-ref HEAD`

change the default git command used to read the value of BRANCH.

### datetimeCommand

- **Type:** `string`
- **Default:** `log -1 --date=format:"%Y-%m-%d %H:%M" --pretty=format:'%ad'`

change the default git command used to read the date and time of the commit.

## Accessing the values

```js
// Anywhere in your application code
console.log(GITVERSION);
console.log(GITCOMMITDATETIME);
```

## License

MIT
npm package: @jinja-lsp/functions-win32-x64-msvc
Description: Bindings for jinja-lsp
Latest version: 0.0.22

# `@jinja-lsp/functions-win32-x86_64-pc-windows-msvc`

This is the **win32-x86_64-pc-windows-msvc** binary for `@jinja-lsp/functions`