diff --git a/script/upstream/transforms/transform-package-json.ts b/script/upstream/transforms/transform-package-json.ts index b51fc2172dd..cbb80775135 100644 --- a/script/upstream/transforms/transform-package-json.ts +++ b/script/upstream/transforms/transform-package-json.ts @@ -35,12 +35,18 @@ const PACKAGE_NAME_MAP: Record = { } // Kilo-specific dependencies to inject into specific packages +// NOTE: When adding new Kilo-specific workspace dependencies (packages starting with @kilocode/kilo-*), +// add them here to prevent them from being removed during upstream merges const KILO_DEPENDENCIES: Record> = { // packages/opencode/package.json needs these "packages/opencode/package.json": { "@kilocode/kilo-gateway": "workspace:*", "@kilocode/kilo-telemetry": "workspace:*", }, + // packages/app/package.json needs these + "packages/app/package.json": { + "@kilocode/kilo-i18n": "workspace:*", + }, } // Packages that should have their name transformed