@dzeio/config

中文文档
1.1.12发布于 2022/12/22MIT近 30 天下载 3070

global configuration files for programming

原始使用文档
文档目录3 节
  1. ESLint
  2. Typescript
  3. Copy-paste

Dzeio Config

thoses are base configuration files for multiple items

ESLint

Depending on your configuration add a .eslintrc.json to your repository and add the following code (remove the comments if you keep it a a json file)

{
    "extends": [
        // Note: add only one file as they calls each ones out
        
        // Base configuration for javascript
        "./node_modules/@dzeio/config/eslint/base",

        // React configuration
        "./node_modules/@dzeio/config/eslint/react",

        // Typescript configuration
        "./node_modules/@dzeio/config/eslint/typescript",

        // Typescript AND React configuration
        "./node_modules/@dzeio/config/eslint/react-typescript",
    ]
}

Typescript

{
    // Note: Only include one file

    // Base Typescript configuration
    "extends": "@dzeio/config/tsconfig.base.json",

    // Base NextJS configuration
    "extends": "@dzeio/config/tsconfig.nextjs.json",
}

Copy-paste

files under the folder copy-paste are configurations that can't be extended so you'll have to copy/paste them into your repository

版本与发布记录

@dzeio/config 共发布 15 个版本,首次发布于 2021/07/11;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.1.12latest2022/12/223 年前
1.1.112022/12/123 年前
1.1.102022/12/123 年前
1.1.92022/12/083 年前
1.1.82022/05/134 年前
1.1.72022/04/054 年前

关于 @dzeio/config 的常见问题

@dzeio/config 是什么?

global configuration files for programming

如何安装 @dzeio/config?

在项目目录运行 npm install @dzeio/config,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@dzeio/object-util(>=1.4.2)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@dzeio/config 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/dzeio__config 是否存在。

@dzeio/config 可以商用吗?

@dzeio/config 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@dzeio/config 的下载量有多少?

根据 npm 官方下载统计,@dzeio/config 在 2026/10/13 – 2026/11/11 这 30 天内被下载 3,070 次,日均约 102 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dzeio/config 还在维护吗?

最新版本 1.1.12 发布于 2022/12/22(3 年前);至今共发布 15 个版本,其中过去 12 个月发布了 0 个;首次发布于 2021/07/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。