git mv packages/business -> packages/organization (@mosaic/organization). The old package stays as one-line re-export shims of each moved module, with src/business.mjs re-exporting src/organization-config.mjs and src/cli.mjs forwarding to the moved executable. BusinessError is OrganizationConfigError (one constructor, name kept BusinessError); OrganizationError stays distinct. The bus adapter gains organization-context.mjs (busOrganization), with business.mjs (busBusiness) as the same function. Import consumers, manifests, the lockfile, scripts/mosaic, stack-copy.sh COPY_PATHS (both roots), seat sandbox RUNNER_FILES and the copy closure walker (organization-imports.mjs, both roots required) move to the new path. v1 serialization, v1 writers and the stage A fixtures are unchanged; the stage A contract tests stay where they were and pass as before.
5 lines
273 B
JavaScript
5 lines
273 B
JavaScript
// Old path of packages/organization/tests/helpers.mjs (rename design r2,
|
|
// stage B). rename-v1-contract.test.mjs stays here unchanged and checks the
|
|
// old deep paths and the old executable through this shim package.
|
|
export * from "../../organization/tests/helpers.mjs";
|