feat(KB-330): rename internal packages from @kb/* to @fusion/*

- Rename @kb/core, @kb/dashboard, @kb/engine to @fusion/* namespace
- Update all import statements across 143+ files to use new package names
- Update workspace dependencies and root package.json references
- Fix bundler configurations (tsup, vite) for new package names
- Update test files and fix typecheck issues
- Add changeset file documenting the package rename
This commit is contained in:
gsxdsm
2026-03-31 13:33:44 -07:00
parent c6fe660dd9
commit fc0411713c
142 changed files with 340 additions and 328 deletions

View File

@@ -1,6 +1,6 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest";
import { GitHubRateLimiter, GitHubPollingService, githubPoller, githubRateLimiter } from "../github-poll.js";
import type { TaskStore } from "@kb/core";
import type { TaskStore } from "@fusion/core";
// Mock the GitHubClient
const mockGetBadgeStatusesBatch = vi.fn();
@@ -98,9 +98,9 @@ describe("GitHubRateLimiter", () => {
describe("GitHubPollingService", () => {
let service: GitHubPollingService;
let mockStore: TaskStore;
let mockUpdatePrInfo: vi.Mock;
let mockUpdateIssueInfo: vi.Mock;
let mockGetTask: vi.Mock;
let mockUpdatePrInfo: Mock;
let mockUpdateIssueInfo: Mock;
let mockGetTask: Mock;
beforeEach(() => {
vi.useFakeTimers();