You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs/guides/install-modules.md:18-20 tells a developer to upgrade a module by running nx add @acme/auth again, or by changing the pin. With several modules recorded in .nexy/modules.json, there is no single command that refreshes them all, reports what changed and
leaves pinned versions alone.
Change to make
Add nx update for modules. It reads .nexy/modules.json, resolves the newest allowed release
for each unpinned module from useModuleRegistry, keeps exact pins, and reuses the same checksum,
compatibility, file, dependency and config-hook path as nx add. It prints one plain line per
module with the old and the new version, skips modules that are already current, and writes the
manifest only after a successful update. Add --migrate with the same meaning as in nx add, and --dry-run to list the changes without writing them.
Out of scope
Framework upgrades (nx upgrade) and publishing releases to the registry have their own issues.
Checks
Unit tests with a fake registry cover one unpinned upgrade, one pinned module left unchanged, a
checksum failure, a compatibility failure and a dry run. The command appears in the CLI overview
and help. docs/reference/cli.md and docs/guides/install-modules.md describe it, with
translations regenerated.
Activity