@teambit/harmony.content.cli-reference 1.95.144 → 1.95.146

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.
@@ -1762,6 +1762,11 @@
1762
1762
  "skip-compile [skipCompile]",
1763
1763
  "do not compile components"
1764
1764
  ],
1765
+ [
1766
+ "",
1767
+ "add-missing-deps [addMissingDeps]",
1768
+ "install all missing dependencies"
1769
+ ],
1765
1770
  [
1766
1771
  "",
1767
1772
  "add-missing-peers [addMissingPeers]",
@@ -1971,71 +1976,6 @@
1971
1976
  "group": "ungrouped",
1972
1977
  "private": true
1973
1978
  },
1974
- {
1975
- "name": "checkout <to> [component-pattern]",
1976
- "alias": "U",
1977
- "options": [
1978
- [
1979
- "i",
1980
- "interactive-merge",
1981
- "when a component is modified and the merge process found conflicts, display options to resolve them"
1982
- ],
1983
- [
1984
- "o",
1985
- "ours",
1986
- "in case of a conflict, override the used version with the current modification"
1987
- ],
1988
- [
1989
- "t",
1990
- "theirs",
1991
- "in case of a conflict, override the current modification with the specified version"
1992
- ],
1993
- [
1994
- "m",
1995
- "manual",
1996
- "in case of a conflict, leave the files with a conflict state to resolve them manually later"
1997
- ],
1998
- [
1999
- "r",
2000
- "reset",
2001
- "revert changes that were not snapped/tagged"
2002
- ],
2003
- [
2004
- "a",
2005
- "all",
2006
- "all components"
2007
- ],
2008
- [
2009
- "e",
2010
- "workspace-only",
2011
- "when on a lane, avoid introducing new components from the remote lane that do not exist locally"
2012
- ],
2013
- [
2014
- "v",
2015
- "verbose",
2016
- "showing verbose output for inspection"
2017
- ],
2018
- [
2019
- "x",
2020
- "skip-dependency-installation",
2021
- "do not install packages of the imported components"
2022
- ]
2023
- ],
2024
- "description": "switch between component versions or remove local changes",
2025
- "extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
2026
- "group": "development",
2027
- "private": false,
2028
- "arguments": [
2029
- {
2030
- "name": "to",
2031
- "description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
2032
- },
2033
- {
2034
- "name": "component-pattern",
2035
- "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2036
- }
2037
- ]
2038
- },
2039
1979
  {
2040
1980
  "name": "remove <component-pattern>",
2041
1981
  "alias": "rm",
@@ -2114,6 +2054,71 @@
2114
2054
  "group": "collaborate",
2115
2055
  "private": false
2116
2056
  },
2057
+ {
2058
+ "name": "checkout <to> [component-pattern]",
2059
+ "alias": "U",
2060
+ "options": [
2061
+ [
2062
+ "i",
2063
+ "interactive-merge",
2064
+ "when a component is modified and the merge process found conflicts, display options to resolve them"
2065
+ ],
2066
+ [
2067
+ "o",
2068
+ "ours",
2069
+ "in case of a conflict, override the used version with the current modification"
2070
+ ],
2071
+ [
2072
+ "t",
2073
+ "theirs",
2074
+ "in case of a conflict, override the current modification with the specified version"
2075
+ ],
2076
+ [
2077
+ "m",
2078
+ "manual",
2079
+ "in case of a conflict, leave the files with a conflict state to resolve them manually later"
2080
+ ],
2081
+ [
2082
+ "r",
2083
+ "reset",
2084
+ "revert changes that were not snapped/tagged"
2085
+ ],
2086
+ [
2087
+ "a",
2088
+ "all",
2089
+ "all components"
2090
+ ],
2091
+ [
2092
+ "e",
2093
+ "workspace-only",
2094
+ "when on a lane, avoid introducing new components from the remote lane that do not exist locally"
2095
+ ],
2096
+ [
2097
+ "v",
2098
+ "verbose",
2099
+ "showing verbose output for inspection"
2100
+ ],
2101
+ [
2102
+ "x",
2103
+ "skip-dependency-installation",
2104
+ "do not install packages of the imported components"
2105
+ ]
2106
+ ],
2107
+ "description": "switch between component versions or remove local changes",
2108
+ "extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
2109
+ "group": "development",
2110
+ "private": false,
2111
+ "arguments": [
2112
+ {
2113
+ "name": "to",
2114
+ "description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
2115
+ },
2116
+ {
2117
+ "name": "component-pattern",
2118
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2119
+ }
2120
+ ]
2121
+ },
2117
2122
  {
2118
2123
  "name": "resume-export <export-id> <remotes...>",
2119
2124
  "alias": "",
@@ -2189,6 +2194,11 @@
2189
2194
  "j",
2190
2195
  "json",
2191
2196
  "return the insights in json format"
2197
+ ],
2198
+ [
2199
+ "",
2200
+ "include-deps",
2201
+ "include component dependencies that are not in this workspace"
2192
2202
  ]
