bunup 0.8.40 → 0.8.41

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.
@@ -250,11 +250,9 @@ async function build(partialOptions, rootDir = process.cwd()) {
250
250
  const dtsExtension = getDefaultDtsExtention(fmt, packageType);
251
251
  const relativePathToOutputDir = cleanPath(`${file.pathInfo.outputPathWithoutExtension}${dtsExtension}`);
252
252
  const relativePathToRootDir = cleanPath(`${options.outDir}/${relativePathToOutputDir}`);
253
- if (file.kind === "entry-point") {
254
- logger.success(`${pc.dim(options.outDir)}/${relativePathToOutputDir}`, {
255
- identifier: options.name
256
- });
257
- }
253
+ logger.success(`${pc.dim(options.outDir)}/${relativePathToOutputDir}`, {
254
+ identifier: options.name
255
+ });
258
256
  const fullPath = path.join(rootDir, relativePathToRootDir);
259
257
  await Bun.write(fullPath, file.dts);
260
258
  buildOutput.files.push({
package/dist/cli/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  build,
5
5
  createBuildOptions
6
- } from "../chunk-ezebvktr.js";
6
+ } from "../chunk-5ng6vk19.js";
7
7
  import"../plugins/index.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.40";
29
+ var version = "0.8.39";
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-ezebvktr.js";
4
+ } from "./chunk-5ng6vk19.js";
5
5
  import"./plugins/index.js";
6
6
  import"./chunk-gh7z7s46.js";
7
7
  import"./chunk-c1eyecm3.js";
