zitejs 0.9.19 → 0.9.20

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.
@@ -364,10 +364,12 @@ async function bundleEndpointsImpl(baseDir, endpointNames) {
364
364
  }
365
365
  }
366
366
  }
367
- console.log(JSON.stringify({
367
+ const output = JSON.stringify({
368
368
  bundledEndpoints,
369
369
  endpointErrors: Object.keys(endpointErrors).length > 0 ? endpointErrors : undefined,
370
- }));
370
+ });
371
+ fs.writeFileSync('/tmp/zitejs-bundle-result.json', output);
372
+ console.log(output);
371
373
  }
372
374
  async function bundleOneOffScriptImpl(scriptPath, sdkPath) {
373
375
  const rawScript = fs.readFileSync(scriptPath, 'utf-8');
@@ -328,10 +328,12 @@ async function bundleEndpointsImpl(baseDir, endpointNames) {
328
328
  }
329
329
  }
330
330
  }
331
- console.log(JSON.stringify({
331
+ const output = JSON.stringify({
332
332
  bundledEndpoints,
333
333
  endpointErrors: Object.keys(endpointErrors).length > 0 ? endpointErrors : undefined,
334
- }));
334
+ });
335
+ fs.writeFileSync('/tmp/zitejs-bundle-result.json', output);
336
+ console.log(output);
335
337
  }
336
338
  async function bundleOneOffScriptImpl(scriptPath, sdkPath) {
337
339
  const rawScript = fs.readFileSync(scriptPath, 'utf-8');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zitejs",
3
- "version": "0.9.19",
3
+ "version": "0.9.20",
4
4
  "description": "The Zite framework — build apps on Zite Database",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/runtime/index.js",