@teambit/harmony.content.cli-reference 2.0.1163 → 2.0.1165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.npmignore +10 -0
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +5 -1
- package/cli-reference.mdx +11 -11
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +5 -1
- package/dist/cli-reference.mdx.js +1 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1785466791445.js → preview-1785520628900.js} +2 -2
- package/package.json +2 -2
package/.npmignore
ADDED
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3876,7 +3876,7 @@
|
|
|
3876
3876
|
[
|
|
3877
3877
|
"p",
|
|
3878
3878
|
"parent",
|
|
3879
|
-
"compare the specified \"version\" to its
|
|
3879
|
+
"compare the specified \"version\" (or the current version if not specified) to its nearest meaningful ancestor, showing what changed in that version. hidden ancestors and identical un-tagged snaps (e.g. the merged snap a release-tag was created from) are skipped; tagged ancestors are never skipped"
|
|
3880
3880
|
],
|
|
3881
3881
|
[
|
|
3882
3882
|
"v",
|
|
@@ -3962,6 +3962,10 @@
|
|
|
3962
3962
|
"cmd": "diff foo 0.0.2 --parent",
|
|
3963
3963
|
"description": "compare \"foo@0.0.2\" to its parent version. showing what changed in 0.0.2"
|
|
3964
3964
|
},
|
|
3965
|
+
{
|
|
3966
|
+
"cmd": "diff foo --parent",
|
|
3967
|
+
"description": "compare the current version of \"foo\" to its parent version. showing what changed in it"
|
|
3968
|
+
},
|
|
3965
3969
|
{
|
|
3966
3970
|
"cmd": "diff foo --name-only",
|
|
3967
3971
|
"description": "list changed files and field categories without diff bodies"
|
package/cli-reference.mdx
CHANGED
|
@@ -844,17 +844,17 @@ for ai-agent workflows, use --name-only to list what changed, --file to drill in
|
|
|
844
844
|
| `version` | the base version to compare from. if omitted, compares the workspace's current files to the component's latest version. |
|
|
845
845
|
| `to-version` | the target version to compare against "version". if both "version" and "to-version" are provided, compare those two versions directly (ignoring the workspace). |
|
|
846
846
|
|
|
847
|
-
| **Option** | **Option alias** | **Description**
|
|
848
|
-
| ---------------- | :--------------: |
|
|
849
|
-
| `--parent` | `-p` | compare the specified "version" to its
|
|
850
|
-
| `--verbose` | `-v` | show a more verbose output where possible
|
|
851
|
-
| `--table` | `-t` | show tables instead of plain text for dependencies diff
|
|
852
|
-
| `--file <paths>` | | show only file diffs for the given component-relative path(s). comma-separated. implies --files-only
|
|
853
|
-
| `--files-only` | | show only file-content diffs; omit dependency, env, and aspect-config changes
|
|
854
|
-
| `--configs-only` | | show only dependency, env, and aspect-config changes; omit file-content diffs
|
|
855
|
-
| `--name-only` | | summary: list changed files with status (M/A/D) and changed field categories; no diff bodies
|
|
856
|
-
| `--stat` | | summary: like --name-only but includes +N -M line counts per file
|
|
857
|
-
| `--json` | `-j` | return the diff result as json
|
|
847
|
+
| **Option** | **Option alias** | **Description** |
|
|
848
|
+
| ---------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
849
|
+
| `--parent` | `-p` | compare the specified "version" (or the current version if not specified) to its nearest meaningful ancestor, showing what changed in that version. hidden ancestors and identical un-tagged snaps (e.g. the merged snap a release-tag was created from) are skipped; tagged ancestors are never skipped |
|
|
850
|
+
| `--verbose` | `-v` | show a more verbose output where possible |
|
|
851
|
+
| `--table` | `-t` | show tables instead of plain text for dependencies diff |
|
|
852
|
+
| `--file <paths>` | | show only file diffs for the given component-relative path(s). comma-separated. implies --files-only |
|
|
853
|
+
| `--files-only` | | show only file-content diffs; omit dependency, env, and aspect-config changes |
|
|
854
|
+
| `--configs-only` | | show only dependency, env, and aspect-config changes; omit file-content diffs |
|
|
855
|
+
| `--name-only` | | summary: list changed files with status (M/A/D) and changed field categories; no diff bodies |
|
|
856
|
+
| `--stat` | | summary: like --name-only but includes +N -M line counts per file |
|
|
857
|
+
| `--json` | `-j` | return the diff result as json |
|
|
858
858
|
|
|
859
859
|
---
|
|
860
860
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -3876,7 +3876,7 @@
|
|
|
3876
3876
|
[
|
|
3877
3877
|
"p",
|
|
3878
3878
|
"parent",
|
|
3879
|
-
"compare the specified \"version\" to its
|
|
3879
|
+
"compare the specified \"version\" (or the current version if not specified) to its nearest meaningful ancestor, showing what changed in that version. hidden ancestors and identical un-tagged snaps (e.g. the merged snap a release-tag was created from) are skipped; tagged ancestors are never skipped"
|
|
3880
3880
|
],
|
|
3881
3881
|
[
|
|
3882
3882
|
"v",
|
|
@@ -3962,6 +3962,10 @@
|
|
|
3962
3962
|
"cmd": "diff foo 0.0.2 --parent",
|
|
3963
3963
|
"description": "compare \"foo@0.0.2\" to its parent version. showing what changed in 0.0.2"
|
|
3964
3964
|
},
|
|
3965
|
+
{
|
|
3966
|
+
"cmd": "diff foo --parent",
|
|
3967
|
+
"description": "compare the current version of \"foo\" to its parent version. showing what changed in it"
|
|
3968
|
+
},
|
|
3965
3969
|
{
|
|
3966
3970
|
"cmd": "diff foo --name-only",
|
|
3967
3971
|
"description": "list changed files and field categories without diff bodies"
|