cabloy 5.1.32 → 5.1.33
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/package.json +1 -1
- package/scripts/init.ts +12 -6
package/package.json
CHANGED
package/scripts/init.ts
CHANGED
|
@@ -165,12 +165,18 @@ function initZova(): void {
|
|
|
165
165
|
exec('npm run zova :tools:deps');
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
// --- Step E:
|
|
168
|
+
// --- Step E: buildSsrCabloyBasicStartBatch ---
|
|
169
169
|
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
function buildSsrCabloyBasicStartBatch(): void {
|
|
171
|
+
if (existsSync(resolve(ROOT_DIR, '__CABLOY_BASIC__'))) {
|
|
172
|
+
// eslint-disable-next-line
|
|
173
|
+
console.log('[init] Building zova SSR cabloyBasicBatch...');
|
|
174
|
+
exec("pnpm --dir './zova' run build:ssr:cabloyBasicBatch");
|
|
175
|
+
} else if (existsSync(resolve(ROOT_DIR, '__CABLOY_START__'))) {
|
|
176
|
+
// eslint-disable-next-line
|
|
177
|
+
console.log('[init] Building zova SSR cabloyStartBatch...');
|
|
178
|
+
exec("pnpm --dir './zova' run build:ssr:cabloyStartBatch");
|
|
179
|
+
}
|
|
174
180
|
}
|
|
175
181
|
|
|
176
182
|
// --- Step F: cleanupWorkspaceYaml ---
|
|
@@ -202,6 +208,6 @@ generateEnvProdDockerLocal();
|
|
|
202
208
|
cleanupWorkspaceYaml();
|
|
203
209
|
initVona();
|
|
204
210
|
initZova();
|
|
205
|
-
|
|
211
|
+
buildSsrCabloyBasicStartBatch();
|
|
206
212
|
// eslint-disable-next-line
|
|
207
213
|
console.log('[init] Done!');
|