@seayoo-web/scripts 3.0.6 → 3.0.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.
package/dist/index.js CHANGED
@@ -280,6 +280,7 @@ function definePageBuildConfig(option) {
280
280
  key: envs.deployKey,
281
281
  debug: envs.deployDebug,
282
282
  preview: option?.finder?.preview ?? true,
283
+ ignoreCache: option?.finder?.ignoreServerListCache,
283
284
  commitLogs: isProductMode && gitInfo.logs.length > 0 ? "\n" + gitInfo.logs.join("\n") : void 0,
284
285
  onBeforeDeploy: option?.finder?.beforeDeploy ? async function(dist) {
285
286
  await option?.finder?.beforeDeploy?.(dist, envs.viteEnvs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -67,6 +67,10 @@ interface ExternalConfig {
67
67
  * 匹配时仅针对单一目录和文件名进行检查,不跨目录检查
68
68
  */
69
69
  ignoreFiles?: string[];
70
+ /**
71
+ * 是否忽略本地缓存的服务器发布列表的缓存
72
+ */
73
+ ignoreServerListCache?: boolean;
70
74
  /**
71
75
  * 在部署文件前调用,用以调整产物文件
72
76
  */