@teambit/harmony.content.cli-reference 1.95.38 → 1.95.39

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.
@@ -13,7 +13,7 @@ var _excluded = ["components"];
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
 
16
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
 
18
18
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
19
 
@@ -111,21 +111,6 @@ function MDXContent(_ref) {
111
111
  "align": null
112
112
  }, (0, _react2.mdx)("inlineCode", {
113
113
  parentName: "td"
114
- }, "--tests <file>/\"<file>,<file>\"")), (0, _react2.mdx)("td", {
115
- parentName: "tr",
116
- "align": "center"
117
- }, (0, _react2.mdx)("inlineCode", {
118
- parentName: "td"
119
- }, "-t")), (0, _react2.mdx)("td", {
120
- parentName: "tr",
121
- "align": null
122
- }, "LEGACY ONLY. specify test files to track. use quotation marks to list files or use a glob pattern")), (0, _react2.mdx)("tr", {
123
- parentName: "tbody"
124
- }, (0, _react2.mdx)("td", {
125
- parentName: "tr",
126
- "align": null
127
- }, (0, _react2.mdx)("inlineCode", {
128
- parentName: "td"
129
114
  }, "--namespace <namespace>")), (0, _react2.mdx)("td", {
130
115
  parentName: "tr",
131
116
  "align": "center"
@@ -141,21 +126,6 @@ function MDXContent(_ref) {
141
126
  "align": null
142
127
  }, (0, _react2.mdx)("inlineCode", {
143
128
  parentName: "td"
144
- }, "--exclude <file>/\"<file>,<file>\"")), (0, _react2.mdx)("td", {
145
- parentName: "tr",
146
- "align": "center"
147
- }, (0, _react2.mdx)("inlineCode", {
148
- parentName: "td"
149
- }, "-e")), (0, _react2.mdx)("td", {
150
- parentName: "tr",
151
- "align": null
152
- }, "LEGACY ONLY. exclude file from being tracked. use quotation marks to list files or use a glob pattern")), (0, _react2.mdx)("tr", {
153
- parentName: "tbody"
154
- }, (0, _react2.mdx)("td", {
155
- parentName: "tr",
156
- "align": null
157
- }, (0, _react2.mdx)("inlineCode", {
158
- parentName: "td"
159
129
  }, "--override <boolean>")), (0, _react2.mdx)("td", {
160
130
  parentName: "tr",
161
131
  "align": "center"
@@ -1021,7 +991,7 @@ function MDXContent(_ref) {
1021
991
  }, "-r")), (0, _react2.mdx)("td", {
1022
992
  parentName: "tr",
1023
993
  "align": null
1024
- }, "remove local changes")), (0, _react2.mdx)("tr", {
994
+ }, "revert changes that were not snapped")), (0, _react2.mdx)("tr", {
1025
995
  parentName: "tbody"
1026
996
  }, (0, _react2.mdx)("td", {
1027
997
  parentName: "tr",
@@ -1532,9 +1502,9 @@ function MDXContent(_ref) {
1532
1502
  parentName: "p"
1533
1503
  }), "\n", (0, _react2.mdx)("strong", {
1534
1504
  parentName: "p"
1535
- }, "Description"), ": EXPERIMENTAL. show dependencies (direct and indirect) of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1505
+ }, "Description"), ": EXPERIMENTAL. show direct and indirect dependencies of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1536
1506
  parentName: "p"
1537
- }, "bit dependencies <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1507
+ }, "bit dependencies <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1538
1508
  parentName: "table"
1539
1509
  }, (0, _react2.mdx)("tr", {
1540
1510
  parentName: "thead"
@@ -1593,7 +1563,7 @@ function MDXContent(_ref) {
1593
1563
  parentName: "p"
1594
1564
  }, "Description"), ": EXPERIMENTAL. show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1595
1565
  parentName: "p"
1596
- }, "bit dependents <id>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deprecate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1566
+ }, "bit dependents <component-name>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deprecate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1597
1567
  parentName: "p"
1598
1568
  }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1599
1569
  parentName: "p"
@@ -1607,7 +1577,7 @@ function MDXContent(_ref) {
1607
1577
  parentName: "p"
1608
1578
  }, "Description"), ": deprecate a component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1609
1579
  parentName: "p"
1610
- }, "bit deprecate <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1580
+ }, "bit deprecate <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1611
1581
  parentName: "table"