package/package.json CHANGED
@@ -1,102 +1,93 @@
1
1
  {
2
- "name": "bunup",
3
- "description": "⚡ A blazing-fast build tool for your libraries built with Bun.",
4
- "version": "0.8.40",
5
- "type": "module",
6
- "files": [
7
- "dist"
8
- ],
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- },
16
- "./cli": {
17
- "import": "./dist/cli/index.js"
18
- },
19
- "./plugins": {
20
- "import": "./dist/plugins/index.js",
21
- "types": "./dist/plugins/index.d.ts"
22
- }
23
- },
24
- "license": "MIT",
25
- "author": "Arshad Yaseen <m@arshadyaseen.com> (https://arshadyaseen.com)",
26
- "maintainers": [
27
- {
28
- "name": "Arshad Yaseen",
29
- "email": "m@arshadyaseen.com",
30
- "url": "https://arshadyaseen.com"
31
- }
32
- ],
33
- "repository": {
34
- "type": "git",
35
- "url": "git+https://github.com/arshad-yaseen/bunup.git"
36
- },
37
- "funding": "https://github.com/sponsors/arshad-yaseen",
38
- "homepage": "https://bunup.dev",
39
- "keywords": [
40
- "bun",
41
- "bunup",
42
- "bun-bundler"
43
- ],
44
- "bin": {
45
- "bunup": "dist/cli/index.js"
46
- },
47
- "dependencies": {
48
- "@clack/prompts": "^0.10.1",
49
- "bun-dts": "^0.1.70",
50
- "chokidar": "^4.0.3",
51
- "coffi": "^0.1.31",
52
- "giget": "^2.0.0",
53
- "picocolors": "^1.1.1",
54
- "replace-in-file": "^8.3.0",
55
- "tinyexec": "^1.0.1"
56
- },
57
- "devDependencies": {
58
- "@biomejs/biome": "^1.9.4",
59
- "@types/bun": "^1.2.5",
60
- "bumpp": "^10.1.0",
61
- "husky": "^9.1.7",
62
- "lightningcss": "^1.30.1",
63
- "lint-staged": "^15.5.1",
64
- "typescript": "^5.8.3"
65
- },
66
- "peerDependencies": {
67
- "typescript": ">=4.5.0",
68
- "lightningcss": ">=1.17.0"
69
- },
70
- "peerDependenciesMeta": {
71
- "typescript": {
72
- "optional": true
73
- },
74
- "lightningcss": {
75
- "optional": true
76
- }
77
- },
78
- "scripts": {
79
- "build": "bunx bunup@latest",
80
- "build:docs": "bun run --cwd docs build",
81
- "dev": "bunx bunup@latest --watch",
82
- "dev:docs": "bun run --cwd docs dev",
83
- "format": "biome format .",
84
- "format:fix": "biome format --write .",
85
- "lint": "biome check .",
86
- "lint:fix": "biome check --write .",
87
- "prepare": "husky",
88
- "test": "bun test",
89
- "test-build": "bun run --cwd tests build",
90
- "tsc": "tsc --noEmit",
91
- "publish:ci": "bun publish --access public --no-git-checks",
92
- "release": "bumpp"
93
- },
94
- "lint-staged": {
95
- "*": "bun run format:fix && git add .",
96
- "src/**/*.(m|c)?(j|t)s": "bun run tsc"
97
- },
98
- "workspaces": [
99
- "docs",
100
- "tests"
101
- ]
102
- }
2
+ "name": "bunup",
3
+ "description": "⚡ A blazing-fast build tool for your libraries built with Bun.",
4
+ "version": "0.8.41",
5
+ "type": "module",
6
+ "files": ["dist"],
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./cli": {
15
+ "import": "./dist/cli/index.js"
16
+ },
17
+ "./plugins": {
18
+ "import": "./dist/plugins/index.js",
19
+ "types": "./dist/plugins/index.d.ts"
20
+ }
21
+ },
22
+ "license": "MIT",
23
+ "author": "Arshad Yaseen <m@arshadyaseen.com> (https://arshadyaseen.com)",
24
+ "maintainers": [
25
+ {
26
+ "name": "Arshad Yaseen",
27
+ "email": "m@arshadyaseen.com",
28
+ "url": "https://arshadyaseen.com"
29
+ }
30
+ ],
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/arshad-yaseen/bunup.git"
34
+ },
35
+ "funding": "https://github.com/sponsors/arshad-yaseen",
36
+ "homepage": "https://bunup.dev",
37
+ "keywords": ["bun", "bunup", "bun-bundler"],
38
+ "bin": {
39
+ "bunup": "dist/cli/index.js"
40
+ },
41
+ "dependencies": {
42
+ "@clack/prompts": "^0.10.1",
43
+ "bun-dts": "^0.1.70",
44
+ "chokidar": "^4.0.3",
45
+ "coffi": "^0.1.31",
46
+ "giget": "^2.0.0",
47
+ "picocolors": "^1.1.1",
48
+ "replace-in-file": "^8.3.0",
49
+ "tinyexec": "^1.0.1"
50
+ },
51
+ "devDependencies": {
52
+ "@biomejs/biome": "^1.9.4",
53
+ "@types/bun": "^1.2.5",
54
+ "bumpp": "^10.1.0",
55
+ "husky": "^9.1.7",
56
+ "lightningcss": "^1.30.1",
57
+ "lint-staged": "^15.5.1",
58
+ "typescript": "^5.8.3"
59
+ },
60
+ "peerDependencies": {
61
+ "typescript": ">=4.5.0",
62
+ "lightningcss": ">=1.17.0"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "typescript": {
66
+ "optional": true
67
+ },
68
+ "lightningcss": {
69
+ "optional": true
70
+ }
71
+ },
72
+ "scripts": {
73
+ "build": "bunx bunup@latest",
74
+ "build:docs": "bun run --cwd docs build",
75
+ "dev": "bunx bunup@latest --watch",
76
+ "dev:docs": "bun run --cwd docs dev",
77
+ "format": "biome format .",
78
+ "format:fix": "biome format --write .",
79
+ "lint": "biome check .",
80
+ "lint:fix": "biome check --write .",
81
+ "prepare": "husky",
82
+ "test": "bun test",
83
+ "test-build": "bun run --cwd tests build",
84
+ "tsc": "tsc --noEmit",
85
+ "publish:ci": "bun publish --access public --no-git-checks",
86
+ "release": "bumpp"
87
+ },
88
+ "lint-staged": {
89
+ "*": "bun run format:fix && git add .",
90
+ "src/**/*.(m|c)?(j|t)s": "bun run tsc"
91
+ },
92
+ "workspaces": ["docs", "tests"]
93
+ }