@seayoo-web/scripts 2.4.0 → 2.4.1
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.
|
@@ -209,9 +209,9 @@ async function getCommitLogs(branchOrCommit, sinceCommit, codePath) {
|
|
|
209
209
|
"git log",
|
|
210
210
|
sinceCommit ? `${sinceCommit}..${branchOrCommit || "HEAD"}` : branchOrCommit || "",
|
|
211
211
|
/** spell-checker:disable-next-line */
|
|
212
|
-
`--oneline --pretty=format:"[%cd]
|
|
212
|
+
`--oneline --pretty=format:"[%cd] %s" --date=short -n 60`,
|
|
213
213
|
`-- ${codePath}`
|
|
214
|
-
].filter((f) => !!f).join(" ");
|
|
214
|
+
].filter((f) => !!f && !f.includes("Merge branch")).join(" ");
|
|
215
215
|
const result = await execCmd(cmd);
|
|
216
216
|
return result ? result.split("\n") : [];
|
|
217
217
|
}
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import vueDevTools from "vite-plugin-vue-devtools";
|
|
|
8
8
|
import { existsSync, readFileSync } from "fs";
|
|
9
9
|
import { loadEnv } from "vite";
|
|
10
10
|
import "colors";
|
|
11
|
-
import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-
|
|
11
|
+
import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-ByQTrD0l.js";
|
|
12
12
|
import skipFormatting from "@vue/eslint-config-prettier/skip-formatting";
|
|
13
13
|
import { vueTsConfigs, defineConfigWithVueTs } from "@vue/eslint-config-typescript";
|
|
14
14
|
import { flatConfigs } from "eslint-plugin-import";
|
package/dist/node.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Command } from "commander";
|
|
|
5
5
|
import fs from "fs-extra";
|
|
6
6
|
import inquirer from "inquirer";
|
|
7
7
|
import ora from "ora";
|
|
8
|
-
import { b as getMonorepoRoot, d as addProjectToWorkspace, e as copyTemplate, f as copyGlobalFiles, h as getProjects, i as getTemplates, j as checkGitStatusBeforeDestroy, k as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, l as getRepos } from "./git-
|
|
8
|
+
import { b as getMonorepoRoot, d as addProjectToWorkspace, e as copyTemplate, f as copyGlobalFiles, h as getProjects, i as getTemplates, j as checkGitStatusBeforeDestroy, k as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, l as getRepos } from "./git-ByQTrD0l.js";
|
|
9
9
|
const commitRE = /^(?:revert: )?(?:feat|fix|docs|style|refactor|test|build|chore|debug|tweak|improve)(?:\(.+\))?: .{1,100}/;
|
|
10
10
|
function checkCommit() {
|
|
11
11
|
const msgPath = process.argv[2];
|