feat(KB-221): rename CLI binary from kb to fn

- Rename binary from 'kb' to 'fn' in package.json bin entries
- Update package-config test to expect new binary name 'fn'
- Add changeset to track the binary rename for package consumers
This commit is contained in:
gsxdsm
2026-03-30 18:15:58 -07:00
parent 919d524d9c
commit 4435659cf5
3 changed files with 10 additions and 3 deletions

View File

@@ -19,9 +19,9 @@ function loadWorkflowYaml(name: string): any {
describe("CLI package.json publishing config", () => {
const pkg = loadPackageJson("cli");
it('has "bin" field with kb pointing to ./dist/bin.js', () => {
it('has "bin" field with fn pointing to ./dist/bin.js', () => {
expect(pkg.bin).toBeDefined();
expect(pkg.bin.kb).toBe("./dist/bin.js");
expect(pkg.bin.fn).toBe("./dist/bin.js");
});
it('has "files" array with refined globs for dist output', () => {