1612
1582
  }, (0, _react2.mdx)("tr", {
1613
1583
  parentName: "thead"
@@ -2643,7 +2613,7 @@ function MDXContent(_ref) {
2643
2613
  }), (0, _react2.mdx)("td", {
2644
2614
  parentName: "tr",
2645
2615
  "align": null
2646
- }, "EXPERIMENTAL. import component dependents to allow auto-tag updating them upon tag")), (0, _react2.mdx)("tr", {
2616
+ }, "EXPERIMENTAL. import the components' dependents. this enables changes to propagate from (modified) components to their dependents")), (0, _react2.mdx)("tr", {
2647
2617
  parentName: "tbody"
2648
2618
  }, (0, _react2.mdx)("td", {
2649
2619
  parentName: "tr",
@@ -3650,45 +3620,7 @@ function MDXContent(_ref) {
3650
3620
  "href": "https://bit.dev/docs/workspace/moving-components"
3651
3621
  }, "https://bit.dev/docs/workspace/moving-components")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
3652
3622
  parentName: "p"
3653
- }, "bit move <current-component-dir> <new-component-dir>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
3654
- parentName: "table"
3655
- }, (0, _react2.mdx)("tr", {
3656
- parentName: "thead"
3657
- }, (0, _react2.mdx)("th", {
3658
- parentName: "tr",
3659
- "align": null
3660
- }, (0, _react2.mdx)("strong", {
3661
- parentName: "th"
3662
- }, "Option")), (0, _react2.mdx)("th", {
3663
- parentName: "tr",
3664
- "align": "center"
3665
- }, (0, _react2.mdx)("strong", {
3666
- parentName: "th"
3667
- }, "Option alias")), (0, _react2.mdx)("th", {
3668
- parentName: "tr",
3669
- "align": null
3670
- }, (0, _react2.mdx)("strong", {
3671
- parentName: "th"
3672
- }, "Description")))), (0, _react2.mdx)("tbody", {
3673
- parentName: "table"
3674
- }, (0, _react2.mdx)("tr", {
3675
- parentName: "tbody"
3676
- }, (0, _react2.mdx)("td", {
3677
- parentName: "tr",
3678
- "align": null
3679
- }, (0, _react2.mdx)("inlineCode", {
3680
- parentName: "td"
3681
- }, "--component")), (0, _react2.mdx)("td", {
3682
- parentName: "tr",
3683
- "align": "center"
3684
- }, (0, _react2.mdx)("inlineCode", {
3685
- parentName: "td"
3686
- }, "-c")), (0, _react2.mdx)("td", {
3687
- parentName: "tr",
3688
- "align": null
3689
- }, "LEGACY ONLY. move component files that are spread over multiple directories to one directory. synopsis: ", (0, _react2.mdx)("inlineCode", {
3690
- parentName: "td"
3691
- }, "move <component-id> <directory>"))))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "new"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
3623
+ }, "bit move <current-component-dir> <new-component-dir>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "new"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
3692
3624
  parentName: "p"
3693
3625
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
3694
3626
  parentName: "p"
@@ -4622,7 +4554,7 @@ function MDXContent(_ref) {
4622
4554
  }, "-r")), (0, _react2.mdx)("td", {
4623
4555
  parentName: "tr",
4624
4556
  "align": null
4625
- }, "change the source code of all components using the original scope-name with the new scope-name")))), (0, _react2.mdx)("h3", null, "scope fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4557
+ }, "update the import statements in all dependent components to the new package name (that contains the new scope name)")))), (0, _react2.mdx)("h3", null, "scope fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4626
4558
  parentName: "p"
4627
4559
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
4628
4560
  parentName: "p"
@@ -5239,7 +5171,7 @@ function MDXContent(_ref) {
5239
5171
  }, "-i")), (0, _react2.mdx)("td", {
5240
5172
  parentName: "tr",
5241
5173
  "align": null
5242
- }, "ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:")))), (0, _react2.mdx)("p", null, "[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingLinks, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, MissingCustomModuleResolutionLinks, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies]", "\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"", "*", "\".|\n|", (0, _react2.mdx)("inlineCode", {
5174
+ }, "ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:")))), (0, _react2.mdx)("p", null, "[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies]", "\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"", "*", "\".|\n|", (0, _react2.mdx)("inlineCode", {
5243
5175
  parentName: "p"
5244
5176
  }, "--ignore-newest-version"), "|", (0, _react2.mdx)("inlineCode", {
5245
5177
  parentName: "p"