1.4 KiB
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:
- Edit
browser-ext/package.json— change package scope from@shieldaito@kordant - Search and replace all
@shieldai/→@kordant/across:web/src/**/*.tsweb/src/**/*.tsxbrowser-ext/**/*.tsbrowser-ext/**/*.tsxplans/*.md
- Verify no
@shieldai/references remain in source code
tests:
- Build:
pnpm buildsucceeds (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