Files
Kordant/tasks/rebrand-to-kordant/03-update-web-package-scope-and-imports.md
2026-05-25 21:53:01 -04:00

1.4 KiB

03. Update @shieldai/* Package Scopes and Web Imports

meta: id: rebrand-to-kordant-03 feature: rebrand-to-kordant priority: P0 depends_on: [rebrand-to-kordant-01] tags: [infrastructure, packages]

objective:

  • Rename all @shieldai/* package scopes to @kordant/* across the monorepo and update all corresponding import statements.

deliverables:

  • browser-ext/package.json — "name": "@shieldai/browser-ext""@kordant/browser-ext"
  • All files importing @shieldai/* — import paths updated to @kordant/*
  • All plan files referencing @shieldai/* — updated

steps:

  1. Edit browser-ext/package.json — change package scope from @shieldai to @kordant
  2. Search and replace all @shieldai/@kordant/ across:
    • web/src/**/*.ts
    • web/src/**/*.tsx
    • browser-ext/**/*.ts
    • browser-ext/**/*.tsx
    • plans/*.md
  3. Verify no @shieldai/ references remain in source code

tests:

  • Build: pnpm build succeeds (after scope update)
  • Grep: grep -rn "@shieldai/" web/src/ browser-ext/src/ returns empty

acceptance_criteria:

  • pnpm --filter @kordant/browser-ext ... commands resolve correctly
  • All import statements across the monorepo use @kordant/ scope
  • No @shieldai/ string remains in any package.json or source file

validation:

  • Run grep -rn "from \"@shieldai/" web/src/ browser-ext/src/ — expect zero
  • Run grep -rn "@shieldai/" package.json browser-ext/package.json — expect zero