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.
Files changed (60) hide show
  1. package/README.md +26 -17
  2. package/dist/cli.js +48 -1455
  3. package/dist/commands/build.d.ts +1 -1
  4. package/dist/commands/build.d.ts.map +1 -1
  5. package/dist/commands/dev.d.ts +1 -1
  6. package/dist/commands/dev.d.ts.map +1 -1
  7. package/dist/commands/doctor/completions.d.ts +1 -1
  8. package/dist/commands/doctor/completions.d.ts.map +1 -1
  9. package/dist/commands/doctor.d.ts.map +1 -1
  10. package/dist/commands/generate.d.ts +1 -1
  11. package/dist/commands/generate.d.ts.map +1 -1
  12. package/dist/commands/init.d.ts +2 -2
  13. package/dist/commands/init.d.ts.map +1 -1
  14. package/dist/commands/prompt/choose.d.ts +1 -1
  15. package/dist/commands/prompt/choose.d.ts.map +1 -1
  16. package/dist/commands/prompt/confirm.d.ts +1 -1
  17. package/dist/commands/prompt/confirm.d.ts.map +1 -1
  18. package/dist/commands/prompt/file.d.ts +1 -1
  19. package/dist/commands/prompt/file.d.ts.map +1 -1
  20. package/dist/commands/prompt/filter.d.ts +1 -1
  21. package/dist/commands/prompt/filter.d.ts.map +1 -1
  22. package/dist/commands/prompt/format.d.ts +1 -1
  23. package/dist/commands/prompt/format.d.ts.map +1 -1
  24. package/dist/commands/prompt/input.d.ts +2 -2
  25. package/dist/commands/prompt/input.d.ts.map +1 -1
  26. package/dist/commands/prompt/join.d.ts +1 -1
  27. package/dist/commands/prompt/join.d.ts.map +1 -1
  28. package/dist/commands/prompt/log.d.ts +1 -1
  29. package/dist/commands/prompt/log.d.ts.map +1 -1
  30. package/dist/commands/prompt/pager.d.ts +1 -1
  31. package/dist/commands/prompt/pager.d.ts.map +1 -1
  32. package/dist/commands/prompt/spin.d.ts +1 -1
  33. package/dist/commands/prompt/spin.d.ts.map +1 -1
  34. package/dist/commands/prompt/style.d.ts +1 -1
  35. package/dist/commands/prompt/style.d.ts.map +1 -1
  36. package/dist/commands/prompt/write.d.ts +2 -2
  37. package/dist/commands/prompt/write.d.ts.map +1 -1
  38. package/dist/commands/release.d.ts +3 -3
  39. package/dist/commands/release.d.ts.map +1 -1
  40. package/dist/commands/shell.d.ts.map +1 -1
  41. package/dist/commands/test.d.ts +1 -1
  42. package/dist/commands/test.d.ts.map +1 -1
  43. package/dist/index.d.ts +3 -3
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/utils/install-check.d.ts +3 -0
  46. package/dist/utils/install-check.d.ts.map +1 -0
  47. package/dist/utils/release-state.d.ts +2 -2
  48. package/dist/utils/release-state.d.ts.map +1 -1
  49. package/package.json +27 -27
  50. package/dist/highlights-eq9cgrbb.scm +0 -604
  51. package/dist/highlights-ghv9g403.scm +0 -205
  52. package/dist/highlights-hk7bwhj4.scm +0 -284
  53. package/dist/highlights-r812a2qc.scm +0 -150
  54. package/dist/highlights-x6tmsnaa.scm +0 -115
  55. package/dist/injections-73j83es3.scm +0 -27
  56. package/dist/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
  57. package/dist/tree-sitter-markdown-411r6y9b.wasm +0 -0
  58. package/dist/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
  59. package/dist/tree-sitter-typescript-zxjzwt75.wasm +0 -0
  60. package/dist/tree-sitter-zig-e78zbjpm.wasm +0 -0
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  entry: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
4
4
  outdir: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;;;AA4DvB,wBAoDE"}
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"}
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2BvB,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA2BpG;;;;;;;;;;;AAED,wBAoCE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  generatedPath: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodString>>;
4
4
  strict: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodBoolean>>;
