Skip to content

Commit 381cb2f

Browse files
committed
refactor(cli): remove obsolete package layout
1 parent 23c0629 commit 381cb2f

27 files changed

Lines changed: 52 additions & 561 deletions

‎docs/cli-exe-migration.md‎

Lines changed: 0 additions & 173 deletions
This file was deleted.

‎docs/design/optimize-doctor-split.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The split in one line: **doctor enforces time, optimize enforces shape.**
3030

3131
## The doctor command (new)
3232

33-
`packages/cli/src/commands/doctor/` - first pass is deliberately small:
33+
`src/command/doctor/` - first pass is deliberately small:
3434

3535
1. **Soak-time enforcement** (moved from the optimize draft):
3636
`ensurePnpmWorkspaceMinReleaseAge(repoRoot)` for pnpm repos - add at

‎docs/references/repo/bazel-extension-probe.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bazel mod show_extension @rules_jvm_external//:extensions.bzl%maven
88

99
That command exits non-zero in two situations that mean opposite things. Telling
1010
them apart is the whole job of the classifier in
11-
`packages/cli/src/commands/manifest/bazel/bazel-repo-discovery.mts`, and getting
11+
`src/command/manifest/bazel/bazel-repo-discovery.mts`, and getting
1212
it wrong is a security problem rather than a cosmetic one.
1313

1414
## The two failures

‎docs/references/repo/e2e-scratch-isolation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
End-to-end tests run the real CLI, which means they run code that wants to
44
write to a home directory: config files, package-manager caches, credential
55
stores. Left alone, a test run would scribble on the machine it runs on. The
6-
helpers in `packages/cli/test/helpers/cli-execution.mts` prevent that by
6+
helpers in `test/helpers/cli-execution.mts` prevent that by
77
pointing every such variable at a throwaway directory.
88

99
There are two helpers because there are two ways a test reaches the CLI, and

0 commit comments

Comments
 (0)