refactor(HAI-116): rename kb to hai across all packages, CLI, and docs
- Rename npm packages from @kb/* to @hai/* and update all workspace references - Rename CLI binary from kb to hai and config directory from .kb to .hai - Update dashboard UI branding, titles, and references from kb to hai - Update all test files, CI workflows, and documentation to reflect new naming - Run comprehensive grep verification to ensure no stale kb references remain
This commit is contained in:
@@ -19,9 +19,9 @@ function loadWorkflowYaml(name: string): any {
|
||||
describe("CLI package.json publishing config", () => {
|
||||
const pkg = loadPackageJson("cli");
|
||||
|
||||
it('has "bin" field with hai pointing to ./dist/bin.js', () => {
|
||||
it('has "bin" field with kb pointing to ./dist/bin.js', () => {
|
||||
expect(pkg.bin).toBeDefined();
|
||||
expect(pkg.bin.hai).toBe("./dist/bin.js");
|
||||
expect(pkg.bin.kb).toBe("./dist/bin.js");
|
||||
});
|
||||
|
||||
it('has "files" array that includes "dist"', () => {
|
||||
@@ -35,11 +35,11 @@ describe("CLI package.json publishing config", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("Scoped @hai/* packages publishing config", () => {
|
||||
describe("Scoped @kb/* packages publishing config", () => {
|
||||
const scopedPackages = ["core", "engine", "dashboard"];
|
||||
|
||||
for (const name of scopedPackages) {
|
||||
describe(`@hai/${name}`, () => {
|
||||
describe(`@kb/${name}`, () => {
|
||||
const pkg = loadPackageJson(name);
|
||||
|
||||
it('has publishConfig with access "public"', () => {
|
||||
|
||||
Reference in New Issue
Block a user