@seayoo-web/scripts 1.3.9 → 1.3.10

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.
@@ -115,9 +115,9 @@ function fillZ(a) {
115
115
  return ("0" + a).slice(-2);
116
116
  }
117
117
  const MainBranchName = "main";
118
- const DeployTagPrefix = "deploy#";
118
+ const DeployTagPrefix = "deploy_";
119
119
  function converToDeployTagName(deployTo) {
120
- return `${DeployTagPrefix}${deployTo.toLowerCase().replace(/(?:^https?:\/\/|\/*$)/gi, "")}`;
120
+ return `${DeployTagPrefix}${deployTo.toLowerCase().replace(/(?:^https?:\/\/|\/*$)/gi, "").replace(/\//g, "_")}`;
121
121
  }
122
122
  async function execCmd(cmd, ignoreWarning = false) {
123
123
  const root = await getMonorepoRoot(true);
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-CpSzshHm.js";
10
+ import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-DemoGRV7.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 getProjects, h as getTemplates, i as checkGitStatusBeforeDestory, j as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, k as getRepos } from "./git-CpSzshHm.js";
8
+ import { b as getMonorepoRoot, d as addProjectToWorkspace, e as copyTemplate, f as getProjects, h as getTemplates, i as checkGitStatusBeforeDestory, j as createBackupTag, r as removeProjectFromWorkspace, s as submitAllDeletionChanges, k as getRepos } from "./git-DemoGRV7.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.9",
3
+ "version": "1.3.10",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -10,7 +10,7 @@ interface LibBuildOption {
10
10
  /**
11
11
  * 导出一个动态的配置工厂函数用于 lib 类工具的编译配置
12
12
  *
13
- * 默认排除 "@seayoo-web/request""@seayoo-web/utils" 不打包
13
+ * 默认排除 "@seayoo-web/request""@seayoo-web/utils"、"@seayoo-web/combo-webview" 不打包
14
14
  */
15
15
  export declare function defineLibBuildConfig(option?: LibBuildOption): UserConfig;
16
16
  export {};