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.
- package/dist/{chunk-ezebvktr.js → chunk-5ng6vk19.js} +3 -5
- package/dist/cli/index.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +92 -101
|
@@ -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
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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-
|
|
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.
|
|
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
package/package.json
CHANGED
|
@@ -1,102 +1,93 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
+
}
|