2193
2203
  ],
2194
2204
  "description": "Insights on component graph",
package/cli-reference.mdx CHANGED
@@ -742,6 +742,7 @@ when no package is specified, all workspace dependencies are installed and all w
742
742
  | `--skip-dedupe [skipDedupe]` | | do not dedupe dependencies on installation |
743
743
  | `--skip-import [skipImport]` | | do not import bit objects post installation |
744
744
  | `--skip-compile [skipCompile]` | | do not compile components |
745
+ | `--add-missing-deps [addMissingDeps]` | | install all missing dependencies |
745
746
  | `--add-missing-peers [addMissingPeers]` | | install all missing peer dependencies |
746
747
  | `--no-optional [noOptional]` | | do not install optional dependencies (works with pnpm only) |
747
748
 
@@ -1762,6 +1762,11 @@
1762
1762
  "skip-compile [skipCompile]",
1763
1763
  "do not compile components"
1764
1764
  ],
1765
+ [
1766
+ "",
1767
+ "add-missing-deps [addMissingDeps]",
1768
+ "install all missing dependencies"
1769
+ ],
1765
1770
  [
1766
1771
  "",
1767
1772
  "add-missing-peers [addMissingPeers]",
@@ -1971,71 +1976,6 @@
1971
1976
  "group": "ungrouped",
1972
1977
  "private": true
1973
1978
  },
1974
- {
1975
- "name": "checkout <to> [component-pattern]",
1976
- "alias": "U",
1977
- "options": [
1978
- [
1979
- "i",
1980
- "interactive-merge",
1981
- "when a component is modified and the merge process found conflicts, display options to resolve them"
1982
- ],
1983
- [
1984
- "o",
1985
- "ours",
1986
- "in case of a conflict, override the used version with the current modification"
1987
- ],
1988
- [
1989
- "t",
1990
- "theirs",
1991
- "in case of a conflict, override the current modification with the specified version"
1992
- ],
1993
- [
1994
- "m",
1995
- "manual",
1996
- "in case of a conflict, leave the files with a conflict state to resolve them manually later"
1997
- ],
1998
- [
1999
- "r",
2000
- "reset",
2001
- "revert changes that were not snapped/tagged"
2002
- ],
2003
- [
2004
- "a",
2005
- "all",
2006
- "all components"
2007
- ],
2008
- [
2009
- "e",
2010
- "workspace-only",
2011
- "when on a lane, avoid introducing new components from the remote lane that do not exist locally"
2012
- ],
2013
- [
2014
- "v",
2015
- "verbose",
2016
- "showing verbose output for inspection"
2017
- ],
2018
- [
2019
- "x",
2020
- "skip-dependency-installation",
2021
- "do not install packages of the imported components"
2022
- ]
2023
- ],
2024
- "description": "switch between component versions or remove local changes",
2025
- "extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
2026
- "group": "development",
2027
- "private": false,
2028
- "arguments": [
2029
- {
2030
- "name": "to",
2031
- "description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
2032
- },
2033
- {
2034
- "name": "component-pattern",
2035
- "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2036
- }
2037
- ]
2038
- },
2039
1979
  {
2040
1980
  "name": "remove <component-pattern>",
2041
1981
  "alias": "rm",
@@ -2114,6 +2054,71 @@
2114
2054
  "group": "collaborate",
2115
2055
  "private": false
2116
2056
  },
