bunup 0.8.54 → 0.8.56
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.
|
@@ -192,8 +192,8 @@ function getResolvedDefine(define, env) {
|
|
|
192
192
|
function getResolvedSplitting(splitting, format) {
|
|
193
193
|
return splitting === undefined ? format === "esm" : splitting;
|
|
194
194
|
}
|
|
195
|
-
function getResolvedDtsSplitting(
|
|
196
|
-
return
|
|
195
|
+
function getResolvedDtsSplitting(buildSplitting, dtsSplitting) {
|
|
196
|
+
return dtsSplitting ?? buildSplitting ?? true;
|
|
197
197
|
}
|
|
198
198
|
var DEFAULT_ENTRY_NAMING = "[dir]/[name].[ext]";
|
|
199
199
|
function getResolvedNaming(fmt, packageType) {
|
|
@@ -331,7 +331,7 @@ async function build(partialOptions, rootDir = process.cwd()) {
|
|
|
331
331
|
const dtsResult = await generateDts(ensureArray(entry ?? entrypoints), {
|
|
332
332
|
cwd: rootDir,
|
|
333
333
|
preferredTsConfigPath: options.preferredTsconfigPath,
|
|
334
|
-
splitting: getResolvedDtsSplitting(splitting),
|
|
334
|
+
splitting: getResolvedDtsSplitting(options.splitting, splitting),
|
|
335
335
|
...dtsOptions
|
|
336
336
|
});
|
|
337
337
|
if (dtsResult.errors.length) {
|
|
@@ -362,8 +362,6 @@ async function build(partialOptions, rootDir = process.cwd()) {
|
|
|
362
362
|
}
|
|
363
363
|
} catch (error) {
|
|
364
364
|
throw new BunupDTSBuildError(parseErrorMessage(error));
|
|
365
|
-
} finally {
|
|
366
|
-
logger.space();
|
|
367
365
|
}
|
|
368
366
|
}
|
|
369
367
|
await runPluginBuildDoneHooks(bunupPlugins, options, buildOutput, {
|
package/dist/cli/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
build,
|
|
5
5
|
createBuildOptions
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-zgjvecs6.js";
|
|
7
7
|
import"../chunk-zpjpa5th.js";
|
|
8
8
|
import {
|
|
9
9
|
processLoadedConfigs
|
|
@@ -28,7 +28,7 @@ import { loadConfig } from "coffi";
|
|
|
28
28
|
import pc3 from "picocolors";
|
|
29
29
|
import { exec } from "tinyexec";
|
|
30
30
|
// package.json
|
|
31
|
-
var version = "0.8.
|
|
31
|
+
var version = "0.8.56";
|
|
32
32
|
|
|
33
33
|
// src/watch.ts
|
|
34
34
|
import path from "path";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Arrayable, BuildOptions, DefineConfigItem, DefineWorkspaceItem, Plugin } from "./chunk-
|
|
1
|
+
import { Arrayable, BuildOptions, DefineConfigItem, DefineWorkspaceItem, Plugin } from "./chunk-w6swmckt";
|
|
2
2
|
declare function build(partialOptions: Partial<BuildOptions>, rootDir?: string): Promise<void>;
|
|
3
3
|
declare function defineConfig(options: Arrayable<DefineConfigItem>): Arrayable<DefineConfigItem>;
|
|
4
4
|
declare function defineWorkspace(options: DefineWorkspaceItem[]): DefineWorkspaceItem[];
|
package/dist/index.js
CHANGED
package/dist/plugins.d.ts
CHANGED
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.8.
|
|
4
|
+
"version": "0.8.56",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"picocolors": "^1.1.1",
|
|
54
54
|
"replace-in-file": "^8.3.0",
|
|
55
55
|
"tinyexec": "^1.0.1",
|
|
56
|
-
"typeroll": "^0.6.
|
|
56
|
+
"typeroll": "^0.6.15"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@babel/types": "^7.27.7",
|
|
File without changes
|