@forestadmin/forest-cloud

中文文档
1.12.267发布于 2026/11/13Apache-2.0TypeScriptCommonJS构建来源已验证近 30 天下载 5412

Utility to bootstrap and publish forest admin cloud projects customization

原始使用文档
文档目录3 节
  1. bootstrap
  2. update-typings
  3. login

This package needs to be installed to bootstrap and publish your cloud customizations. It is used as a dev-dependency of the cloud-customizer

available commands

bootstrap

Mandatory option: -e, --env-secret <environment-secret-key>

  • Login to forestadmin
  • Creates a new folder "cloud-customizer"
  • Setup .env file with FOREST_ENV_SECRET and authentication token
  • Generate typings from your database

update-typings

Generate typings from the structure of the database and the code customizations.

login

Ask user to authenticate and refresh the authentication token.

版本与发布记录

@forestadmin/forest-cloud 共发布 380 个版本,首次发布于 2024/02/19;过去 12 个月发布了 208 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.12.267latest2026/11/132 天前
1.12.2662026/11/105 天前
1.12.2652026/11/105 天前
1.12.2642026/11/069 天前
1.12.2632026/11/0510 天前
1.12.2622026/11/0411 天前

关于 @forestadmin/forest-cloud 的常见问题

@forestadmin/forest-cloud 是什么?

Utility to bootstrap and publish forest admin cloud projects customization

如何安装 @forestadmin/forest-cloud?

在项目目录运行 npm install @forestadmin/forest-cloud,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 forest-cloud,可以用 npx forest-cloud 直接运行。

@forestadmin/forest-cloud 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@forestadmin/forest-cloud 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@forestadmin/forest-cloud 可以商用吗?

@forestadmin/forest-cloud 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@forestadmin/forest-cloud 的下载量有多少?

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

@forestadmin/forest-cloud 还在维护吗?

最新版本 1.12.267 发布于 2026/11/13(2 天前);至今共发布 380 个版本,其中过去 12 个月发布了 208 个;首次发布于 2024/02/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。