bunup 0.16.15 → 0.16.17

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-ze2fw5ca.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.17";
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-ze2fw5ca.js";
5
5
  import"./shared/bunup-qb65sm3k.js";
6
6
  // packages/bunup/src/define.ts
7
7
  function defineConfig(options) {
@@ -461,15 +461,6 @@ async function build(userOptions, rootDir = process.cwd()) {
461
461
  }
462
462
  throw new BunupBuildError(formatInvalidEntryPointsError(entryArray));
463
463
  }
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
- }
472
- console.log("");
473
464
  const buildOutputFiles = [];
474
465
  const absoluteEntrypoints = entrypoints.map((file) => `${rootDir}/${file}`);
475
466
  const resolvedDefine = getResolvedDefine(options.define, options.env);
@@ -622,6 +613,13 @@ async function build(userOptions, rootDir = process.cwd()) {
622
613
  if (options.onSuccess) {
623
614
  await executeOnSuccess(options.onSuccess, options, ac.signal);
624
615
  }
616
+ console.log("");
617
+ console.log(`${options.name ? ` ${pc2.bgBlueBright(` ${options.name} `)} ` : " "}${logger.formatMessage({
618
+ message: formatListWithAnd(entrypoints),
619
+ muted: true,
620
+ noIcon: true
621
+ })}`);
622
+ console.log("");
625
623
  return buildResult;
626
624
  }
627
625
 
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.17",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"