open-index/open-npm huggingface dataset:
npm package: @pubinfo/openapi
Description: Generate request files according to the OpenAPI.
Author: Werheng
Latest version: 0.9.1

# @pubinfo/openapi

[![npm version][npm-version-src]][npm-version-href]
[![Monorepo][monorepo-src]][monorepo-href]
![License][License-src]

> Generate request files according to the OpenAPI.

## Usage

Need config file in your project root directory:

```js
// openapi.config.js / openapi.config.ts
export default {
  /* options */
}
```

and then run:

```bash
npx @pubinfo/openapi@latest generate
```

## Configuration

```js
import { defineConfig } from '@pubinfo/openapi'

export default defineConfig({
  // 是否启用，默认 true
  enabled: true,

  // 忽略缓存强制生成接口文件，默认 false
  force: false,

  // 预设配置
  presets: [
    presetName({ /* preset options */ }),
  ],

  // 文件默认导入
  imports: {
    '@/api': 'request', // import request from '@/api'
    'request': ['foo', 'bar'], // import { foo , bar } from 'request'
    './api': [{ name: 'foo', as: 'bar' }] // import { foo as bar } from './api'
  },

  // Swagger2.0 / OpenAPI3.0 地址，直接指向JSON的地址
  input: 'http://your/api-doc',

  // 文件输出目录
  output: '/src/api',

  // 缓存目录
  cacheDir: 'node_modules/.pubinfo-openapi',

  // 自定义 hooks, 透传 `@umijs/openapi` 的 `hook` 配置
  hooks: {
    customFunctionName: data => data.operationId
  },

  // 接口文档登录凭证
  credentials: {
    username: '',
    password: ''
  },

  // 请求远程文档时的超时时间, 为0不限制超时时间
  timeout: 5000,

  // 批量配置
  batch: [
    {
      imports: {},
      input: '',
      output: '',
      hooks: {},
      presets: [],
      credentials: {},
      timeout: 0
    }
  ]
})
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@pubinfo/openapi?style=flat-square
[npm-version-href]: https://npmjs.com/package/@pubinfo/openapi
[monorepo-src]: https://img.shields.io/badge/Monorepo-with%20pnpm-F5871D.svg
[monorepo-href]: https://pnpm.io/workspaces
[License-src]: https://img.shields.io/badge/license-MIT-green
npm package: @pubinfo/preset-openapi
Description: Preset for @pubinfo/openapi.
Author: Werheng
Latest version: 0.9.1

# @pubinfo/preset-openapi

[![npm version][npm-version-src]][npm-version-href]
[![Monorepo][monorepo-src]][monorepo-href]
![License][License-src]

> Preset for @pubinfo/openapi.

## Install

```bash
# npm
npm install @pubinfo/preset-openapi -D

# yarn
yarn add @pubinfo/preset-openapi -D

# pnpm
pnpm install @pubinfo/preset-openapi -D
```

## Usage

```js
// openapi.config.js / openapi.config.ts
import { presetName } from '@pubinfo/preset-openapi'

export default {
  presets: [
    presetName({ /* preset options */ }),
  ]
}
```

## Configuration

```js
presetName({
  // Generated function named.
  // Acceptable value: camelCase | operationId
  functionName: 'camelCase'
})
```

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@pubinfo/preset-openapi?style=flat-square
[npm-version-href]: https://npmjs.com/package/@pubinfo/preset-openapi
[monorepo-src]: https://img.shields.io/badge/Monorepo-with%20pnpm-F5871D.svg
[monorepo-href]: https://pnpm.io/workspaces
[License-src]: https://img.shields.io/badge/license-MIT-green
npm package: @pubinfo/pro-components
Description: Pro Components.
Author: Werheng
Latest version: 1.8.2

# @pubinfo/pro-components

Pro Components.

## 相关技术

- [PNPM](https://www.pnpm.cn/) - 包管理器
- [Vite](https://cn.vitejs.dev/) - 构建工具
- [VitePress](https://vitepress.dev/) - 文档工具
- [Vue 3](https://cn.vuejs.org/) - 基础框架
- [Ant Design Vue](https://www.antdv.com/components/overview-cn) - UI库
- [VueUse](https://github.com/antfu/vueuse) - 响应式方法库
- [Dayjs](https://dayjs.gitee.io/zh-CN/) - 时间库
- [Lodash](https://www.lodashjs.com/) - 工具库

## 提交规范

> 在需要 git commit 时，使用 pnpm commit 或者在全局安装过 commitizen 后使用 git cz 替换

- **feat:** 新功能、新特性
- **fix:** 修改 bug
- **perf:** 更改代码，以提高性能
- **refactor:** 代码重构（重构，在不影响代码内部行为、功能下的代码修改）
- **docs:** 文档修改
- **style:** 代码格式修改, 注意不是 css 修改（例如分号修改）
- **test:** 测试用例新增、修改
- **build:** 影响项目构建或依赖项修改
- **revert:** 恢复上一次提交
- **ci:** 持续集成相关文件修改
- **chore:** 其他修改（不在上述类型中的修改）
npm package: @pubinfo/unplugin-openapi
Description: Unplugin for @pubinfo/openapi.
Author: Werheng
Latest version: 0.9.1

# @pubinfo/unplugin-openapi

[![npm version][npm-version-src]][npm-version-href]
[![Monorepo][monorepo-src]][monorepo-href]
![License][License-src]

> Generate request files according to the OpenAPI.

## Install

```bash
# npm
npm install @pubinfo/unplugin-openapi -D

