bunup 0.8.68 → 0.8.69
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/cli/index.js +6 -6
- package/dist/index.js +3 -3
- package/dist/plugins.js +2 -2
- package/dist/shared/{chunk-4gr4542b.js → chunk-29mdzdnt.js} +1 -1
- package/dist/shared/{chunk-7k3by9gb.js → chunk-388r1g46.js} +4 -3
- package/dist/shared/{chunk-388bf2qw.js → chunk-cdrh2sea.js} +2 -2
- package/dist/shared/{chunk-7fckwax6.js → chunk-gc7rjej4.js} +2 -2
- package/dist/shared/{chunk-3x99cw8v.js → chunk-ge1jevhp.js} +1 -1
- package/dist/shared/{chunk-mgcpjjkw.js → chunk-hb0esw52.js} +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import {
|
|
4
4
|
build,
|
|
5
5
|
createBuildOptions
|
|
6
|
-
} from "../shared/chunk-
|
|
7
|
-
import"../shared/chunk-
|
|
6
|
+
} from "../shared/chunk-388r1g46.js";
|
|
7
|
+
import"../shared/chunk-ge1jevhp.js";
|
|
8
8
|
import {
|
|
9
9
|
processLoadedConfigs
|
|
10
10
|
} from "../shared/chunk-295440tx.js";
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
logger,
|
|
22
22
|
parseErrorMessage,
|
|
23
23
|
setSilent
|
|
24
|
-
} from "../shared/chunk-
|
|
24
|
+
} from "../shared/chunk-hb0esw52.js";
|
|
25
25
|
|
|
26
26
|
// src/cli/index.ts
|
|
27
27
|
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.69";
|
|
32
32
|
|
|
33
33
|
// src/watch.ts
|
|
34
34
|
import path from "path";
|
|
@@ -482,12 +482,12 @@ var parseCliOptions = (argv) => {
|
|
|
482
482
|
async function main(args = Bun.argv.slice(2)) {
|
|
483
483
|
const cliOptions = parseCliOptions(args);
|
|
484
484
|
if (cliOptions.new) {
|
|
485
|
-
const { newProject } = await import("../shared/chunk-
|
|
485
|
+
const { newProject } = await import("../shared/chunk-cdrh2sea.js");
|
|
486
486
|
await newProject();
|
|
487
487
|
return;
|
|
488
488
|
}
|
|
489
489
|
if (cliOptions.init) {
|
|
490
|
-
const { init } = await import("../shared/chunk-
|
|
490
|
+
const { init } = await import("../shared/chunk-gc7rjej4.js");
|
|
491
491
|
await init();
|
|
492
492
|
return;
|
|
493
493
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
build
|
|
4
|
-
} from "./shared/chunk-
|
|
5
|
-
import"./shared/chunk-
|
|
4
|
+
} from "./shared/chunk-388r1g46.js";
|
|
5
|
+
import"./shared/chunk-ge1jevhp.js";
|
|
6
6
|
import"./shared/chunk-295440tx.js";
|
|
7
|
-
import"./shared/chunk-
|
|
7
|
+
import"./shared/chunk-hb0esw52.js";
|
|
8
8
|
// src/define.ts
|
|
9
9
|
function defineConfig(options) {
|
|
10
10
|
return options;
|
package/dist/plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
getPackageForPlugin
|
|
4
|
-
} from "./shared/chunk-
|
|
4
|
+
} from "./shared/chunk-ge1jevhp.js";
|
|
5
5
|
import {
|
|
6
6
|
CSS_RE,
|
|
7
7
|
JS_DTS_RE,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
formatListWithAnd,
|
|
11
11
|
isDirectoryPath,
|
|
12
12
|
logger
|
|
13
|
-
} from "./shared/chunk-
|
|
13
|
+
} from "./shared/chunk-hb0esw52.js";
|
|
14
14
|
|
|
15
15
|
// src/plugins/built-in/copy.ts
|
|
16
16
|
import { basename, join } from "path";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
filterBunupPlugins,
|
|
4
4
|
runPluginBuildDoneHooks,
|
|
5
5
|
runPluginBuildStartHooks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ge1jevhp.js";
|
|
7
7
|
import {
|
|
8
8
|
loadPackageJson
|
|
9
9
|
} from "./chunk-295440tx.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
parseErrorMessage,
|
|
26
26
|
setSilent,
|
|
27
27
|
silent
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-hb0esw52.js";
|
|
29
29
|
|
|
30
30
|
// src/build.ts
|
|
31
31
|
import path from "path";
|
|
@@ -82,7 +82,8 @@ function report() {
|
|
|
82
82
|
};
|
|
83
83
|
logger.space();
|
|
84
84
|
if (options.name) {
|
|
85
|
-
logger.log(pc.
|
|
85
|
+
logger.log(pc.bgMagentaBright(options.name));
|
|
86
|
+
logger.space();
|
|
86
87
|
}
|
|
87
88
|
logTable(columns, data, footer);
|
|
88
89
|
logger.space();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
displayBunupGradientArt
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-29mdzdnt.js";
|
|
5
5
|
import {
|
|
6
6
|
link,
|
|
7
7
|
pathExistsSync
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-hb0esw52.js";
|
|
9
9
|
|
|
10
10
|
// src/cli/new.ts
|
|
11
11
|
import { renameSync } from "fs";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-295440tx.js";
|
|
5
5
|
import {
|
|
6
6
|
displayBunupGradientArt
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-29mdzdnt.js";
|
|
8
8
|
import {
|
|
9
9
|
formatListWithAnd,
|
|
10
10
|
link
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-hb0esw52.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/init.ts
|
|
14
14
|
import fs from "fs";
|
|
@@ -58,7 +58,7 @@ class Logger {
|
|
|
58
58
|
return iconMap[type];
|
|
59
59
|
}
|
|
60
60
|
formatIdentifier(identifier) {
|
|
61
|
-
return identifier ? ` ${pc.
|
|
61
|
+
return identifier ? ` ${pc.bgBlueBright(` ${identifier} `)}` : "";
|
|
62
62
|
}
|
|
63
63
|
formatMessage(options) {
|
|
64
64
|
const {
|