bunup 0.8.43 → 0.8.44

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.
@@ -32,7 +32,7 @@ import pc2 from "picocolors";
32
32
  var rules = [
33
33
  {
34
34
  check: (ctx) => ctx.meta.packageJson.data?.type !== "module" && ctx.options.format.length === 1 && ctx.options.format[0] === "esm",
35
- message: 'You are using ESM format but your package.json does not have "type": "module". This may cause issues with module resolution.'
35
+ message: 'You are using ESM format only but your package.json does not have "type": "module". This may cause issues with module resolution.'
36
36
  }
37
37
  ];
38
38
  function linter() {
package/dist/cli/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  build,
5
5
  createBuildOptions
6
- } from "../chunk-mw1zvnvs.js";
6
+ } from "../chunk-8zb11ewt.js";
7
7
  import"../chunk-6gvmfnmt.js";
8
8
  import {
9
9
  processLoadedConfigs
@@ -26,7 +26,7 @@ import {
26
26
  // src/cli/index.ts
27
27
  import { exec } from "tinyexec";
28
28
  // package.json
29
- var version = "0.8.43";
29
+ var version = "0.8.44";
30
30
 
31
31
  // src/cli/options.ts
32
32
  import pc from "picocolors";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  build
4
- } from "./chunk-mw1zvnvs.js";
4
+ } from "./chunk-8zb11ewt.js";
5
5
  import"./chunk-6gvmfnmt.js";
6
6
  import"./chunk-gh7z7s46.js";
7
7
  import"./chunk-c1eyecm3.js";
package/dist/plugins.js CHANGED
@@ -16,7 +16,7 @@ var JS_TS_RE = new RegExp(`${JS_RE.source}|${TS_RE.source}`);
16
16
  var JS_DTS_RE = new RegExp(`${JS_RE.source}|${DTS_RE.source}`);
17
17
  var CSS_RE = /\.(css)$/;
18
18
 
19
- // src/plugins/shims.ts
19
+ // src/plugins/built-in/shims.ts
20
20
  function shims() {
21
21
  return {
22
22
  type: "bun",
@@ -70,7 +70,7 @@ const importMetaUrl = pathToFileURL(__filename).href;
70
70
  }
71
71
  };
72
72
  }
73
- // src/plugins/exports.ts
73
+ // src/plugins/built-in/exports.ts
74
74
  import path from "path";
75
75
  function exports(options = {}) {
76
76
  return {
@@ -177,7 +177,7 @@ function removeExtension(filePath) {
177
177
  const directory = path.dirname(filePath);
178
178
  return directory === "." ? nameWithoutExtensions : path.join(directory, nameWithoutExtensions);
179
179
  }
180
- // src/plugins/copy.ts
180
+ // src/plugins/built-in/copy.ts
181
181
  import { join } from "path";
182
182
  import { basename } from "path";
183
183
  function copy(patterns, outPath) {
@@ -201,7 +201,7 @@ function copy(patterns, outPath) {
201
201
  }
202
202
  };
203
203
  }
204
- // src/plugins/inject-styles.ts
204
+ // src/plugins/built-in/inject-styles.ts
205
205
  import path2 from "path";
206
206
  function injectStyles(options) {
207
207
  const { inject, ...transformOptions } = options ?? {};
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.43",
4
+ "version": "0.8.44",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"