Feature description
Two related limitations currently make --dev installs unusable in forks with multi-org workspace packages and impossible to run without the UI:
--dev has no effect in headless mode. bin/install.js explicitly logs "IMPORTANT: dev mode flag currently has no effect when running in headless mode" and falls through to a regular install. This prevents scripting, CI, or agent-driven dev setups.
cloneRepo hardcodes the adapt-security GitHub org. Any workspace module from another org (e.g. @cgkineo/*, adaptlearning/adapt-cli, cgkineo/adapt-schemas) cannot be cloned by the dev install — cloneRepo.js builds https://github.com/adapt-security/${repo}.git unconditionally.
Proposed solution
Introduce a repos.json config file at the umbrella root that enumerates workspace packages and their git URLs. When install --dev runs headlessly (or in the UI), read this config to drive installLocalModules. Make cloneRepo accept an optional explicit url so callers can override the hardcoded base. Backward compatible — falls back to existing behaviour when no config / no url is provided.
Can you work on this feature?
Feature description
Two related limitations currently make
--devinstalls unusable in forks with multi-org workspace packages and impossible to run without the UI:--devhas no effect in headless mode.bin/install.jsexplicitly logs"IMPORTANT: dev mode flag currently has no effect when running in headless mode"and falls through to a regular install. This prevents scripting, CI, or agent-driven dev setups.cloneRepohardcodes theadapt-securityGitHub org. Any workspace module from another org (e.g.@cgkineo/*,adaptlearning/adapt-cli,cgkineo/adapt-schemas) cannot be cloned by the dev install —cloneRepo.jsbuildshttps://github.com/adapt-security/${repo}.gitunconditionally.Proposed solution
Introduce a
repos.jsonconfig file at the umbrella root that enumerates workspace packages and their git URLs. Wheninstall --devruns headlessly (or in the UI), read this config to driveinstallLocalModules. MakecloneRepoaccept an optional expliciturlso callers can override the hardcoded base. Backward compatible — falls back to existing behaviour when no config / no url is provided.Can you work on this feature?