open-index/open-npm huggingface dataset:
npm package: @mas.io/adc-pc-components
Description: [![TNPM version][tnpm-image]][tnpm-url] [![TNPM downloads][tnpm-downloads-image]][tnpm-url]
Latest version: 2.0.0

# @alipay/adc-pc-components

[![TNPM version][tnpm-image]][tnpm-url] [![TNPM downloads][tnpm-downloads-image]][tnpm-url]

[tnpm-image]: http://web.npm.alibaba-inc.com/badge/v/@alipay/adc-pc-components.svg?style=flat-square
[tnpm-url]: http://web.npm.alibaba-inc.com/package/@alipay/adc-pc-components
[tnpm-downloads-image]: http://web.npm.alibaba-inc.com/badge/d/@alipay/adc-pc-components.svg?style=flat-square

## Badges

[![TNPM version][tnpm-image]][tnpm-url] [![TNPM downloads][tnpm-downloads-image]][tnpm-url] [![install size][install-size-image]][install-size-url] ![node >= 10.0.0](https://duing.alibaba-inc.com/img/label?key=node&value=%3E%3D%208.0.0&keyBgColor=505050&valueBgColor=51CA2A&size=12)

[tnpm-image]: https://npm.alibaba-inc.com/badge/v/@alipay/adc-pc-components.svg
[tnpm-url]: https://npm.alibaba-inc.com/package/@alipay/adc-pc-components
[tnpm-downloads-image]: https://npm.alibaba-inc.com/badge/d/@alipay/adc-pc-components.svg

---

## Usage

```bash
tnpm i @alipay/adc-pc-components --save
```
npm package: @mas.io/adc-qrcode
Latest version: 1.0.4

# @alipay/adc-qrcode



[![TNPM version][tnpm-image]][tnpm-url]
[![TNPM downloads][tnpm-downloads-image]][tnpm-url]

[tnpm-image]: http://web.npm.alibaba-inc.com/badge/v/@alipay/adc-qrcode.svg?style=flat-square
[tnpm-url]: http://web.npm.alibaba-inc.com/package/@alipay/adc-qrcode
[tnpm-downloads-image]: http://web.npm.alibaba-inc.com/badge/d/@alipay/adc-qrcode.svg?style=flat-square

## Badges

[![TNPM version][tnpm-image]][tnpm-url]
[![TNPM downloads][tnpm-downloads-image]][tnpm-url]
[![install size][install-size-image]][install-size-url]
![node >= 10.0.0](https://duing.alibaba-inc.com/img/label?key=node&value=%3E%3D%208.0.0&keyBgColor=505050&valueBgColor=51CA2A&size=12)

[tnpm-image]: https://npm.alibaba-inc.com/badge/v/@alipay/adc-qrcode.svg
[tnpm-url]: https://npm.alibaba-inc.com/package/@alipay/adc-qrcode
[tnpm-downloads-image]: https://npm.alibaba-inc.com/badge/d/@alipay/adc-qrcode.svg

--------------------

## Usage

```bash
tnpm i @alipay/adc-qrcode --save
```
npm package: @mas.io/adc-umi3-scripts
Description: umi 3.x build scripts
Author: lizhihui
Latest version: 1.2.1

# @alipay/adc-umi3-scripts

> umi 3.x build scripts，包含公共配置、公共依赖包、公共类型定义等。

## 使用

### 配置依赖

> ~~从`1.1.0`开始发布到`npm` [@whale.io/umi3-scripts](https://www.npmjs.com/package/@whale.io/umi3-scripts)~~。`1.2.0` 迁移到 `tnpm` [@alipay/adc-umi3-scripts](https://npm.alibaba-inc.com/package/@alipay/adc-umi3-scripts)，对外镜像 [@mas.io/adc-umi3-scripts](https://www.npmjs.com/package/@mas.io/adc-umi3-scripts)。

```text
 "devDependencies": {
    "@mas.io/adc-umi3-scripts": "1.2.0"
  }
```

### 导入 @mas.io/adc-umi3-scripts

导入公共配置，展开到[umi配置](https://umijs.org/zh-CN/docs/config)。

```typescript
import { chainWebpack, config } from '@mas.io/adc-umi3-scripts';

export default defineConfig({
  ...config,

  chainWebpack(config, { env }) {
    chainWebpack(config);
    // ...
  }

  // ...
});
```

公共类型定义。

```typescript
import type { Route } from '@mas.io/adc-umi3-scripts';

const routes: Route[] = [
  // ...
];
export default routes;
```

```typescript
import type { Mock } from '@mas.io/adc-umi3-scripts';

const mock: Mock = {
  // ...
};

export default mock;
```

查看文档 [@alipay/adc-umi3-scripts](https://yuque.antfin.com/iwc/nb8y97/mgl887) 了解更多。

## 变更日志

查看[变更日志](CHANGELOG.md)了解更多。
npm package: @mas.io/adc-umijs-fabric
Description: A collection of configuration files containing prettier, eslint, stylelint
Author: lizhihui
Latest version: 2.0.1

# @alipay/adc-umijs-fabric

> 基于 [@umijs/fabric](https://www.npmjs.com/package/@umijs/fabric) 的 lint 规则。

## 说明

* 为了更好更可控的支持 eslint 和 @typescript-eslint 新版本。
* 基于 @umijs/fabric `v2.6.7` 修改。
* 删除 `prettier`，我们认为 `eslint --fix` 满足自动修复格式的需求，且减少 prettier 相关包也可以加快安装速度。
* 主要服务于 [@alipay/adc-lint](https://yuque.antfin.com/iwc/nb8y97/ogcug6) 包。

查看文档 [@alipay/adc-umijs-fabric](https://yuque.antfin.com/iwc/nb8y97/tz2r19) 了解更多。

## 使用

install

```bash
tnpm i @alipay/adc-umijs-fabric --save
```

eslint js & jsx

```ts
export = {
  extends: [
    require.resolve('@alipay/adc-umijs-fabric/dist/eslint')
  ]
};
```

eslint react(js)

```ts
export = {
  extends: [
    require.resolve('@alipay/adc-umijs-fabric/dist/react')
  ]
};
```

eslint ts & tsx

```ts
export = {
  extends: [
    require.resolve('@alipay/adc-umijs-fabric/dist/typescript')
  ]
};
```

eslint react(ts)

```ts
export = {
  extends: [
    require.resolve('@alipay/adc-umijs-fabric/dist/typescript/react')
  ]
};
```

stylelint

```ts
export = {
  extends: [
    require.resolve('@alipay/adc-umijs-fabric/dist/stylelint')
  ]
};
```