@seayoo-web/scripts 1.3.13 → 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";
@@ -164,12 +164,14 @@ function definePageBuildConfig(option) {
164
164
  "core-js/es/array/flat",
165
165
  "core-js/es/array/flat-map",
166
166
  "core-js/es/promise/all-settled",
167
+ "core-js/es/promise/any",
167
168
  "core-js/es/symbol/iterator"
168
169
  ],
169
170
  additionalModernPolyfills: [
170
171
  "core-js/es/array/flat",
171
172
  "core-js/es/array/flat-map",
172
173
  "core-js/es/promise/all-settled",
174
+ "core-js/es/promise/any",
173
175
  "core-js/es/symbol/iterator"
174
176
  ]
175
177
  }),
@@ -267,7 +269,7 @@ const importEslintConfig = [
267
269
  "import/namespace": "off",
268
270
  "import/no-named-as-default": "off",
269
271
  "import/no-named-as-default-member": "off",
270
- "import/export": ["error"],
272
+ "import/export": "error",
271
273
  "import/order": ["error", importOrderRuleConfig]
272
274
  }
273
275
  }
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.13",
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
  /**