Skip to content

Commit

Permalink
docs(module-tools): add slot for release npm in monorepo (#5345)
Browse files Browse the repository at this point in the history
  • Loading branch information
10Derozan authored Jan 31, 2024
1 parent ed4d24b commit f1d333c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ sidebar_position: 7
An npm-type module project release process consists of two phases.

- The first phase is during development, where the developer needs to provide a change file to record changes that need to be released.
- The second phase is during release, where Modern.js Module can collect all the change files to update the version, update the release log, and release new packages to the [npm Registry](https://www.npmjs.com/).
- The second phase is during release, collect all the change files to update the version, update the release log, and release new packages to the [npm Registry](https://www.npmjs.com/).

Modern.js Module provides a set of version management and release solutions, which are suitable for single-package scenarios. For npm packages in monorepo, you need to follow the strategies provided by various monorepo solutions.

import PublishEMO from '@site-docs/components/publish-emo';

<PublishEMO />

## Tracking changes

Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ sidebar_position: 7
一个 npm 类型的模块项目发布流程包含了两个阶段:

- 第一阶段是在开发期间,开发者需要提供变更文件,该文件记录了在发布期间需要的变更内容;
- 第二阶段是在发布期间,Modern.js Module 会收集所有的变更文件来更新版本、更新发布日志,并发布新的包到 [npm Registry](https://www.npmjs.com/) 上。
- 第二阶段是在发布期间,需要收集所有的变更文件来更新版本、更新发布日志,并发布新的包到 [npm Registry](https://www.npmjs.com/) 上。

Modern.js Module 提供了一套版本管理与发布的方案,这适用于单包场景。对于 monorepo 里的 npm 包你需要遵循各类 monorepo 解决方案提供的策略。

import PublishEMO from '@site-docs/components/publish-emo';

<PublishEMO />

## 跟踪变更

Expand Down

0 comments on commit f1d333c

Please sign in to comment.