@seayoo-web/scripts 2.5.6 → 2.5.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -192,7 +192,7 @@ function definePageBuildConfig(option) {
192
192
  if (mode === "wellknown" && envs.wellKnownDir && envs.deployTo) {
193
193
  const result = await finderDeploy({
194
194
  preview: false,
195
- deployTo: envs.deployTo,
195
+ deployTo: envs.deployTo.replace(/\/$/, "") + "/.well-known",
196
196
  dist: envs.wellKnownDir,
197
197
  user: envs.deployUser,
198
198
  key: envs.deployKey
@@ -202,7 +202,7 @@ function definePageBuildConfig(option) {
202
202
  } else {
203
203
  console.log("部署 .well-known 成功".bgGreen, (result || "").green);
204
204
  }
205
- return {};
205
+ process.exit(0);
206
206
  }
207
207
  const trunkMap = {
208
208
  "naive-ui": "naive-ui",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",