open-index/open-npm huggingface dataset:
npm package: @llioss/redup
Description: CLI tools - Bridge between Upsource and Redmine through git repos
Author: Anthony Hoarau
Latest version: 1.0.6

# redup
CLI tools. Bridge between Upsource and Redmine through git repos.
Create Upsource review and update Redmine issue.

## Installation

`npm install -g @llioss/redup`

`yarn global add @llioss/redup`

## Usage

Your branch should follow the pattern: feature/[RM/rm][-]123456.
Ex.: feature/rm-123456 or feature/RM-123456

The cli create a new Upsource merge review, then update your Redmine status with a note containing the Upsource review link.

`redup create-review`

## Configuration

Create a file named `.reduprc` in your git root folder, add it to `.gitignore`, so your confidential info are not shared with others.

Available config are:

| name                   | Value                                                       |
|------------------------|-------------------------------------------------------------|
| UPSOURCE_HOST          | Your Upsource host. ex: myupsource.host                     |
| UPSOURCE_PROJECT_ID    | MY-UPSOURCE-PROJECT-ID                                      |
| UPSOURCE_USER_API_TOKEN | Your user token created in Upsource                         |
| REDMINE_HOST           | Your Redmine host. ex: redmine.host                         |
| REDMINE_USER_API_TOKEN | Your user token created in Redmine                          |
| REDMINE_STATUS_ID_NEW_REVIEW | Redmine status to set when a new Upsource review is created |
npm package: @lljj/babel-preset
Description: > * Babel preset，Babel 7 版本
Author: Liu.Jun
Latest version: 0.1.2

> * Babel preset，Babel 7 版本

## 安装
使用npm：
```
npm install --save-dev @lljj/babel-preset
```

使用 yarn
```
yarn add @lljj/babel-preset --dev
```

babel 配置 .babelrc，当然你也可以继续添加你的配置
```
{
  "presets": ["@lljj/package"],
  "plugins": [
    ... plugins // 爱配不配
  ]
}
```

## 包含以下内容

插件：

> * @babel/plugin-proposal-class-properties
> * @babel/plugin-proposal-decorators
> * @babel/plugin-proposal-object-rest-spread
> * @babel/plugin-syntax-dynamic-import

preset-env:

> * "browsers": ["last 2 versions", "ie >=9"]
npm package: @lljj/cli
Description: 又一个 cli
Author: Liu.Jun
Latest version: 0.3.4

# @lljj/cli
个人习惯使用的 Monorepo cli，yarn workspace + lerna

## 安装
``` sh
npm install -g @lljj/cli
```

## 使用
lljj create my-project

> 目前只支持monorepo vue js

``` sh
lljj create my-project
```
npm package: @lljj/eslint-config
Description: 个人eslint风格
Author: Liujun
Latest version: 0.1.0

# @lljj/eslint-config
## 说明
基于 eslint-config-airbnb-base 结合个人习惯的eslint风格

## 安装
npm
``` bash
npm install @lljj/eslint-config -D
```

yarn 
``` bash
yarn add @lljj/eslint-config --dev
```

### 启用
在项目根目录添加 `.eslintrc` 文件
``` json
{
    "extends": "@lljj/eslint-config",
    "plugins": [
    ],
    "rules": [
    ]
}
```

### 集成
1. Webpack 需要安装 [eslint-loader](https://www.npmjs.com/package/eslint-loader)
2. Rollup 需要安装 [rollup-plugin-eslint](https://www.npmjs.com/package/rollup-plugin-eslint)
npm package: @lljj/polyfill
Description: 构建ie9+ 个人常用polyfill
Author: Liu.Jun
Latest version: 0.1.2

涵盖 dom、dom、esnext 的一些垫片

### 文件大小
47KB

### 安装

```js
npm install @lljj/polyfill
```

### dom
修复了如下API

1. children
2. dateset
3. matches
4. classlist
5. closest

### bom
修复了如下API

1. location.origin
1. requestAnimationFrame

### esnext
async await regeneratorRuntime 方法定义
1. regenerator-runtime/runtime

沿用 babel 的 core-js 垫片，导出了如下API：
1. es6.object.keys
1. object.assign
1. function.name
1. parse-int
1. parse-float
1. number.is-finite
1. number.is-integer
1. number.is-nan
1. number.max-safe-integer
1. number.min-safe-integer
1. number.parse-float
1. number.parse-int
1. string.trim
1. string.code-point-at
1. string.ends-with
1. string.includes
1. string.repeat
1. string.starts-with
1. date.now
1. date.to-iso-string
1. date.to-string
1. array.is-array
1. array.from
1. array.index-of
1. array.last-index-of
1. array.fill
1. array.find
1. array.find-index
1. promise
1. set
1. weak-set
1. typed.array-buffer
1. typed.int8-array
1. typed.uint8-array
1. es7.array.includes
1. es7.string.trim-left
1. es7.string.trim-right
1. es7.object.values
1. es7.object.entries
1. es7.global
1. es7.promise.finally
1. es7.promise.try
npm package: @lljj/postcss-plugin-css-check
Description: postcss 插件，css代码里面不能直接使用颜色值
Author: Liu.Jun
Latest version: 0.0.1


> * postcss-plugin-css-check 提供css 颜色和字号是否使用变量检测

## 安装
使用npm：

```
npm install --save-dev @lljj/postcss-plugin-css-check
```

使用 yarn

```
yarn add @lljj/postcss-plugin-css-check
```

postcss 配置 postcss.config.js，当然你也可以继续添加你的配置
```
{
    "plugins": [
        require('@lljj/postcss-plugin-css-check')({
            checkColor: false,
            checkFontSize: true
        }),
    ]
}
```

## 包含以下参数

参数 | 类型 | 描述 | 默认值 
--- | --- | --- | -----
checkColor | `Bool` | 是否检测颜色变量 | true
checkFontSize | `Bool` | 是否检测字号变量 | true

## 文件内禁用校验规则 
>* disable-colorCheck       // 禁用前一条 css颜色检测
>* disable-fontSizeCheck    // 禁用前一条 css字号检测

使用方法如下
```css
.icon-loading{
  color: var(--assistBgC);
  background: #CCC; /* disable-colorCheck */
  .xxx {
      background: #dddddd;
      font-size: 11px; /* disable-fontSizeCheck */
  }
}
```