# yarn
yarn add @pubinfo/unplugin-openapi -D

# pnpm
pnpm install @pubinfo/unplugin-openapi -D
```

## Usage

Powered by [unplugin](https://github.com/unjs/unplugin), `unplugin-openapi` provides a plugin interface for bundlers.

> If you are using config file, we will load config file firstly.

#### Vite/Rollup

```js
// vite.config.js / rollup.config.js
import OpenAPI from '@pubinfo/unplugin-openapi/vite'

export default {
  plugins: [
    OpenAPI({ /* options */ })
  ]
}
```

#### Webpack

```js
// webpack.config.js
import OpenAPI from '@pubinfo/unplugin-openapi/webpack'

module.exports = {
  plugins: [
    OpenAPI({ /* options */ })
  ]
}
```

## Configuration

Same as [@pubinfo/openapi](https://github.com/werheng/pubinfo-openapi)

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@pubinfo/unplugin-openapi?style=flat-square
[npm-version-href]: https://npmjs.com/package/@pubinfo/unplugin-openapi
[monorepo-src]: https://img.shields.io/badge/Monorepo-with%20pnpm-F5871D.svg
[monorepo-href]: https://pnpm.io/workspaces
[License-src]: https://img.shields.io/badge/license-MIT-green
npm package: @pubkeyapp/wallet-adapter-mantine-ui
Description: This is a [Mantine](https://mantine.dev/) wrapper for the [Solana Wallet Adapter](https://github.com/solana-labs/wallet-adapter).
Latest version: 2.4.3

# Solana Wallet Adapter for Mantine

This is a [Mantine](https://mantine.dev/) wrapper for the [Solana Wallet Adapter](https://github.com/solana-labs/wallet-adapter).

## Installation

```shell
yarn add @pubkeyapp/wallet-adapter-mantine-ui @solana/wallet-adapter-react @solana/web3.js
# or...
npm install @pubkeyapp/wallet-adapter-mantine-ui @solana/wallet-adapter-react @solana/web3.js
# or...
pnpm add @pubkeyapp/wallet-adapter-mantine-ui @solana/wallet-adapter-react @solana/web3.js
# or whatever package manager you use, you get the idea...
```

## Compatibility

This package is compatible with the following versions of Mantine:

- [v1.x.x](https://www.npmjs.com/package/@pubkeyapp/wallet-adapter-mantine-ui/v/1.3.3) is compatible with [Mantine v6](https://v6.mantine.dev/)
- [v2.x.x](https://www.npmjs.com/package/@pubkeyapp/wallet-adapter-mantine-ui) is compatible with [Mantine v7](https://mantine.dev/)

## Usage

You need to wrap your app in the `ConnectionProvider`, `WalletProvider`, and `WalletModalProvider` components from `@solana/wallet-adapter-react` and `@pubkeyapp/wallet-adapter-mantine-ui` respectively.

```tsx
import { WalletModalProvider, WalletMultiButton } from '@pubkeyapp/wallet-adapter-mantine-ui'
import { ConnectionProvider, WalletProvider } from '@solana/wallet-adapter-react'
import { clusterApiUrl } from '@solana/web3.js'

export function App() {
  return (
    <ConnectionProvider endpoint={clusterApiUrl('devnet')}>
      <WalletProvider>
        <WalletModalProvider>{/* Your app here */}</WalletModalProvider>
      </WalletProvider>
    </ConnectionProvider>
  )
}
```

Once you've done that, you can use the `WalletMultiButton` component to render a button that will open a modal to connect to a wallet.

```tsx
import { WalletMultiButton } from '@pubkeyapp/wallet-adapter-mantine-ui'

