bunli 0.9.0 → 0.9.1
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/README.md +26 -17
- package/dist/cli.js +48 -1455
- package/dist/commands/build.d.ts +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/dev.d.ts +1 -1
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/doctor/completions.d.ts +1 -1
- package/dist/commands/doctor/completions.d.ts.map +1 -1
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/generate.d.ts +1 -1
- package/dist/commands/generate.d.ts.map +1 -1
- package/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/prompt/choose.d.ts +1 -1
- package/dist/commands/prompt/choose.d.ts.map +1 -1
- package/dist/commands/prompt/confirm.d.ts +1 -1
- package/dist/commands/prompt/confirm.d.ts.map +1 -1
- package/dist/commands/prompt/file.d.ts +1 -1
- package/dist/commands/prompt/file.d.ts.map +1 -1
- package/dist/commands/prompt/filter.d.ts +1 -1
- package/dist/commands/prompt/filter.d.ts.map +1 -1
- package/dist/commands/prompt/format.d.ts +1 -1
- package/dist/commands/prompt/format.d.ts.map +1 -1
- package/dist/commands/prompt/input.d.ts +2 -2
- package/dist/commands/prompt/input.d.ts.map +1 -1
- package/dist/commands/prompt/join.d.ts +1 -1
- package/dist/commands/prompt/join.d.ts.map +1 -1
- package/dist/commands/prompt/log.d.ts +1 -1
- package/dist/commands/prompt/log.d.ts.map +1 -1
- package/dist/commands/prompt/pager.d.ts +1 -1
- package/dist/commands/prompt/pager.d.ts.map +1 -1
- package/dist/commands/prompt/spin.d.ts +1 -1
- package/dist/commands/prompt/spin.d.ts.map +1 -1
- package/dist/commands/prompt/style.d.ts +1 -1
- package/dist/commands/prompt/style.d.ts.map +1 -1
- package/dist/commands/prompt/write.d.ts +2 -2
- package/dist/commands/prompt/write.d.ts.map +1 -1
- package/dist/commands/release.d.ts +3 -3
- package/dist/commands/release.d.ts.map +1 -1
- package/dist/commands/shell.d.ts.map +1 -1
- package/dist/commands/test.d.ts +1 -1
- package/dist/commands/test.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/utils/install-check.d.ts +3 -0
- package/dist/utils/install-check.d.ts.map +1 -0
- package/dist/utils/release-state.d.ts +2 -2
- package/dist/utils/release-state.d.ts.map +1 -1
- package/package.json +27 -27
- package/dist/highlights-eq9cgrbb.scm +0 -604
- package/dist/highlights-ghv9g403.scm +0 -205
- package/dist/highlights-hk7bwhj4.scm +0 -284
- package/dist/highlights-r812a2qc.scm +0 -150
- package/dist/highlights-x6tmsnaa.scm +0 -115
- package/dist/injections-73j83es3.scm +0 -27
- package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
- package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
- package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
- package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
- package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
package/dist/commands/build.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;AAwDxB,wBAyDG"}
|
package/dist/commands/dev.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare function resolveWatchDirectory(entryPath: string, configuredDirectory?: string): string | null;
|
|
3
3
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
4
4
|
entry: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,EACjB,mBAAmB,CAAC,EAAE,MAAM,GAC3B,MAAM,GAAG,IAAI,CA2Bf;;;;;;;;;;;AAED,wBAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../../src/commands/doctor/completions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../../src/commands/doctor/completions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;AAuKxB,wBA+IG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":";AAIA,wBAIG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;AAYxB,wBA6BG"}
|
package/dist/commands/init.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
name: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
4
4
|
template: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodEnum<{
|
|
@@ -9,7 +9,7 @@ declare const _default: import("@bunli/core").RunnableCommand<{
|
|
|
9
9
|
dir: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
10
10
|
git: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodBoolean>>;
|
|
11
11
|
install: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodBoolean>>;
|
|
12
|
-
|
|
12
|
+
"package-manager": import("@bunli/core").CLIOption<z.ZodDefault<z.ZodEnum<{
|
|
13
13
|
bun: "bun";
|
|
14
14
|
npm: "npm";
|
|
15
15
|
pnpm: "pnpm";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;AAExB,wBA+FG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
multiple: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
4
4
|
limit: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choose.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/choose.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"choose.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/choose.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;AAExB,wBAwCG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
default: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
4
4
|
affirmative: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/confirm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"confirm.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/confirm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;AAExB,wBAsBG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
path: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
4
4
|
files: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/file.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/file.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;AAExB,wBAsEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/filter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/filter.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;AAExB,wBAoCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/format.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/format.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;AAExB,wBA+CG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
placeholder: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
4
4
|
prompt: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
5
5
|
value: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
6
|
-
|
|
6
|
+
"char-limit": import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
|
|
7
7
|
}, {}, string> & {
|
|
8
8
|
name: "input";
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/input.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;AAExB,wBAkBG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
horizontal: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
4
4
|
separator: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"join.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/join.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"join.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/join.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;AAmCxB,wBAsEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/log.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/log.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;AAExB,wBA4CG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pager.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/pager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"pager.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/pager.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;AAExB,wBAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spin.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/spin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"spin.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/spin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;AAExB,wBA0CG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/style.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/style.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;AAExB,wBA8CG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
placeholder: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
4
4
|
value: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
|
|
5
|
-
|
|
5
|
+
"char-limit": import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
|
|
6
6
|
height: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
|
|
7
7
|
}, {}, string> & {
|
|
8
8
|
name: "write";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/write.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"write.d.ts","sourceRoot":"","sources":["../../../src/commands/prompt/write.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;AAExB,wBAoBG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PromptApi } from
|
|
2
|
-
import { z } from
|
|
1
|
+
import type { PromptApi } from "@bunli/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
interface PublishedPlatformPackage {
|
|
4
4
|
platform: string;
|
|
5
5
|
packageName: string;
|
|
@@ -28,6 +28,6 @@ declare const _default: import("@bunli/core").RunnableCommand<{
|
|
|
28
28
|
};
|
|
29
29
|
export default _default;
|
|
30
30
|
export declare function determineVersion(versionFlag: string | undefined, current: string, prompt: PromptApi): Promise<string>;
|
|
31
|
-
export declare function bumpVersion(version: string, type:
|
|
31
|
+
export declare function bumpVersion(version: string, type: "patch" | "minor" | "major"): string;
|
|
32
32
|
export declare function updatePackageVersion(version: string): Promise<void>;
|
|
33
33
|
//# sourceMappingURL=release.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../src/commands/release.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release.d.ts","sourceRoot":"","sources":["../../src/commands/release.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAe,SAAS,EAAsC,MAAM,aAAa,CAAC;AAI9F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4CxB,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAqBD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAK5D;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAoBlE;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,MAAM,CAER;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,wBAAwB,EAAE,GACpC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CASxB;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,EAAE,CAExD;;;;;;;;;;;;;;;;AAED,wBA8DG;AAqdH,wBAAsB,gBAAgB,CACpC,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,MAAM,CAAC,CAyBjB;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAWtF;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,iBAIzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/commands/shell.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/commands/shell.ts"],"names":[],"mappings":";AAeA,wBAiBG"}
|
package/dist/commands/test.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
declare const _default: import("@bunli/core").RunnableCommand<{
|
|
3
3
|
pattern: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
4
4
|
watch: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/commands/test.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../src/commands/test.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;AAExB,wBA8FG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { loadConfig } from
|
|
2
|
-
export { defineConfig, type BunliConfig } from
|
|
3
|
-
export { findEntry } from
|
|
1
|
+
export { loadConfig } from "@bunli/core";
|
|
2
|
+
export { defineConfig, type BunliConfig } from "@bunli/core";
|
|
3
|
+
export { findEntry } from "./utils/find-entry.js";
|
|
4
4
|
export declare const version = "0.1.0";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAG7D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-check.d.ts","sourceRoot":"","sources":["../../src/utils/install-check.ts"],"names":[],"mappings":"AAWA,wBAAgB,+BAA+B,CAAC,GAAG,GAAE,MAAsB,GAAG,OAAO,CAEpF;AAED,wBAAgB,yBAAyB,CACvC,WAAW,EAAE,MAAM,EACnB,GAAG,GAAE,MAAsB,GAC1B,MAAM,CAER"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const RELEASE_STATE_PATH: string;
|
|
2
|
-
export type ReleaseStepId =
|
|
2
|
+
export type ReleaseStepId = "run-tests" | "update-version" | "build-project" | "publish-platform-packages" | "update-main-package-for-binary" | "generate-shim" | "create-git-tag" | "publish-npm" | "create-github-release";
|
|
3
3
|
export interface ReleaseStatePlatformInfo {
|
|
4
4
|
packageName: string;
|
|
5
5
|
version: string;
|
|
@@ -15,7 +15,7 @@ export interface ReleaseState {
|
|
|
15
15
|
platforms: string[];
|
|
16
16
|
shimPath?: string;
|
|
17
17
|
};
|
|
18
|
-
status:
|
|
18
|
+
status: "in_progress" | "failed";
|
|
19
19
|
currentStep?: ReleaseStepId;
|
|
20
20
|
completedSteps: ReleaseStepId[];
|
|
21
21
|
binary?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-state.d.ts","sourceRoot":"","sources":["../../src/utils/release-state.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release-state.d.ts","sourceRoot":"","sources":["../../src/utils/release-state.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,QAA4C,CAAC;AAE5E,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,gBAAgB,GAChB,eAAe,GACf,2BAA2B,GAC3B,gCAAgC,GAChC,eAAe,GACf,gBAAgB,GAChB,aAAa,GACb,uBAAuB,CAAC;AAE5B,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE;QACP,UAAU,EAAE,OAAO,CAAC;QACpB,aAAa,EAAE,OAAO,CAAC;QACvB,aAAa,EAAE,OAAO,CAAC;QACvB,SAAS,EAAE,MAAM,EAAE,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,EAAE,aAAa,GAAG,QAAQ,CAAC;IACjC,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,MAAM,CAAC,EAAE;QACP,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;KAC9D,CAAC;IACF,SAAS,CAAC,EAAE;QACV,IAAI,EAAE,aAAa,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,YAAY,CAmBf;AAuDD,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAcrE;AAED,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAI1E;AAED,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAEvD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAG9E;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAKhF;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAQ9F;AAED,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,GACd,IAAI,CAKN;AAED,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,YAAY,GAAG,KAAK,CAAC;IACzE,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC,CAQD"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bunli",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "0.9.1",
|
|
5
4
|
"description": "The Bunli CLI toolchain for developing, building, and distributing CLIs",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"build-tool",
|
|
7
|
+
"bun",
|
|
8
|
+
"bunli",
|
|
9
|
+
"cli",
|
|
10
|
+
"development",
|
|
11
|
+
"toolchain",
|
|
12
|
+
"typescript"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/AryaLabsHQ/bunli#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/AryaLabsHQ/bunli/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "Arya Labs, Inc.",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/AryaLabsHQ/bunli.git",
|
|
23
|
+
"directory": "packages/cli"
|
|
24
|
+
},
|
|
6
25
|
"bin": {
|
|
7
26
|
"bunli": "./dist/cli.js"
|
|
8
27
|
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"type": "module",
|
|
9
32
|
"module": "./dist/index.js",
|
|
10
33
|
"types": "./dist/index.d.ts",
|
|
11
34
|
"exports": {
|
|
@@ -14,29 +37,6 @@
|
|
|
14
37
|
"types": "./dist/index.d.ts"
|
|
15
38
|
}
|
|
16
39
|
},
|
|
17
|
-
"files": [
|
|
18
|
-
"dist"
|
|
19
|
-
],
|
|
20
|
-
"author": "Arya Labs, Inc.",
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://github.com/AryaLabsHQ/bunli.git",
|
|
25
|
-
"directory": "packages/cli"
|
|
26
|
-
},
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/AryaLabsHQ/bunli/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/AryaLabsHQ/bunli#readme",
|
|
31
|
-
"keywords": [
|
|
32
|
-
"bunli",
|
|
33
|
-
"cli",
|
|
34
|
-
"toolchain",
|
|
35
|
-
"bun",
|
|
36
|
-
"typescript",
|
|
37
|
-
"build-tool",
|
|
38
|
-
"development"
|
|
39
|
-
],
|
|
40
40
|
"scripts": {
|
|
41
41
|
"dev": "bun run src/cli.ts",
|
|
42
42
|
"build": "bun run scripts/build.ts && bun run tsgo",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"prepublishOnly": "bun run build"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@bunli/core": "^0.9.
|
|
50
|
+
"@bunli/core": "^0.9.1",
|
|
51
51
|
"@bunli/generator": "^0.6.5",
|
|
52
52
|
"@bunli/plugin-completions": "^0.3.5",
|
|
53
53
|
"@bunli/tui": "^0.6.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"zod": "^4.3.6"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@tsconfig/bun": "1.0.10",
|
|
60
59
|
"@bunli/test": "^0.6.0",
|
|
60
|
+
"@tsconfig/bun": "1.0.10",
|
|
61
61
|
"@types/bun": "1.3.10",
|
|
62
62
|
"typescript": "^6.0.2"
|
|
63
63
|
}
|