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(outdated): clarify monorepo tag pattern matching for virtual subdirectory deps
- Document that {name} in patterned tags is derived from virtual_path
basename for virtual subdirectory packages (e.g. packages/my-pkg).
- Add example row showing monorepo virtual dep in sample output.
- Add concrete apm.yml example with path: for monorepo deps.
Follow-up to #1504 and #1893.
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/cli/outdated.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ apm outdated [OPTIONS]
18
18
`apm outdated` reads `apm.lock.yaml` and queries each remote to detect staleness:
19
19
20
20
-**Plain tag-pinned deps** (e.g. `v1.2.3` or `1.2.3`): semver compare against the latest matching remote tag.
21
-
-**Patterned tag-pinned deps** (e.g. `my-pkg_v1.2.3`, `my-pkg--v1.2.3`, or `my-pkg-v1.2.3`): semver compare against the latest tag matching the package-specific pattern inferred from the locked ref.
21
+
-**Patterned tag-pinned deps** (e.g. `my-pkg_v1.2.3`, `my-pkg--v1.2.3`, or `my-pkg-v1.2.3`): semver compare against the latest tag matching the package-specific pattern inferred from the locked ref. For virtual subdirectory packages (installed via `path:` in `apm.yml`), `{name}` is derived from the final path segment, so a dep with `path: packages/my-pkg` resolves tags like `my-pkg_v1.2.3`.
22
22
-**Full-SHA revision-pinned deps**: compare the pinned SHA against the commit behind the latest annotated semver tag. Branches and lightweight tags are ignored.
23
23
-**Branch-pinned deps** (e.g. `main`): compare the locked commit SHA against the remote branch tip.
24
24
-**Default-branch deps** (no ref): compare against `main`/`master` tip.
@@ -57,6 +57,7 @@ Sample output:
57
57
acme/prompt-pack main 9c1ab2f0 outdated git branch
0 commit comments