# @cbnventures/docusaurus-preset-nova 中文文档

规范地址：https://npmcn.com/package/%40cbnventures/docusaurus-preset-nova/

版本：0\.38\.0
npm 元数据更新时间：2026-11-01T09:10:34.897Z
中文译文更新时间：2026-11-09T15:08:41.946Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40cbnventures/docusaurus-preset-nova
原文对照：https://npmcn.com/package/%40cbnventures/docusaurus-preset-nova/?lang=original
项目主页：https://nova.cbnventures.io/
源码仓库：https://github.com/cbnventures/nova

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：4.9 MB，2327 个文件
- 模块格式：ES Module
- TypeScript 类型：未声明
- Node.js 要求：^22 \|\| ^24 \|\| ^26
- 运行依赖：25 个
- peer 依赖：react ^18 \|\| ^19，react-dom ^18 \|\| ^19，@node-rs/jieba ^2，@docusaurus/core ^3
- 首次发布：2026-04-04T01:35:57.376Z
- 最新版本发布：2026-11-01T09:10:34.593Z
- 近 30 天下载量：2402（2026-10-09 至 2026-11-07，npm 官方下载统计）
- 已发布版本数：48（近 12 个月 48 个）

## 中文简介

普通 JavaScript 和 TypeScript 开发者的脚本、模板和项目配置

## 安装

```sh
npm install @cbnventures/docusaurus-preset-nova
```

也可以使用：`pnpm add @cbnventures/docusaurus-preset-nova`、`yarn add @cbnventures/docusaurus-preset-nova`、`bun add @cbnventures/docusaurus-preset-nova`

## README

[![Nova](https://nova.cbnventures.io/images/logo.svg)](https://nova.cbnventures.io/)

# 诺瓦

 [![npm Package](https://img.shields.io/npm/v/@cbnventures/nova?style=for-the-badge&logo=npm&logoColor=%23ffffff&color=%23b25da6)](https://www.npmjs.com/package/@cbnventures/nova)[![npm Downloads](https://img.shields.io/npm/dt/@cbnventures/nova?style=for-the-badge&logo=npm&logoColor=%23ffffff&color=%236688c3) ](https://www.npmjs.com/package/@cbnventures/nova)[![GitHub Releases](https://img.shields.io/github/v/release/cbnventures/nova?style=for-the-badge&logo=github&logoColor=%23ffffff&color=%23b25da6) ](https://github.com/cbnventures/nova/releases)[![GitHub Top Languages](https://img.shields.io/github/languages/top/cbnventures/nova?style=for-the-badge&logo=github&logoColor=%23ffffff&color=%236688c3) ](https://github.com/cbnventures/nova)[![GitHub License](https://img.shields.io/github/license/cbnventures/nova?style=for-the-badge&logo=googledocs&logoColor=%23ffffff&color=%2348a56a) ](https://github.com/cbnventures/nova/blob/HEAD/LICENSE)[![Become a GitHub Sponsor](https://img.shields.io/badge/github-sponsor-gray?style=for-the-badge&logo=githubsponsors&logoColor=%23ffffff&color=%23eaaf41) ](https://github.com/sponsors/cbnventures)[![Donate via PayPal](https://img.shields.io/badge/paypal-donate-gray?style=for-the-badge&logo=paypal&logoColor=%23ffffff&color=%23ce4a4a)](https://www.paypal.com/biz/profile/cbnventures)

## 导言

Nova是JavaScript和TypeScript monorepo套接字,提供严格的预设和引导工具来帮助您以信心,可预测性和最小的设置来构建. 它提供强烈的默认,坚固的起伏和打字,以及脚手架式的项目发电机——都用护栏来包裹,既能保证工作流程的安全又不牺牲灵活性.

## 文档

为了开始,参观 [https://nova.cbnventures.io/ 互联网档案馆的存檔,存档日期2013-12-21](https://nova.cbnventures.io/) 查看文件全文.

## 功劳和赞赏

如果您在这个项目的持续开发中找到价值,并想表达你的赞赏,您可以选择:

-   成为我们的支持者 [GitHub 赞助商](https://github.com/sponsors/cbnventures)
-   一次性捐款 [付费页](https://www.paypal.com/biz/profile/cbnventures)

特别感谢我们的捐助者和支持者:

-   [强哥](https://www.mrjackyliang.com/)

## 常见问题

### @cbnventures/docusaurus-preset-nova 是什么？

普通 JavaScript 和 TypeScript 开发者的脚本、模板和项目配置

### 如何安装 @cbnventures/docusaurus-preset-nova？

在项目目录运行 npm install @cbnventures/docusaurus-preset-nova，或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖：react（^18 \|\| ^19）、react-dom（^18 \|\| ^19）、@docusaurus/core（^3）。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖，Yarn 需要手动安装。它还提供命令行工具 theme-nova，可以用 npx theme-nova 直接运行。

### @cbnventures/docusaurus-preset-nova 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/cbnventures\_\_docusaurus-preset-nova 是否存在。

### @cbnventures/docusaurus-preset-nova 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @cbnventures/docusaurus-preset-nova 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js ^22 \|\| ^24 \|\| ^26。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @cbnventures/docusaurus-preset-nova 可以商用吗？

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

### @cbnventures/docusaurus-preset-nova 的下载量有多少？

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

### @cbnventures/docusaurus-preset-nova 还在维护吗？

最新版本 0\.38\.0 发布于 2026/11/01（8 天前）；至今共发布 48 个版本，其中过去 12 个月发布了 48 个；首次发布于 2026/04/04。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

