bunup 0.16.13 → 0.16.14

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/cli/index.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  import { loadConfig } from "coffi";
28
28
  import pc4 from "picocolors";
29
29
  // packages/bunup/package.json
30
- var version = "0.16.13";
30
+ var version = "0.16.14";
31
31
 
32
32
  // packages/bunup/src/printer/print-build-report.ts
33
33
  import { promisify } from "util";
@@ -349,9 +349,9 @@ async function main(args = Bun.argv.slice(2)) {
349
349
  logger.info("Build started");
350
350
  const startTime = performance.now();
351
351
  const buildResults = [];
352
- await Promise.all(configsToProcess.flatMap(({ options, rootDir }) => {
352
+ for (const { options, rootDir } of configsToProcess) {
353
353
  const optionsArray = ensureArray(options);
354
- return optionsArray.map(async (o) => {
354
+ await Promise.all(optionsArray.map(async (o) => {
355
355
  const userOptions = {
356
356
  ...o,
357
357
  ...removeCliOnlyOptions(cliOptions)
@@ -361,8 +361,8 @@ async function main(args = Bun.argv.slice(2)) {
361
361
  } else {
362
362
  buildResults.push(await build(userOptions, rootDir));
363
363
  }
364
- });
365
- }));
364
+ }));
365
+ }
366
366
  const buildTimeMs = performance.now() - startTime;
367
367
  if (!cliOptions.watch && !shouldSilent) {
368
368
  await Promise.all(buildResults.map((o) => printBuildReport(o)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bunup",
3
3
  "description": "⚡ A blazing-fast build tool for your libraries built with Bun.",
4
- "version": "0.16.13",
4
+ "version": "0.16.14",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"