@seayoo-web/scripts 1.3.14 → 1.3.15

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.
@@ -198,7 +198,7 @@ async function getCurrentBranchName() {
198
198
  return await execCmd("git rev-parse --abbrev-ref HEAD");
199
199
  }
200
200
  async function fetchTags() {
201
- await execCmd("git fetch --tags", true);
201
+ await execCmd("git fetch --tags --force", true);
202
202
  }
203
203
  async function getDeployTags() {
204
204
  const result = await execCmd("git tag");
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import vueDevTools from "vite-plugin-vue-devtools";
7
7
  import { existsSync, readFileSync } from "fs";
8
8
  import { loadEnv } from "vite";
9
9
  import "colors";
10
- import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-BrZHpO_Q.js";
10
+ import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-Bd789okO.js";
11
11
  import skipFormatting from "@vue/eslint-config-prettier/skip-formatting";
12
12
  import { vueTsConfigs, defineConfigWithVueTs } from "@vue/eslint-config-typescript";
13
13
  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 checkGitStatusBeforeDestory, k as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, l as getRepos } from "./git-BrZHpO_Q.js";
8
+ import { b as getMonorepoRoot, d as addProjectToWorkspace, e as copyTemplate, f as copyGlobalFiles, h as getProjects, i as getTemplates, j as checkGitStatusBeforeDestory, k as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, l as getRepos } from "./git-Bd789okO.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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -22,7 +22,7 @@ export declare function getCurrentBranchName(): Promise<string>;
22
22
  */
23
23
  export declare function fetchTags(): Promise<void>;
24
24
  /**
25
- * 读取所有部署 tag(以 deploy# 开头)
25
+ * 读取所有部署 tag(以 deploy 开头)
26
26
  */
27
27
  export declare function getDeployTags(): Promise<string[]>;
28
28
  /**