2057
+ {
2058
+ "name": "checkout <to> [component-pattern]",
2059
+ "alias": "U",
2060
+ "options": [
2061
+ [
2062
+ "i",
2063
+ "interactive-merge",
2064
+ "when a component is modified and the merge process found conflicts, display options to resolve them"
2065
+ ],
2066
+ [
2067
+ "o",
2068
+ "ours",
2069
+ "in case of a conflict, override the used version with the current modification"
2070
+ ],
2071
+ [
2072
+ "t",
2073
+ "theirs",
2074
+ "in case of a conflict, override the current modification with the specified version"
2075
+ ],
2076
+ [
2077
+ "m",
2078
+ "manual",
2079
+ "in case of a conflict, leave the files with a conflict state to resolve them manually later"
2080
+ ],
2081
+ [
2082
+ "r",
2083
+ "reset",
2084
+ "revert changes that were not snapped/tagged"
2085
+ ],
2086
+ [
2087
+ "a",
2088
+ "all",
2089
+ "all components"
2090
+ ],
2091
+ [
2092
+ "e",
2093
+ "workspace-only",
2094
+ "when on a lane, avoid introducing new components from the remote lane that do not exist locally"
2095
+ ],
2096
+ [
2097
+ "v",
2098
+ "verbose",
2099
+ "showing verbose output for inspection"
2100
+ ],
2101
+ [
2102
+ "x",
2103
+ "skip-dependency-installation",
2104
+ "do not install packages of the imported components"
2105
+ ]
2106
+ ],
2107
+ "description": "switch between component versions or remove local changes",
2108
+ "extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
2109
+ "group": "development",
2110
+ "private": false,
2111
+ "arguments": [
2112
+ {
2113
+ "name": "to",
2114
+ "description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
2115
+ },
2116
+ {
2117
+ "name": "component-pattern",
2118
+ "description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
2119
+ }
2120
+ ]
2121
+ },
2117
2122
  {
2118
2123
  "name": "resume-export <export-id> <remotes...>",
2119
2124
  "alias": "",
@@ -2189,6 +2194,11 @@
2189
2194
  "j",
2190
2195
  "json",
2191
2196
  "return the insights in json format"
2197
+ ],
2198
+ [
2199
+ "",
2200
+ "include-deps",
2201
+ "include component dependencies that are not in this workspace"
2192
2202
  ]
2193
2203
  ],
2194
2204
  "description": "Insights on component graph",
@@ -3342,6 +3342,19 @@ function MDXContent(_ref) {
3342
3342
  "align": null
3343
3343
  }, (0, _react2.mdx)("inlineCode", {
3344
3344
  parentName: "td"
3345
+ }, "--add-missing-deps [addMissingDeps]")), (0, _react2.mdx)("td", {
3346
+ parentName: "tr",
3347
+ "align": "center"
3348
+ }), (0, _react2.mdx)("td", {
3349
+ parentName: "tr",
3350
+ "align": null
3351
+ }, "install all missing dependencies")), (0, _react2.mdx)("tr", {
3352
+ parentName: "tbody"
3353
+ }, (0, _react2.mdx)("td", {
3354
+ parentName: "tr",
3355
+ "align": null
3356
+ }, (0, _react2.mdx)("inlineCode", {
3357
+ parentName: "td"
3345
3358
  }, "--add-missing-peers [addMissingPeers]")), (0, _react2.mdx)("td", {
3346
3359
  parentName: "tr",
3347
3360
  "align": "center"