bunup 0.16.15 → 0.16.16

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
@@ -4,7 +4,7 @@ import {
4
4
  build,
5
5
  processLoadedConfigs,
6
6
  resolveBuildOptions
7
- } from "../shared/bunup-k3zaeaz3.js";
7
+ } from "../shared/bunup-kmfn2mv3.js";
8
8
  import {
9
9
  BunupBuildError,
10
10
  BunupCLIError,
@@ -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.15";
30
+ var version = "0.16.16";
31
31
 
32
32
  // packages/bunup/src/printer/print-build-report.ts
33
33
  import { promisify } from "util";
@@ -346,7 +346,7 @@ async function main(args = Bun.argv.slice(2)) {
346
346
  const startTime = performance.now();
347
347
  for (const { options, rootDir } of configsToProcess) {
348
348
  const optionsArray = ensureArray(options);
349
- await Promise.all(optionsArray.map(async (o) => {
349
+ for await (const o of optionsArray) {
350
350
  const userOptions = {
351
351
  ...o,
352
352
  ...removeCliOnlyOptions(cliOptions)
@@ -359,7 +359,7 @@ async function main(args = Bun.argv.slice(2)) {
359
359
  await printBuildReport(result);
360
360
  }
361
361
  }
362
- }));
362
+ }
363
363
  }
364
364
  const buildTimeMs = performance.now() - startTime;
365
365
  if (cliOptions.watch) {
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  build
4
- } from "./shared/bunup-k3zaeaz3.js";
4
+ } from "./shared/bunup-kmfn2mv3.js";
5
5
  import"./shared/bunup-qb65sm3k.js";
6
6
  // packages/bunup/src/define.ts
7
7
  function defineConfig(options) {
@@ -462,13 +462,11 @@ async function build(userOptions, rootDir = process.cwd()) {
462
462
  throw new BunupBuildError(formatInvalidEntryPointsError(entryArray));
463
463
  }
464
464
  console.log("");
465
- if (options.name) {
466
- console.log(`${options.name ? ` ${pc2.bgBlueBright(` ${options.name} `)} ` : ""}${logger.formatMessage({
467
- message: formatListWithAnd(entrypoints),
468
- muted: true,
469
- noIcon: true
470
- })}`);
471
- }
465
+ console.log(`${options.name ? ` ${pc2.bgBlueBright(` ${options.name} `)} ` : " "}${logger.formatMessage({
466
+ message: formatListWithAnd(entrypoints),
467
+ muted: true,
468
+ noIcon: true
469
+ })}`);
472
470
  console.log("");
473
471
  const buildOutputFiles = [];
474
472
  const absoluteEntrypoints = entrypoints.map((file) => `${rootDir}/${file}`);
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.15",
4
+ "version": "0.16.16",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"