@bunup/dts 0.14.45 → 0.14.46

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -671,13 +671,15 @@ async function runTypescriptCompiler(root, tsgo, tsconfig) {
671
671
  "--emitDeclarationOnly",
672
672
  "--isolatedDeclarations",
673
673
  "false",
674
+ "--rootDir",
675
+ root,
674
676
  ...tsconfig ? ["-p", tsconfig] : [],
675
677
  "--outDir",
676
678
  dist,
677
- "--rootDir",
678
- root,
679
679
  "--noCheck"
680
- ]);
680
+ ], {
681
+ cwd: root
682
+ });
681
683
  const exitCode = await proc.exited;
682
684
  if (exitCode !== 0) {
683
685
  const stderr = await new Response(proc.stdout).text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunup/dts",
3
- "version": "0.14.45",
3
+ "version": "0.14.46",
4
4
  "description": "An extremely fast TypeScript declaration bundler built on Bun's native bundler.",
5
5
  "homepage": "https://github.com/bunup/dts#readme",
6
6
  "bugs": {