open-index/open-npm huggingface dataset:
npm package: @pagodas/egg-routing-controllers
Description: Mount [routing-controllers](https://github.com/typestack/routing-controllers) package as an egg middleware.
Author: chianquan
Latest version: 3.0.1

# egg-routing-controllers

Mount [routing-controllers](https://github.com/typestack/routing-controllers) package as an egg middleware.


## Install

```bash
$ npm i @pagodas/egg-routing-controllers --save
```


For extensible,we also need install `routing-controllers@0.8.0` , `class-transformer@^0.2.3` , `class-validator@0.10.1` .

`routing-controllers@0.8.0` is our base peerDependencies.
`class-transformer^0.2.3` , `class-validator@0.10.1` is `routing-controllers@0.8.0`'s base peerDependencies.


```bash
$ npm i routing-controllers@0.8.0 class-transformer@^0.2.3 class-validator@0.10.1 --save
```


## Usage

```js
// {app_root}/config/plugin.js
exports.routingControllers = {
  enable: true,
  package: '@pagodas/egg-routing-controllers',
};
```

## Configuration

Support all configurations in [routing-controllers](https://github.com/typestack/routing-controllers).

```js
// {app_root}/config/config.default.js

  config.routingControllers = {
    options: {},// config for routing-controllers create.
    disableResponseTransform: true, // hack routing-controllers to disable transform response,default false.(It's useful for mongoose response otherwise ObjectId may cause error)
    mountPath:'./app/routing-controller' // controller path.If relative then base app.baseDir.default value ./app/routing-controller.If options have controllers then ignore this config.
  };
```

warming: Don't set options.controllers for routing-controllers unless you know what it is.
egg run .ts files when debug and run .js files in production.
Files in mouthPath will priority use the .js file ,the same name .ts file will ignored.
## controller example

```js
// file app/routing-controller/util.ts

import {Ctx, Get, JsonController} from 'routing-controllers';
@JsonController()
export class UtilController {
@Get('/api/search')
  async search(@Ctx()ctx: Context) {
    return {};
  }
}
```

Just export your controller(created using `routing-controllers`).

## Questions & Suggestions

Please open an issue [here](https://github.com/chianquan/egg-routing-controllers/issues).

## License

[MIT](LICENSE)
npm package: @pagodas/egg-routing-controllers-swagger
Description: bind swagger doc in routing-controller in egg.js.
Author: chianquan
Latest version: 3.0.0

# egg-routing-controllers-swagger

Add swagger docs support for egg that use [routing-controllers](https://github.com/typestack/routing-controllers)(You can load routing-controllers by [@pagodas/egg-routing-controllers] or all by yourself).

## Install

```js
$ npm i @pagodas/egg-routing-controllers-swagger --save
```


For extensible,we also need install `routing-controllers@0.8.0` , `class-transformer@^0.2.3` , `class-validator@0.10.1` .

`routing-controllers@0.8.0` is our base peerDependencies.
`class-transformer^0.2.3` , `class-validator@0.10.1` is `routing-controllers@0.8.0`'s base peerDependencies.


```bash
$ npm i routing-controllers@0.8.0 class-transformer@^0.2.3 class-validator@0.10.1 --save
```


## Usage

```js
// {app_root}/config/plugin.js
exports.routingControllers = {
  enable: true,
  package: '@pagodas/egg-routing-controllers-swagger',
};
```

## Configuration

Support all configurations in [routing-controllers](https://github.com/typestack/routing-controllers).

```js
// {app_root}/config/config.default.js

  config.routingControllers = {
    routingControllersOptions,// required, config for routing-controllers created.
    mountPath : '/swagger', // optional defined which url path the doc html ui show mount.default:'/swagger'
    additionalProperties: { // optional, defined the doc html information.
        description: 'doc description',
        title: 'doc title',
        version: '2.0.0',
    },
    enable : true, // the switch for the middleware.Suggest set it false when run in production. default is true.
  };
```

## decorators

This package export all method from [class-validator-jsonschema](https://github.com/epiphone/class-validator-jsonschema) and [routing-controllers-openapi](https://github.com/epiphone/routing-controllers-openapi);
main decorator:
`@JSONSchema()` add description information for field.
`@OpenAPI()` add description information for your API.

Self declare `@ParamsWithOpenAPI()` and `@QueriesWithOpenAPI` wrap the `@Params` and `@QueryParams`,support param description.

## controller example

```js
// file app/routing-controller/util.ts

import {Ctx, Get, JsonController, Body} from 'routing-controllers';
import {IsOptional, IsString} from 'class-validator';
import {JSONSchema,OpenAPI} from '@pagodas/egg-routing-controllers-swagger';

class DataInput{
    @IsOptional()
    @IsString()
    @JSONSchema({description:'say hello to somebody.'})
    hello?:string
}

@JsonController()
export class UtilController {
  @Get('/api/search')
  async search(@Ctx()ctx: Context) {
    return {};
  }
  @OpenAPI({summary:'API for rendering data.'})
  @Post('/api/render')
  async render(@Body body:DataInput) {
    return {};
  }
}
```

## Questions & Suggestions

Please open an issue [here](https://github.com/chianquan/egg-routing-controllers-swagger/issues).

## License

[MIT](LICENSE)
npm package: @pagodaui/weiui
Description: 适用于uniapp的ui扩展库
Author: jiangw
Latest version: 0.0.20

# weiui

适用于 uniapp 的 ui 框架

## 准备工作

### 安装

```
npm i @pagodaui/weiui

or

yarn add @pagodaui/weiui
```

### SCSS

此 ui 库依赖 SCSS，请确保已经安装

```
npm i sass -D

or

yarn add sass -D
```

## 配置步骤

1. 在引入全局 SCSS 文件

> 注意
> 在`App.vue`中首行的位置引入，注意给 style 标签加入 lang="scss"属性

```html
<style lang="scss">
  /* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
  @import '@pagodaui/weiui/index.scss';
  @import '@pagodaui/weiui/fonts/iconfont.css'; // 引入字体图标
</style>
```

2. 配置 easycom 组件模式

此配置需要在项目 src 目录的 pages.json 中进行。

> 温馨提示
>
> 1. uni-app 为了调试性能的原因，修改 easycom 规则不会实时生效，配置完后，您需要重启 HX 或者重新编译项目才能正常使用。
> 2. 请确保您的 pages.json 中只有一个 easycom 字段，否则请自行合并多个引入规则。

```json
// pages.json
{
  "easycom": {
    "autoscan": true,
    "custom": {
      "^wei-(.*)": "@pagodaui/weiui/components/$1/$1.vue"
    }
  },

  // 此为本身已有的内容
  "pages": [
    // ......
  ]
}
```

3. 引入 ts 组件声明文件

> 在`env.d.ts`中上方引入，可以得到代码提示

```typescript
/// <reference types="@pagodaui/weiui/components" />
```
npm package: @pagopa/cloudgaap-commons-ts
Description: Common TypeScript stuff used in all the CloudGaaP subprojects
Author: PagoPA S.p.A.
Latest version: 0.5.1

# CloudGaaP Commons TypeScript

Common TypeScript stuff used in all the CloudGaaP subprojects.

## Create a new release

To create a new release use `yarn version` command ([Documentation](https://classic.yarnpkg.com/en/docs/cli/version)).

For example: if you want to release a minor version: `yarn version --minor`.  
This will change the value of `version` field inside the `package.json`, create a commit with all the changes required to
release and create a tag with the value specified inside the `package.json`.
npm package: @pagopa/danger-custom-rules
Description: Shared rules for DangerJS, used in the Digital Citizenship projects
Author: Federico Feroldi
Latest version: 2.0.3

# Custom DangerJS rules plugin
Custom rules over [Danger](https://danger.systems/js/) CI automation.
## Features
* Cross-link with [PivotalTracker](https://www.pivotaltracker.com/) stories, based on PR title
* Warn when a PR has no description
* Perform sanity checks on yarn.lock
* Warn if `npm`-related files are added (as we use `yarn`)