burgee 0.10.0 → 0.11.0

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.
@@ -0,0 +1 @@
1
+ export {};
package/dist/yargs.d.ts CHANGED
@@ -1,6 +1,14 @@
1
- export { YargsInstance, isYargsInstance, type Options, type ParseCallback } from './yargs/factory.js';
1
+ import type { Argv } from './yargs/types.js';
2
+ export { YargsInstance, isYargsInstance } from './yargs/factory.js';
2
3
  export { Parser, camelCase, decamelize, looksLikeNumber, type DetailedArguments } from './yargs-parser.js';
3
4
  export { applyExtends, argsert, hideBin, isPromise, objFilter, parseCommand, YError, type ParsedCommand } from './yargs/utils.js';
4
5
  export { shim as platformShim, type PlatformShim } from './yargs/shim.js';
5
- declare const Yargs: (processArgs?: string | string[], cwd?: string, parentRequire?: NodeJS.Require) => import("./yargs/factory.js").YargsInstance;
6
+ export type { Arguments, ArgumentsCamelCase, Argv, AsyncCompletionFunction, BuilderArguments, BuilderCallback, Choices, CommandBuilder, CommandModule, CompletionCallback, Defined, FallbackCompletionFunction, InferredOptionType, InferredOptionTypeInner, InferredOptionTypePrimitive, InferredOptionTypes, MiddlewareFunction, Options, ParseCallback, ParserConfigurationOptions, PositionalOptions, PositionalOptionsType, PromiseCompletionFunction, RequireDirectoryOptions, SyncCompletionFunction, ToArray, ToNumber, ToString, } from './yargs/types.js';
7
+ /**
8
+ * Typed as @types/yargs types it (`yargs/yargs.d.ts`): a factory returning `Argv`, so a
9
+ * typed chain infers `argv` and an instance passes wherever the program says `Argv`.
10
+ * The instance is a `YargsInstance`; `facade-types.test.ts` holds every member `Argv`
11
+ * declares to one that instance really has.
12
+ */
13
+ declare const Yargs: (processArgs?: readonly string[] | string, cwd?: string, parentRequire?: NodeJS.Require) => Argv;
6
14
  export default Yargs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "burgee",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "An agent-native CLI framework, drop-in compatible with commander and yargs. One declaration; help, --json, --schema, --mcp and completions all projected from it.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -8,7 +8,7 @@
8
8
  "./dist/cli.js"
9
9
  ],
10
10
  "engines": {
11
- "node": ">=24"
11
+ "node": "^20.19.0 || >=22.13.0"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
@@ -137,7 +137,7 @@
137
137
  "llm",
138
138
  "shell-completion",
139
139
  "typescript",
140
- "zero-dependency",
140
+ "no-external-dependencies",
141
141
  "commander-alternative",
142
142
  "yargs-alternative"
143
143
  ],
@@ -146,11 +146,11 @@
146
146
  "provenance": true
147
147
  },
148
148
  "dependencies": {
149
- "bellpull": "^0.2.2",
150
- "closeout": "^0.4.0",
151
- "linegauge": "^0.4.3",
152
- "roundel": "^0.4.2",
153
- "seniority": "^0.4.2"
149
+ "bellpull": "^0.3.0",
150
+ "closeout": "^0.5.0",
151
+ "linegauge": "^0.5.0",
152
+ "roundel": "^0.5.0",
153
+ "seniority": "^0.5.0"
154
154
  },
155
155
  "devDependencies": {
156
156
  "vitest": "^5.0.1"