Skip to content

refactor: rename directories and unify command packages per domain#10993

Merged
zkochan merged 4 commits into
mainfrom
refactor-domains
Mar 17, 2026
Merged

refactor: rename directories and unify command packages per domain#10993
zkochan merged 4 commits into
mainfrom
refactor-domains

Conversation

@zkochan

@zkochan zkochan commented Mar 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Rename installing/coreinstalling/deps-installer and installing/headlessinstalling/deps-restorer for clearer naming
  • Rename all plugin-commands-* directories to use -commands suffix convention
  • Merge multiple command packages per domain into a single commands/ directory (one commands package per domain rule):
    • building/{build-commands,policy-commands}building/commands
    • deps/compliance/{audit-commands,licenses-commands,sbom-commands}deps/compliance/commands
    • deps/inspection/{listing-commands,outdated-commands}deps/inspection/commands
    • store/{store-commands,inspecting-commands}store/commands
    • releasing/{publish-commands,deploy-commands}releasing/commands
    • cli/{completion-commands,doctor-commands}cli/commands
    • engine/pm/{self-updater-commands,setup-commands}engine/pm/commands
    • engine/runtime/{runtime-commands,env-commands}engine/runtime/commands
    • cache/cache-commandscache/commands
  • Fix relative paths in merged test files (pnpmBin, typings references)
  • Update jest config to ignore utils/ dirs at any nesting depth under test/
  • Fix stale package names in changeset files

Test plan

  • pnpm install resolves all workspace projects
  • pnpm run compile succeeds (includes meta-updater validation)
  • Pre-push lint/spellcheck/eslint passes
  • CI: Compile & Lint passes
  • CI: ubuntu-latest / Node.js 24 tests pass
  • CI: remaining matrix (Node 22, 25, Windows)

zkochan and others added 3 commits March 17, 2026 16:43
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merge multiple command packages into one `commands/` directory per domain:
- building: build-commands + policy-commands
- cli: completion-commands + doctor-commands
- deps/compliance: audit-commands + licenses-commands + sbom-commands
- deps/inspection: listing-commands + outdated-commands
- engine/pm: self-updater-commands + setup-commands
- engine/runtime: commands + env-commands
- releasing: deploy-commands + publish-commands
- store: store-commands + store-inspecting-commands

Rename single command packages to commands/:
- config, exec, installing, patching, workspace

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…e names

Fix broken pnpmBin and __typings__ reference paths in test files that
moved one level deeper during command package merges. Also fix remaining
stale package names in changeset files and update jest config to ignore
utils dirs at any nesting depth under test/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zkochan zkochan marked this pull request as ready for review March 17, 2026 16:30
Copilot AI review requested due to automatic review settings March 17, 2026 16:30
@zkochan zkochan changed the title refactor: rename core to deps-installer and headless to deps-restorer refactor: rename directories and unify command packages per domain Mar 17, 2026
@zkochan zkochan merged commit 7a304b1 into main Mar 17, 2026
12 checks passed
@zkochan zkochan deleted the refactor-domains branch March 17, 2026 16:42
@zkochan zkochan review requested due to automatic review settings March 23, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant