bunup 0.8.48 → 0.8.49

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.
@@ -26,5 +26,14 @@ async function loadPackageJson(cwd = process.cwd()) {
26
26
  path: filepath
27
27
  };
28
28
  }
29
+ async function loadTsConfig(cwd, preferredPath) {
30
+ const config = await loadConfig({
31
+ name: "tsconfig",
32
+ extensions: [".json"],
33
+ preferredPath,
34
+ cwd
35
+ });
36
+ return config;
37
+ }
29
38
 
30
- export { processLoadedConfigs, loadPackageJson };
39
+ export { processLoadedConfigs, loadPackageJson, loadTsConfig };
@@ -1,11 +1,11 @@
1
1
  // @bun
2
2
  import {
3
3
  displayBunupGradientArt
4
- } from "./chunk-e7gp8gbh.js";
4
+ } from "./chunk-qy8akfev.js";
5
5
  import {
6
6
  link,
7
7
  pathExistsSync
8
- } from "./chunk-a76fsvj7.js";
8
+ } from "./chunk-y0jgbvca.js";
9
9
 
10
10
  // src/cli/new.ts
11
11
  import { renameSync } from "fs";