bunup 0.8.38 → 0.8.39
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.
|
@@ -228,7 +228,7 @@ type WithOptional<
|
|
|
228
228
|
K extends keyof T
|
|
229
229
|
> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
230
230
|
type Arrayable<T> = T | T[];
|
|
231
|
-
type DefineConfigItem = Omit<WithOptional<BuildOptions, outDir | "format">, "watch">;
|
|
231
|
+
type DefineConfigItem = Omit<WithOptional<BuildOptions, "outDir" | "format">, "watch">;
|
|
232
232
|
type DefineWorkspaceItem = {
|
|
233
233
|
name: string
|
|
234
234
|
root: string
|
package/dist/cli/index.js
CHANGED
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-76m1hp4m";
|
|
2
2
|
declare function defineConfig(options: Arrayable<DefineConfigItem>): Arrayable<DefineConfigItem>;
|
|
3
3
|
declare function defineWorkspace(options: DefineWorkspaceItem[]): DefineWorkspaceItem[];
|
|
4
4
|
declare function build(partialOptions: Partial<BuildOptions>, rootDir?: string): Promise<void>;
|
package/dist/plugins.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BunupPlugin, MaybePromise, Plugin } from "./chunk-
|
|
1
|
+
import { BunupPlugin, MaybePromise, Plugin } from "./chunk-76m1hp4m";
|
|
2
2
|
/**
|
|
3
3
|
* A plugin that provides shims for Node.js globals and ESM/CJS interoperability.
|
|
4
4
|
*/
|
|
@@ -13,7 +13,7 @@ interface ExportsPluginOptions {
|
|
|
13
13
|
* A plugin that generates the exports field in the package.json file automatically.
|
|
14
14
|
*/
|
|
15
15
|
declare function exports(options?: ExportsPluginOptions): BunupPlugin;
|
|
16
|
-
type InjectStylesPluginOptions = Pick<import("lightningcss").TransformOptions<import("lightningcss").CustomAtRules>, sourceMap | inputSourceMap | "targets" | nonStandard | "minify" | pseudoClasses | unusedSymbols | errorRecovery | "visitor" | customAtRules | "include" | "exclude" | "drafts"> & {
|
|
16
|
+
type InjectStylesPluginOptions = Pick<import("lightningcss").TransformOptions<import("lightningcss").CustomAtRules>, "sourceMap" | "inputSourceMap" | "targets" | "nonStandard" | "minify" | "pseudoClasses" | "unusedSymbols" | "errorRecovery" | "visitor" | "customAtRules" | "include" | "exclude" | "drafts"> & {
|
|
17
17
|
inject?: (css: string, filePath: string) => MaybePromise<string>
|
|
18
18
|
};
|
|
19
19
|
/**
|
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.39",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@clack/prompts": "^0.10.1",
|
|
49
|
-
"bun-dts": "^0.1.
|
|
49
|
+
"bun-dts": "^0.1.70",
|
|
50
50
|
"chokidar": "^4.0.3",
|
|
51
51
|
"coffi": "^0.1.31",
|
|
52
52
|
"giget": "^2.0.0",
|