@seayoo-web/scripts 2.2.0 → 2.2.1

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -224,7 +224,7 @@ function definePageBuildConfig(option) {
224
224
  user: envs.deployUser,
225
225
  key: envs.deployKey,
226
226
  debug: envs.deployDebug,
227
- preview: (_c = option == null ? void 0 : option.finder) == null ? void 0 : _c.preview,
227
+ preview: ((_c = option == null ? void 0 : option.finder) == null ? void 0 : _c.preview) ?? true,
228
228
  commitLogs: isProductMode && gitInfo.logs.length > 0 ? "\n" + gitInfo.logs.join("\n") : void 0,
229
229
  onFinished() {
230
230
  if (isProductMode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",