@seayoo-web/scripts 1.2.4 → 1.2.7

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.
@@ -146,12 +146,12 @@ async function createPageDeployTag(page, deployTo, finderUser) {
146
146
  const tagName = converToDeployTagName(deployTo);
147
147
  const gitUser = await execCmd(`git config user.email`).catch(() => "");
148
148
  await execCmd(
149
- [`git tag -f ${tagName} -m "${getNowTime()} deployed by ${gitUser || finderUser}`, page ? `from ${page}` : ""].filter((c) => !!c).join(" ")
149
+ [`git tag -f ${tagName} -m "${getNowTime()} deployed by ${gitUser || finderUser}`, page ? `from ${page}` : "", '"'].filter((c) => !!c).join(" ")
150
150
  );
151
151
  try {
152
152
  await execCmd(`git push origin -f ${tagName}`, true);
153
153
  } catch (e) {
154
- await execCmd(`git push origin --tags`, true);
154
+ await execCmd(`git push origin -f --tags`, true);
155
155
  }
156
156
  }
157
157
  async function getCommitHash() {
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import vue from "@vitejs/plugin-vue";
7
7
  import vueDevTools from "vite-plugin-vue-devtools";
8
8
  import { existsSync, readFileSync } from "fs";
9
9
  import "colors";
10
- import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-BVCtk4Tl.js";
10
+ import { g as getNowTime, a as getCommitInfo, c as createPageDeployTag } from "./git-BbsLu9cn.js";
11
11
  import skipFormatting from "@vue/eslint-config-prettier/skip-formatting";
12
12
  import { vueTsConfigs } from "@vue/eslint-config-typescript";
13
13
  import { defineConfigWithVueTs } from "@vue/eslint-config-typescript";
@@ -25,7 +25,7 @@ function defineLibBuildConfig(option) {
25
25
  }
26
26
  },
27
27
  rollupOptions: {
28
- external: (option == null ? void 0 : option.external) || [/^@seayoo-web\/(?:request|utils)/]
28
+ external: (option == null ? void 0 : option.external) || [/^@seayoo-web\/(?:request|utils|combo-webview)/]
29
29
  }
30
30
  }
31
31
  });
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 { r as root, b as addProjectToWorkspace, d as copyTemplate, e as getProjects, f as getTemplates, h as checkGitStatusBeforeDestory, i as createBackupTag, j as removeProjectFromWorkspace, s as submitAllDeletionChanges, k as getRepos } from "./git-BVCtk4Tl.js";
8
+ import { r as root, b as addProjectToWorkspace, d as copyTemplate, e as getProjects, f as getTemplates, h as checkGitStatusBeforeDestory, i as createBackupTag, j as removeProjectFromWorkspace, s as submitAllDeletionChanges, k as getRepos } from "./git-BbsLu9cn.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.2.4",
3
+ "version": "1.2.7",
4
4
  "description": "scripts for seayoo web monorepos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -33,17 +33,17 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@sentry/vite-plugin": "^3.2.1",
36
+ "@sentry/vite-plugin": "^3.2.2",
37
37
  "@vitejs/plugin-legacy": "^6.0.2",
38
38
  "@vitejs/plugin-vue": "^5.2.1",
39
39
  "@vue/eslint-config-prettier": "^10.2.0",
40
- "@vue/eslint-config-typescript": "^14.3.0",
40
+ "@vue/eslint-config-typescript": "^14.5.0",
41
41
  "colors": "^1.4.0",
42
42
  "commander": "^13.1.0",
43
43
  "eslint-plugin-import": "^2.31.0",
44
- "eslint-plugin-vue": "^9.32.0",
44
+ "eslint-plugin-vue": "^9.33.0",
45
45
  "fs-extra": "^11.3.0",
46
- "inquirer": "^12.4.2",
46
+ "inquirer": "^12.4.3",
47
47
  "jiti": "^2.4.2",
48
48
  "ora": "^8.2.0",
49
49
  "postcss-html": "^1.8.0",
@@ -53,10 +53,10 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/fs-extra": "^11.0.4",
56
- "@types/node": "^22.13.1",
57
- "@typescript-eslint/utils": "^8.25.0",
58
- "eslint": "^9.19.0",
59
- "stylelint": "^16.14.1",
56
+ "@types/node": "^22.13.10",
57
+ "@typescript-eslint/utils": "^8.26.1",
58
+ "eslint": "^9.22.0",
59
+ "stylelint": "^16.15.0",
60
60
  "stylelint-config-recess-order": "^6.0.0",
61
61
  "stylelint-config-standard": "^37.0.0",
62
62
  "@seayoo-web/tsconfig": "^1.0.2"
@@ -3,7 +3,7 @@ interface LibBuildOption {
3
3
  outDir?: string;
4
4
  /** 入口文件,默认为 "index.ts" */
5
5
  rootEntry?: string;
6
- /** 要排除的工具包,默认排除 "@seayoo-web/request" 和 "@seayoo-web/utils" */
6
+ /** 要排除的工具包,默认排除 "@seayoo-web/request"、"@seayoo-web/utils" 和 "@seayoo-web/combo-webview" */
7
7
  external?: string[];
8
8
  }
9
9
  /**