open-index/open-npm huggingface dataset:
npm package: @helloliang/vite-plugin-version-json
Description: Vite plugin to generate version.json with Git info and build time
Latest version: 1.0.3

# vite-plugin-version-json

Vite 插件，用于在构建时生成包含 Git 信息和构建时间的 version.json 文件。

## 功能

- 自动获取当前 Git 分支信息
- 获取最新 commit 的短哈希值
- 获取最近的 Git 标签（tag）
- 提取仓库地址
- 记录构建时间
- 自定义输出文件路径

## 安装

```bash
npm install @helloliang/vite-plugin-version-json --save-dev
# 或
pnpm add @helloliang/vite-plugin-version-json -D
```

## 使用

```
import { defineConfig } from 'vite';
import versionJson from 'vite-plugin-version-json';

export default defineConfig({
plugins: [
// 默认配置
versionJson(),

    // 自定义配置示例
    // versionJson({
    //   outputPath: 'assets/version.json'
    // })
]
});
```
npm package: @hellolin-eslint/config
Description: Opinionated ESLint config for frontend developers.
Author: hellolin
Latest version: 5.0.2

[![NPM Version](https://img.shields.io/npm/v/%40hellolin-eslint%2Fconfig?style=flat-square)](https://npmjs.com/package/@hellolin-eslint/config)
[![GitHub Action](https://img.shields.io/github/actions/workflow/status/VLTHellolin/eslint-config/release.yaml?style=flat-square)](https://github.com/VLTHellolin/eslint-config/actions/workflows/release.yaml)

Opinionated ESLint config for frontend developers.

- 1 line of code === a pack of powerful rules that applies best practices and uses beautiful styles.
- Compose with your config easily using [ESLint flat config](https://eslint.org/docs/latest/use/configure/configuration-files).
- Designed to work smoothly with TypeScript, Node.js, Markdown, JSON, YAML, etc.
- Optionally load modules such as [React](https://react.dev/), [Next.js](https://nextjs.org/), [UnoCSS](https://unocss.dev/), [Storybook](https://storybook.js.org/), etc.
- Format your source code comfortably using [ESLint Stylistic](https://eslint.style/).

For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/node-config
Description: Node config for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.0-beta.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Node config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/plugin
Description: Plugin for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

Plugin for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/react-compiler-config
Description: React Compiler config for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

React Compiler config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/react-config
Description: React config for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

React config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/rollup-config
Description: Universal Rollup config for hellolin-eslint projects
Author: hellolin
Latest version: 4.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Universal Rollup config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config) packages.

For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/shared
Description: Shared internals for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

Shared internals for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/storybook-config
Description: Storybook config for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

Storybook config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin-eslint/unocss-config
Description: UnoCSS config for @hellolin-eslint/config
Author: hellolin
Latest version: 5.0.2

UnoCSS config for [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

It isn't designed to be used without the main package. For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolin/eslint-config
Description: [Use @hellolin-eslint/config instead] Opinionated ESLint config for frontend developers.
Author: hellolin
Latest version: 5.0.2

Please note that the main package of [VLTHellolin/eslint-config](https://github.com/VLTHellolin/eslint-config) has been moved to [`@hellolin-eslint/config`](https://www.npmjs.com/package/@hellolin-eslint/config).

Currently, [`@hellolin/eslint-config`](https://www.npmjs.com/package/@hellolin/eslint-config) is kept for backward compatibility (i.e. an alias for the new package), but may be removed in the future.

---

[![NPM Version](https://img.shields.io/npm/v/%40hellolin%2Feslint-config?style=flat-square)](https://npmjs.com/package/@hellolin-eslint/config)
[![GitHub Action](https://img.shields.io/github/actions/workflow/status/VLTHellolin/eslint-config/release.yaml?style=flat-square)](https://github.com/VLTHellolin/eslint-config/actions/workflows/release.yaml)

Opinionated personal ESLint config for frontend developers.

- Compose with your config easily with the help of [ESLint flat config](https://eslint.org/docs/latest/use/configure/configuration-files).
- [React](https://react.dev/), [Next.js](https://nextjs.org/), [UnoCSS](https://unocss.dev/) and [Storybook](https://storybook.js.org/) support by plugins.
- Format your source code comfortably using [ESLint Stylistic](https://eslint.style/) and [eslint-plugin-format](https://github.com/antfu/eslint-plugin-format).
- Best practices included, simple usage for everyone.

For more information, see [GitHub Repo](https://github.com/VLTHellolin/eslint-config).
npm package: @hellolitebox/commit-prompt
Description: Litebox commitizen adapter using the commitlint.config.js. This is a fork of @commitlint/cz-commitlint
Author: Litebox
Latest version: 1.1.1

> Commitizen adapter using the commitlint.config.js

# @hellolitebox/commit-prompt

This is a commitizen adapter, using this adapter, commitizen works based on commitlint.config.js.

Submit by commitizen, lint by commitlint, just need maintain one configuration file, Consistent and Scalable.

The interactive process is inspired by [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog).

## Getting started

### Configure commitizen adapter

```bash
npm install --save-dev @hellolitebox/commit-prompt commitizen inquirer@8  # inquirer is required as peer dependency
# or yarn
yarn add -D @hellolitebox/commit-prompt commitizen inquirer@8             # inquirer is required as peer dependency
```

In package.json

```json
{
  "scripts": {
    "commit": "git-cz"
  },
  "config": {
    "commitizen": {
      "path": "@hellolitebox/commit-prompt"
    }
  }
}
```

### Configure commitlint

**⚠️ Important: The required version of commitlint and shared configuration is above 12.1.2, update them if already existed in project**

```bash
# Install commitlint cli and conventional config
npm install --save-dev @commitlint/config-conventional @commitlint/cli
# or yarn
yarn add @commitlint/config-conventional @commitlint/cli -D

# Simple: config with conventional
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
```

### Try it out

```bash
git add .
npm run commit
# or yarn
yarn commit
```

## Related

- [Commitlint Reference Prompt](https://commitlint.js.org/#/reference-prompt) - How to customize prompt information by setting commitlint.config.js
npm package: @hellolitebox/commitlint
Description: Lint your commits, the litebox-way
Author: Litebox
Latest version: 1.1.3

> Lint your commits, litebox-way

# hellolitebox/commitlint

Shareable `commitlint` config enforcing Litebox convention :)

## Getting started

Run this commands inside the root of your project:

```sh
yarn add -D @hellolitebox/commitlint @commitlint/cli @hellolitebox/commit-prompt commitizen
```

```sh
echo "const config = require('@hellolitebox/commitlint');
module.exports = config({ taskIdPrefixes: [] });" > commitlint.config.js
```

```sh
npx husky add .husky/commit-msg  'npx --no -- commitlint --edit ${1}'
```

Add this to your package.json

```
  "config": {
    "commitizen": {
      "path": "@hellolitebox/commit-prompt"
    }
  },
  "scripts": {
    "commit": "git-cz"
  }
```

## Config taskIdPrefixes

If you want that every commit has always a task id in the subject, you can add it as a string inside
the `taskIdPrefixes` array in the `commitlint.config.js` file, e.g:

```
module.exports = config({ taskIdPrefixes: ['CU-'] });
```

This way, to be considered a valid commit, the message should be: 

`feat: CU-1234 add something`

If you add more taskIdPrefixes to the array, any of those will be considered valid, e.g:

```
module.exports = config({ taskIdPrefixes: ['CU-', 'HOTFIX'] });
```

`feat: HOTFIX add something`

The above commit message is also valid.

## Make a commit

```sh
git add .

yarn commit
```

After run yarn commit, an interactive screen will appear, letting you fill all the commit parts, one by one.

The required ones are: `scope` and `subject`, the others can be skipped normally.
npm package: @hellomd/nock-vcr-recorder
Description: A test framework agnostic vcr implementation that uses nock.
Author: Jake Craige
Latest version: 0.2.0

# Nock VCR Recorder [![Build Status](https://travis-ci.org/poetic/nock-vcr-recorder.svg?branch=master)](https://travis-ci.org/poetic/nock-vcr-recorder)

A test framework agnostic vcr implementation that uses
[nock](https://github.com/pgte/nock). Can be used in isolation or test specific
libraries can be written around it.

## Install

```bash
npm install --save-dev nock-vcr-recorder
```

## Usage

Use `vcr.useCassette` and pass in a callback with the test to run. All http
requests will be recorded using nock and stored in a cassettes directory for
playback on later test runs. It expects the callback to return a promise for
asyncronous actions and it returns a promise that resolves when it's finished.

Example using mocha:

```js
var RSVP    = require('rsvp');
var request = RSVP.denodeify(require('request'));
var assert  = require('assert');
var vcr     = require('nock-vcr-recorder');

describe('standard test', function() {
  it('caches request', function() {
    return vcr.useCassette('normal test - works', function() {
      return request('http://localhost:4000/users').then(function() {
        assert(true, 'request works');
      });
    });
  });
});

// Usage with test specific options
//
// This test will not record the request to localhost:4000 and it will not use
// any saved fixtures
describe('normal test', function() {
  it('works', function(done) {
    return vcr.useCassette('normal test - works', {
      excludeScope: 'localhost:4000'
      mode: 'all'
    }, function() {
      return request('http://localhost:4000/users').then(function() {
        assert(true, 'request works');
      });
    });
  });
});
```

You can also call `vcr.nockReset()` if you need to programmatically remove all mocks.

## Configuration

Defaults:

```js
{
  // Don't record any requests to this scope
  // It can be an array or string
  excludeScope: ['localhost', '127.0.0.1', '0.0.0.0'],

  // Re-record and overwrite your current fixtures
  // Possible values: 'all'
  mode: undefined, 

  // Write recorded fixtures when the test fails. We don't do this by default
  writeOnFailure: false
}
```

To overide these you can call `vcr.config` with an object to
override them for ALL tests.

You also are able to pass in test specific options as the second parameter to
`vcr.useCassette()`. See the "Usage" section above for an example.


## Authors ##

* [Jake Craige](http://twitter.com/jakecraige)

## Versioning

This library follows [Semantic Versioning](http://semver.org)

## Want to help?

Please do! We are always looking to improve this library. If you have any ideas
please open an issue or a pull requests and we'll work on getting them in.

## Legal

[Poetic Systems](http://poeticsystems.com), Inc &copy; 2014

[@poeticsystems](http://twitter.com/poeticsystems)

[Licensed under the MIT license](http://www.opensource.org/licenses/mit-license.php)