Summary
Convoy still depends on and imports the pre-rename package @myobie/coord, which has since been renamed to smalltalk (the coord → smalltalk rename upstream). Downstream Nix packaging currently works around this by deleting the bundled @myobie/coord node module and symlinking the smalltalk package in its place — see flakes/external/convoy/flake.nix (installPhase:
rm -rf $out/lib/convoy/node_modules/@myobie/coord
ln -s ${smalltalkPkg}/lib/smalltalk $out/lib/convoy/node_modules/@myobie/coord
That shim works, but it hides the fact that convoy's own source still references the old name.
Where the legacy name lives
package.json: "@myobie/coord": "file:../smalltalk" (the dependency itself)
src/bus.ts:6: import { createBusReader } from "@myobie/coord";
- Comment references in
src/bus.ts:1 and src/bus.test.ts:7,18
Proposed fix
- In
package.json, rename the dependency @myobie/coord → @myobie/smalltalk (pointing at file:../smalltalk).
- Update
src/bus.ts:6 (and any other imports) to import from @myobie/smalltalk.
- Refresh the inline comments that mention
@myobie/coord.
This makes convoy consistent with the renamed package and removes the need for the downstream symlink shim.
Related
Decision 0076 ("retire fleet service cross-machine is coord sync") and the coord → smalltalk rename upstream.
Summary
Convoy still depends on and imports the pre-rename package
@myobie/coord, which has since been renamed tosmalltalk(thecoord → smalltalkrename upstream). Downstream Nix packaging currently works around this by deleting the bundled@myobie/coordnode module and symlinking thesmalltalkpackage in its place — seeflakes/external/convoy/flake.nix(installPhase:That shim works, but it hides the fact that convoy's own source still references the old name.
Where the legacy name lives
package.json:"@myobie/coord": "file:../smalltalk"(the dependency itself)src/bus.ts:6:import { createBusReader } from "@myobie/coord";src/bus.ts:1andsrc/bus.test.ts:7,18Proposed fix
package.json, rename the dependency@myobie/coord→@myobie/smalltalk(pointing atfile:../smalltalk).src/bus.ts:6(and any other imports) to import from@myobie/smalltalk.@myobie/coord.This makes convoy consistent with the renamed package and removes the need for the downstream symlink shim.
Related
Decision
0076("retire fleet service cross-machine is coord sync") and thecoord → smalltalkrename upstream.