@quiteer/scripts 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @quiteer/scripts
2
-
3
- 简化多包仓库的版本管理与变更日志生成,提供便捷的 CLI 命令。
2
+ > 简化多包仓库的版本管理与变更日志生成,提供便捷的 CLI 命令。
3
+ > [文档](https://quiteerjs.github.io/web/ci/scripts.html)
4
4
 
5
5
  ## 安装
6
6
 
@@ -65,4 +65,4 @@ git add -A && git commit -m "docs(changelog): update"
65
65
 
66
66
  - 多包仓库:发布时可交互选择要更新的包,未选中的包不受影响。
67
67
  - 标签前缀:标签命名为 `<prefix>-vX.Y.Z`,可避免多包仓库中的全局标签冲突。
68
- - changelog:默认基于仓库最初提交到当前 HEAD 的全量历史生成。
68
+ - changelog:默认基于仓库最初提交到当前 HEAD 的全量历史生成。
package/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ import enquirer from "enquirer";
12
12
  import { versionBump } from "bumpp";
13
13
 
14
14
  //#region package.json
15
- var version = "0.0.10";
15
+ var version = "0.0.11";
16
16
 
17
17
  //#endregion
18
18
  //#region src/locales/changelog.ts
@@ -836,7 +836,7 @@ async function gitCommitVerify(lang = "zh-cn", ignores = []) {
836
836
  * 版本管理:交互选择需要提升版本的包、创建自定义前缀标签、生成变更日志
837
837
  * - 多层级仓库:通过交互选择需要更新的包,未选中的包跳过
838
838
  * - 标签:支持自定义前缀,命名为 <prefix>-v${version},存在则跳过创建
839
- * - 变更日志:默认生成 CHANGELOG.md 与 CHANGELOG_TIMELINE.md(中文,both 格式)
839
+ * - 变更日志:生成 CHANGELOG.md 与 CHANGELOG_TIMELINE.md,语言与样式读取 CLI 配置(默认 zh-cn,both
840
840
  * - 不包含推送操作,如需发布请手动执行 git push / pnpm publish
841
841
  * @param {string} [tagPrefix] 标签前缀(可选,留空则交互输入)
842
842
  * @returns {Promise<void>} 异步任务
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@quiteer/scripts",
3
3
  "type": "module",
4
- "version": "0.0.10",
5
- "homepage": "https://taiaiac.github.io/web/ci/scripts.html",
4
+ "version": "0.0.11",
5
+ "homepage": "https://quiteerjs.github.io/web/ci/scripts.html",
6
6
  "publishConfig": {
7
7
  "access": "public",
8
8
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +49,6 @@
49
49
  "scripts": {
50
50
  "dev": "tsdown -w",
51
51
  "build": "tsdown",
52
- "release": "qui r --tag-prefix scripts",
53
- "build:release": "tsdown && pnpm publish"
52
+ "release": "qui r --tag-prefix scripts && qui gc && tsdown && pnpm publish"
54
53
  }
55
54
  }