@quiteer/scripts 0.1.4 → 0.1.5

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
@@ -7,8 +7,6 @@
7
7
  - 全局安装(推荐)
8
8
 
9
9
  ```bash
10
- pnpm i -g @quiteer/scripts
11
- # 或者
12
10
  npm i -g @quiteer/scripts
13
11
  ```
14
12
 
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.1.4";
15
+ var version = "0.1.5";
16
16
 
17
17
  //#endregion
18
18
  //#region src/locales/changelog.ts
@@ -1189,7 +1189,7 @@ async function setupCli() {
1189
1189
  ignore: cliOptions.dirTree.ignore
1190
1190
  });
1191
1191
  });
1192
- cli.command("git-commit", `${bgGreen(white("便捷命令"))} ${lightBlue("qui gc")} git 提交前后的操作和规范等`).alias("gc").option("--add", "添加所有变更文件到暂存区", { default: cliOptions.gitCommit.add }).option("-l ,--lang", "校验提交信息的语言", { default: cliOptions.lang }).action(async (args) => {
1192
+ cli.command("git-commit", `${bgGreen(white("便捷命令"))} ${lightBlue("qui gc")} git 提交前后的操作和规范等`).alias("gc").option("--add", "是否执行 git add 操作", { default: cliOptions.gitCommit.add }).option("-l ,--lang", "校验提交信息的语言", { default: cliOptions.lang }).action(async (args) => {
1193
1193
  if (args?.add) await gitCommitAdd();
1194
1194
  await gitCommit(args?.lang);
1195
1195
  });
@@ -1211,7 +1211,7 @@ async function setupCli() {
1211
1211
  timelineOutput: args.timelineOutput || cfg.timelineOutput
1212
1212
  });
1213
1213
  });
1214
- cli.command("git-commit-tianze", `${bgGreen(white("便捷命令"))} ${lightBlue("qui gz")} 天泽智联的 git 提交前后的操作和规范等`).alias("gz").option("--add", "添加所有变更文件到暂存区", { default: cliOptions.gitCommit.add }).action(async (args) => {
1214
+ cli.command("git-commit-tianze", `${bgGreen(white("便捷命令"))} ${lightBlue("qui gz")} 天泽智联的 git 提交前后的操作和规范等`).alias("gz").option("--add", "是否执行 git add 操作", { default: cliOptions.gitCommit.add }).action(async (args) => {
1215
1215
  if (args?.add) await gitCommitAdd();
1216
1216
  await gitCommitTz();
1217
1217
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quiteer/scripts",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "homepage": "https://quiteerjs.github.io/web/cli/scripts.html",
6
6
  "publishConfig": {
7
7
  "access": "public",