@@ -1 +1 @@
1
- {"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../../src/commands/doctor/completions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;AAqKvB,wBAsIE"}
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":";AAGA,wBAIE"}
1
+ {"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/commands/doctor.ts"],"names":[],"mappings":";AAIA,wBAIG"}
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  entry: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
4
4
  directory: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;AAkBvB,wBA6BE"}
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"}
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
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
- 'package-manager': import("@bunli/core").CLIOption<z.ZodDefault<z.ZodEnum<{
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":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;AAGvB,wBAiGE"}
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 'zod';
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,CAAA;;;;;;;;;AAEvB,wBAkCE"}
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 'zod';
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,CAAA;;;;;;;;;AAEvB,wBAmBE"}
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 'zod';
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":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;AAIvB,wBA6DE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
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
  limit: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
@@ -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,CAAA;;;;;;;;AAEvB,wBAoCE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  type: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
4
4
  code: "code";
@@ -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,CAAA;;;;;;;;;;;;AAEvB,wBA+CE"}
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 'zod';
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
- 'char-limit': import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
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,CAAA;;;;;;;;;AAEvB,wBAkBE"}
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 'zod';
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,CAAA;;;;;;;;AAuCvB,wBA6DE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  level: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodEnum<{
4
4
  debug: "debug";
@@ -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,CAAA;;;;;;;;;;;;;AAEvB,wBAyCE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  file: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
4
4
  }, {}, string> & {
@@ -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,CAAA;;;;;;AAEvB,wBAsCE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  title: import("@bunli/core").CLIOption<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
4
4
  }, {}, string> & {
@@ -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,CAAA;;;;;;AAEvB,wBA0CE"}
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,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  declare const _default: import("@bunli/core").RunnableCommand<{
3
3
  foreground: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
4
4
  background: import("@bunli/core").CLIOption<z.ZodOptional<z.ZodString>>;
@@ -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,CAAA;;;;;;;;;;;;;AAEvB,wBAwCE"}
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 'zod';
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
- 'char-limit': import("@bunli/core").CLIOption<z.ZodOptional<z.ZodNumber>>;
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,CAAA;;;;;;;;;AAEvB,wBAoBE"}
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 '@bunli/core';
2
- import { z } from 'zod';
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: 'patch' | 'minor' | 'major'): string;
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":"AACA,OAAO,KAAK,EAAe,SAAS,EAAsC,MAAM,aAAa,CAAA;AAC7F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+CvB,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;CAChB;AAqBD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAK5D;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAgBlE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAElG;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,wBAAwB,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOlG;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,wBA6DE;AAmaF,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,CAsB3H;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAQtF;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,iBAIzD"}
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":";AAcA,wBAiBE"}
1
+ {"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/commands/shell.ts"],"names":[],"mappings":";AAeA,wBAiBG"}
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
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":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;AAOvB,wBA4FE"}
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 '@bunli/core';
2
- export { defineConfig, type BunliConfig } from '@bunli/core';
3
- export { findEntry } from './utils/find-entry.js';
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,aAAa,CAAA;AAG5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,eAAO,MAAM,OAAO,UAAU,CAAA"}
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,3 @@
1
+ export declare function hasInstalledProjectDependencies(cwd?: string): boolean;
2
+ export declare function getInstallRequiredMessage(commandName: string, cwd?: string): string;
3
+ //# sourceMappingURL=install-check.d.ts.map
@@ -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 = 'run-tests' | 'update-version' | 'build-project' | 'publish-platform-packages' | 'update-main-package-for-binary' | 'generate-shim' | 'create-git-tag' | 'publish-npm' | 'create-github-release';
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: 'in_progress' | 'failed';
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":[],"m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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.0",
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.0",
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
  }