export function YourFeature() {
  return <WalletMultiButton />
}
```

## License

This project is licensed under the [MIT license](LICENSE).
npm package: @public-assembly/builder-utils
Description: React hooks and utilities for Nouns Builder DAOs.
Author: Public Assembly
Latest version: 0.1.18

![builder-utils](https://hkzmq6akhweeabrxhijjq2oxlyzwgrhv5j6anakmfd5hxn4tunca.arweave.net/OrLIeAo9iEAGNzoSmGnXXjNjRPXqfAaBTCj6e7eTo0Q)

# builder-utils

React componentry and hooks to interact with the [ourzora/nouns-protocol](https://github.com/ourzora/nouns-protocol) smart contracts. If you're interested in contributing, please [open an issue](https://github.com/public-assembly/builder-utils/issues/new), create a pull request, or bring questions to the Public Assembly [forum](https://forum.public---assembly.com/).

### Documentation

For documentation visit [GitHub](https://github.com/public-assembly/builder-utils).

### Installation:

`npm i @public-assembly/builder-utils`

`pnpm add @public-assembly/builder-utils`

`yarn add @public-assembly/builder-utils`

### Community

Create what's missing.

- Check out our other projects on [GitHub](https://github.com/orgs/public-assembly/repositories).
- Follow Public Assembly on [Twitter](https://twitter.com/pblcasmbly).
- Jump into the discussion on [Discourse](https://forum.public---assembly.com/).
npm package: @public-assembly/dao-utils
Description: React componentry and hooks to interact with the ourzora/nouns-protocol smart contracts.
Author: Public Assembly
Latest version: 0.0.31

![dao-utils](https://hkzmq6akhweeabrxhijjq2oxlyzwgrhv5j6anakmfd5hxn4tunca.arweave.net/OrLIeAo9iEAGNzoSmGnXXjNjRPXqfAaBTCj6e7eTo0Q)

# dao-utils

React componentry and hooks to interact with the [ourzora/nouns-protocol](https://github.com/ourzora/nouns-protocol) smart contracts. If you're interested in contributing, please [open an issue](https://github.com/public-assembly/dao-utils/issues/new), create a pull request, or bring questions to the Public Assembly [forum](https://forum.public---assembly.com/).

### Documentation

For documentation check out the [sample app](https://dao-utils-next.vercel.app/) or visit [GitHub](https://github.com/public-assembly/dao-utils).

### Installation:
`npm i @public-assembly/dao-utils` 
   
`pnpm add @public-assembly/dao-utils` 
   
`yarn add @public-assembly/dao-utils`

### Community

Create what's missing.

- Check out our other projects on [GitHub](https://github.com/orgs/public-assembly/repositories).
- Follow Public Assembly on [Twitter](https://twitter.com/pblcasmbly).
- Jump into the discussion on [Discourse](https://forum.public---assembly.com/).
npm package: @public-assembly/erc721-display-components
Description: React components and hooks to display erc721 tokens leveraging the Zora Api.
Author: Public Assembly
Latest version: 0.0.12

# @public-assembly/erc721-display-components

## Documentation

For documentation and examples, visit [erc721-display.public---assembly.com](https://erc721-display.public---assembly.com/).

## Peer Dependencies

- @zoralabs/nft-hooks
- @zoralabs/zdk
- ethers
- swr

## Styling

While usage is not manditory, components leverage tailwind-css and inlude component specific selectors for ease of styling.

## Installation

Install erc721-display-components and its peer dependencies.

```bash
npm install @public-assembly/erc721-display-components @zoralabs/nft-hooks @zoralabs/zdk ethers swr
```
npm package: @public-assembly/erc721-drops-minter
Description: Micro UI library to interact with erc721drops
Author: Public Assembly
Latest version: 0.0.91

# erc721 Drops Minter
Micro UI Library to interact with [Zora's](https://docs.zora.co/) [NFT Drop Media Contracts](https://github.com/ourzora/zora-drops-contracts).

## Hooks:
- useDropsRead
- useDropsWrite

## Context:
- DropsContextProvider = (useDropsRead + useDropsWrite)

## Peer dependencies:
- [@public-assembly/zora-drops-utils](https://www.npmjs.com/package/@public-assembly/zora-drops-utils)
- [@zoralabs/nft-drop-contracts](https://github.com/ourzora/zora-drops-contracts)
- [wagmi](https://wagmi.sh/)
- [ethers](https://docs.ethers.io/v5/)
- [graphql-request](https://github.com/prisma-labs/graphql-request)
- [swr](https://swr.vercel.app/)
npm package: @public-assembly/zora-drops-utils
Description: Example package with some web3 peer dependencies
Author: Public Assembly
Latest version: 0.1.62

# Zora Drops Contracts Utils
Library of React hooks, and utility fuctions to interact with to [Zora's](https://docs.zora.co/) [NFT Drop Media Contracts](https://github.com/ourzora/zora-drops-contracts).

## Hooks:
- useDropsRead
- useDropsWrite

## Context:
- DropsContextProvider = (useDropsRead + useDropsWrite)

## Peer dependencies:
- [@zoralabs/nft-drop-contracts](https://github.com/ourzora/zora-drops-contracts)
- [wagmi](https://wagmi.sh/)
- [ethers](https://docs.ethers.io/v5/)
- [graphql-request](https://github.com/prisma-labs/graphql-request)
- [swr](https://swr.vercel.app/)