@teambit/harmony.content.cli-reference 1.95.202 → 1.95.204
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/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +242 -236
- package/cli-reference.mdx +423 -408
- package/dist/cli-reference.composition.d.ts +2 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +242 -236
- package/dist/cli-reference.mdx.js +284 -244
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/preview-1692345627885.js +7 -0
- package/package-tar/teambit-harmony.content.cli-reference-1.95.204.tgz +0 -0
- package/package.json +2 -2
- package/dist/preview-1692282707573.js +0 -7
- package/package-tar/teambit-harmony.content.cli-reference-1.95.202.tgz +0 -0
|
@@ -97,7 +97,7 @@ function MDXContent(_ref) {
|
|
|
97
97
|
}, "-m")), (0, _react2.mdx)("td", {
|
|
98
98
|
parentName: "tr",
|
|
99
99
|
"align": null
|
|
100
|
-
}, "define entry point
|
|
100
|
+
}, "define component entry point")), (0, _react2.mdx)("tr", {
|
|
101
101
|
parentName: "tbody"
|
|
102
102
|
}, (0, _react2.mdx)("td", {
|
|
103
103
|
parentName: "tr",
|
|
@@ -142,7 +142,7 @@ function MDXContent(_ref) {
|
|
|
142
142
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
143
143
|
parentName: "tr",
|
|
144
144
|
"align": null
|
|
145
|
-
}, "sets the component's scope
|
|
145
|
+
}, "sets the component's scope. if not entered, the default-scope from workspace.jsonc will be used")), (0, _react2.mdx)("tr", {
|
|
146
146
|
parentName: "tbody"
|
|
147
147
|
}, (0, _react2.mdx)("td", {
|
|
148
148
|
parentName: "tr",
|
|
@@ -230,7 +230,7 @@ function MDXContent(_ref) {
|
|
|
230
230
|
parentName: "p"
|
|
231
231
|
}, "app run <app-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
232
232
|
parentName: "p"
|
|
233
|
-
}, "Description"), ": run an app (independent of bit's dev server)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
233
|
+
}, "Description"), ": locally run an app component (independent of bit's dev server)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
234
234
|
parentName: "table"
|
|
235
235
|
}, (0, _react2.mdx)("tr", {
|
|
236
236
|
parentName: "thead"
|
|
@@ -307,7 +307,7 @@ function MDXContent(_ref) {
|
|
|
307
307
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
308
308
|
parentName: "tr",
|
|
309
309
|
"align": null
|
|
310
|
-
}, "port
|
|
310
|
+
}, "port to run the app on")), (0, _react2.mdx)("tr", {
|
|
311
311
|
parentName: "tbody"
|
|
312
312
|
}, (0, _react2.mdx)("td", {
|
|
313
313
|
parentName: "tr",
|
|
@@ -322,7 +322,7 @@ function MDXContent(_ref) {
|
|
|
322
322
|
}, "-v")), (0, _react2.mdx)("td", {
|
|
323
323
|
parentName: "tr",
|
|
324
324
|
"align": null
|
|
325
|
-
}, "
|
|
325
|
+
}, "show verbose output for inspection and print stack trace")), (0, _react2.mdx)("tr", {
|
|
326
326
|
parentName: "tbody"
|
|
327
327
|
}, (0, _react2.mdx)("td", {
|
|
328
328
|
parentName: "tr",
|
|
@@ -350,7 +350,7 @@ function MDXContent(_ref) {
|
|
|
350
350
|
"align": null
|
|
351
351
|
}, "run app in server side rendering mode.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "artifacts"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
352
352
|
parentName: "p"
|
|
353
|
-
}, "Description"), ": list and download
|
|
353
|
+
}, "Description"), ": list and download component artifacts", (0, _react2.mdx)("br", {
|
|
354
354
|
parentName: "p"
|
|
355
355
|
}), "\n", "artifacts are created on isolated capsules during tag or snap commands.", (0, _react2.mdx)("br", {
|
|
356
356
|
parentName: "p"
|
|
@@ -529,13 +529,13 @@ function MDXContent(_ref) {
|
|
|
529
529
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
530
530
|
parentName: "tr",
|
|
531
531
|
"align": null
|
|
532
|
-
}, "show the origins
|
|
532
|
+
}, "show the origins where the aspects were taken from")))), (0, _react2.mdx)("h3", null, "aspect get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
533
533
|
parentName: "p"
|
|
534
534
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
535
535
|
parentName: "p"
|
|
536
536
|
}, "aspect get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
537
537
|
parentName: "p"
|
|
538
|
-
}, "Description"), ": list the aspects set on a component, as well as their
|
|
538
|
+
}, "Description"), ": list the aspects set on a component, as well as their configs and data"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
539
539
|
parentName: "table"
|
|
540
540
|
}, (0, _react2.mdx)("tr", {
|
|
541
541
|
parentName: "thead"
|
|
@@ -561,7 +561,7 @@ function MDXContent(_ref) {
|
|
|
561
561
|
}, "component-name")), (0, _react2.mdx)("td", {
|
|
562
562
|
parentName: "tr",
|
|
563
563
|
"align": "center"
|
|
564
|
-
}, "the component name or component id")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
564
|
+
}, "the component name or component id to fetch aspects for")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
565
565
|
parentName: "table"
|
|
566
566
|
}, (0, _react2.mdx)("tr", {
|
|
567
567
|
parentName: "thead"
|
|
@@ -597,7 +597,7 @@ function MDXContent(_ref) {
|
|
|
597
597
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
598
598
|
parentName: "tr",
|
|
599
599
|
"align": null
|
|
600
|
-
}, "show the origins
|
|
600
|
+
}, "show the origins where the aspects were taken from")), (0, _react2.mdx)("tr", {
|
|
601
601
|
parentName: "tbody"
|
|
602
602
|
}, (0, _react2.mdx)("td", {
|
|
603
603
|
parentName: "tr",
|
|
@@ -644,7 +644,7 @@ function MDXContent(_ref) {
|
|
|
644
644
|
}, "pattern")), (0, _react2.mdx)("td", {
|
|
645
645
|
parentName: "tr",
|
|
646
646
|
"align": "center"
|
|
647
|
-
}, "the components to extend.
|
|
647
|
+
}, "the components to extend. component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")), (0, _react2.mdx)("tr", {
|
|
648
648
|
parentName: "tbody"
|
|
649
649
|
}, (0, _react2.mdx)("td", {
|
|
650
650
|
parentName: "tr",
|
|
@@ -700,7 +700,7 @@ function MDXContent(_ref) {
|
|
|
700
700
|
}, "-m")), (0, _react2.mdx)("td", {
|
|
701
701
|
parentName: "tr",
|
|
702
702
|
"align": null
|
|
703
|
-
}, "merge with an existing config if exits. (by default, it replaces
|
|
703
|
+
}, "merge with an existing config if exits. (by default, it replaces overlapping existing configs)")))), (0, _react2.mdx)("h3", null, "aspect unset"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
704
704
|
parentName: "p"
|
|
705
705
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
706
706
|
parentName: "p"
|
|
@@ -732,7 +732,7 @@ function MDXContent(_ref) {
|
|
|
732
732
|
}, "pattern")), (0, _react2.mdx)("td", {
|
|
733
733
|
parentName: "tr",
|
|
734
734
|
"align": "center"
|
|
735
|
-
}, "the components to target.
|
|
735
|
+
}, "the components to target. component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")), (0, _react2.mdx)("tr", {
|
|
736
736
|
parentName: "tbody"
|
|
737
737
|
}, (0, _react2.mdx)("td", {
|
|
738
738
|
parentName: "tr",
|
|
@@ -748,7 +748,7 @@ function MDXContent(_ref) {
|
|
|
748
748
|
parentName: "p"
|
|
749
749
|
}, "aspect update <aspect-id> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
750
750
|
parentName: "p"
|
|
751
|
-
}, "Description"), ": update a version of an aspect"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
751
|
+
}, "Description"), ": update a version of an aspect for all or specified components"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
752
752
|
parentName: "table"
|
|
753
753
|
}, (0, _react2.mdx)("tr", {
|
|
754
754
|
parentName: "thead"
|
|
@@ -774,7 +774,7 @@ function MDXContent(_ref) {
|
|
|
774
774
|
}, "aspect-id")), (0, _react2.mdx)("td", {
|
|
775
775
|
parentName: "tr",
|
|
776
776
|
"align": "center"
|
|
777
|
-
}, "the aspect's component id. optionally, add a version (id@version), otherwise
|
|
777
|
+
}, "the aspect's component id. optionally, add a version (id@version), otherwise will use the latest version from the remote")), (0, _react2.mdx)("tr", {
|
|
778
778
|
parentName: "tbody"
|
|
779
779
|
}, (0, _react2.mdx)("td", {
|
|
780
780
|
parentName: "tr",
|
|
@@ -784,9 +784,11 @@ function MDXContent(_ref) {
|
|
|
784
784
|
}, "pattern")), (0, _react2.mdx)("td", {
|
|
785
785
|
parentName: "tr",
|
|
786
786
|
"align": "center"
|
|
787
|
-
}, "the components to update (defaults to all components).
|
|
787
|
+
}, "the components to update (defaults to all components). component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "build"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
788
|
+
parentName: "p"
|
|
789
|
+
}, "Description"), ": run set of tasks for build.", (0, _react2.mdx)("br", {
|
|
788
790
|
parentName: "p"
|
|
789
|
-
}, "
|
|
791
|
+
}), "\n", "by default, only new and modified components are built"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
790
792
|
parentName: "p"
|
|
791
793
|
}, "bit build [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
792
794
|
parentName: "table"
|
|
@@ -958,7 +960,7 @@ function MDXContent(_ref) {
|
|
|
958
960
|
}), (0, _react2.mdx)("td", {
|
|
959
961
|
parentName: "tr",
|
|
960
962
|
"align": null
|
|
961
|
-
}, "skip running component tests during
|
|
963
|
+
}, "skip running component tests during build process")), (0, _react2.mdx)("tr", {
|
|
962
964
|
parentName: "tbody"
|
|
963
965
|
}, (0, _react2.mdx)("td", {
|
|
964
966
|
parentName: "tr",
|
|
@@ -971,7 +973,7 @@ function MDXContent(_ref) {
|
|
|
971
973
|
}), (0, _react2.mdx)("td", {
|
|
972
974
|
parentName: "tr",
|
|
973
975
|
"align": null
|
|
974
|
-
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its
|
|
976
|
+
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "capsule"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
975
977
|
parentName: "p"
|
|
976
978
|
}, "Description"), ": manage capsules", (0, _react2.mdx)("br", {
|
|
977
979
|
parentName: "p"
|
|
@@ -1371,7 +1373,7 @@ function MDXContent(_ref) {
|
|
|
1371
1373
|
parentName: "p"
|
|
1372
1374
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
1373
1375
|
parentName: "p"
|
|
1374
|
-
}, "bit checkout head [component-pattern]"), " => checkout to the last snap/tag, omit ", "[component-pattern]", " to checkout head for all", (0, _react2.mdx)("br", {
|
|
1376
|
+
}, "bit checkout head [component-pattern]"), " => checkout to the last snap/tag (use --latest if you only want semver tags), omit ", "[component-pattern]", " to checkout head for all", (0, _react2.mdx)("br", {
|
|
1375
1377
|
parentName: "p"
|
|
1376
1378
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
1377
1379
|
parentName: "p"
|
|
@@ -1505,7 +1507,7 @@ function MDXContent(_ref) {
|
|
|
1505
1507
|
}), (0, _react2.mdx)("td", {
|
|
1506
1508
|
parentName: "tr",
|
|
1507
1509
|
"align": null
|
|
1508
|
-
}, "in case of
|
|
1510
|
+
}, "in case of merge conflict, resolve according to the provided strategy: ", "[ours, theirs, manual]")), (0, _react2.mdx)("tr", {
|
|
1509
1511
|
parentName: "tbody"
|
|
1510
1512
|
}, (0, _react2.mdx)("td", {
|
|
1511
1513
|
parentName: "tr",
|
|
@@ -1550,7 +1552,7 @@ function MDXContent(_ref) {
|
|
|
1550
1552
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
1551
1553
|
parentName: "tr",
|
|
1552
1554
|
"align": null
|
|
1553
|
-
}, "when on a lane
|
|
1555
|
+
}, "only relevant for 'bit checkout head' when on a lane. don't import components from the remote lane that are not already in the workspace")), (0, _react2.mdx)("tr", {
|
|
1554
1556
|
parentName: "tbody"
|
|
1555
1557
|
}, (0, _react2.mdx)("td", {
|
|
1556
1558
|
parentName: "tr",
|
|
@@ -1580,7 +1582,7 @@ function MDXContent(_ref) {
|
|
|
1580
1582
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
1581
1583
|
parentName: "tr",
|
|
1582
1584
|
"align": null
|
|
1583
|
-
}, "do not install
|
|
1585
|
+
}, "do not auto-install dependencies of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "clear-cache"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1584
1586
|
parentName: "p"
|
|
1585
1587
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1586
1588
|
parentName: "p"
|
|
@@ -1827,8 +1829,8 @@ function MDXContent(_ref) {
|
|
|
1827
1829
|
parentName: "p"
|
|
1828
1830
|
}), "\n", (0, _react2.mdx)("a", {
|
|
1829
1831
|
parentName: "p",
|
|
1830
|
-
"href": "https://bit.dev/
|
|
1831
|
-
}, "https://bit.dev/
|
|
1832
|
+
"href": "https://bit.dev/docs/config/bit-config"
|
|
1833
|
+
}, "https://bit.dev/docs/config/bit-config")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1832
1834
|
parentName: "p"
|
|
1833
1835
|
}, "bit config")), (0, _react2.mdx)("h3", null, "config set"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1834
1836
|
parentName: "p"
|
|
@@ -1848,7 +1850,7 @@ function MDXContent(_ref) {
|
|
|
1848
1850
|
parentName: "p"
|
|
1849
1851
|
}, "config get <key>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1850
1852
|
parentName: "p"
|
|
1851
|
-
}, "Description"), ": get a global configuration"), (0, _react2.mdx)("h3", null, "config list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1853
|
+
}, "Description"), ": get a value from global configuration"), (0, _react2.mdx)("h3", null, "config list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1852
1854
|
parentName: "p"
|
|
1853
1855
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1854
1856
|
parentName: "p"
|
|
@@ -2081,7 +2083,7 @@ function MDXContent(_ref) {
|
|
|
2081
2083
|
}), (0, _react2.mdx)("td", {
|
|
2082
2084
|
parentName: "tr",
|
|
2083
2085
|
"align": null
|
|
2084
|
-
}, "if replaced by another component, enter the new component id")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2086
|
+
}, "if replaced by another component, enter the new component id. alternatively use \"bit rename\" to do this automatically")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2085
2087
|
parentName: "p"
|
|
2086
2088
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2087
2089
|
parentName: "p"
|
|
@@ -2609,15 +2611,15 @@ function MDXContent(_ref) {
|
|
|
2609
2611
|
"align": "center"
|
|
2610
2612
|
}, "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2611
2613
|
parentName: "p"
|
|
2612
|
-
}, "Description"), ": show the diff between the components' source files and config", (0, _react2.mdx)("br", {
|
|
2614
|
+
}, "Description"), ": show the diff between the components' current source files and config, and their latest snapshot or tag", (0, _react2.mdx)("br", {
|
|
2613
2615
|
parentName: "p"
|
|
2614
2616
|
}), "\n", "bit diff => compare all modified components to their model version", (0, _react2.mdx)("br", {
|
|
2615
2617
|
parentName: "p"
|
|
2616
2618
|
}), "\n", "bit diff ", "[ids...]", " => compare the specified components against their modified states", (0, _react2.mdx)("br", {
|
|
2617
2619
|
parentName: "p"
|
|
2618
|
-
}), "\n", "bit diff ", "[id][version]", " => compare the specified version
|
|
2620
|
+
}), "\n", "bit diff ", "[id][version]", " => compare component's current files and configs to the specified version of the component", (0, _react2.mdx)("br", {
|
|
2619
2621
|
parentName: "p"
|
|
2620
|
-
}), "\n", "bit diff ", "[id][version]", " ", "[to_version]", " => compare the specified version
|
|
2622
|
+
}), "\n", "bit diff ", "[id][version]", " ", "[to_version]", " => compare component's files and configs between the specified version and the to_version provided", (0, _react2.mdx)("br", {
|
|
2621
2623
|
parentName: "p"
|
|
2622
2624
|
}), "\n", "you can use a pattern for multiple ids, such as bit diff \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2623
2625
|
parentName: "p"
|
|
@@ -2657,7 +2659,7 @@ function MDXContent(_ref) {
|
|
|
2657
2659
|
}, "-v")), (0, _react2.mdx)("td", {
|
|
2658
2660
|
parentName: "tr",
|
|
2659
2661
|
"align": null
|
|
2660
|
-
}, "show a more verbose output
|
|
2662
|
+
}, "show a more verbose output where possible")), (0, _react2.mdx)("tr", {
|
|
2661
2663
|
parentName: "tbody"
|
|
2662
2664
|
}, (0, _react2.mdx)("td", {
|
|
2663
2665
|
parentName: "tr",
|
|
@@ -2763,7 +2765,9 @@ function MDXContent(_ref) {
|
|
|
2763
2765
|
parentName: "p"
|
|
2764
2766
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
2765
2767
|
parentName: "p"
|
|
2766
|
-
}, "Description"), ":
|
|
2768
|
+
}, "Description"), ": remove component from the workspace and install it instead as a regular npm package.", (0, _react2.mdx)("br", {
|
|
2769
|
+
parentName: "p"
|
|
2770
|
+
}), "\n", "By default the component files will be removed from the workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2767
2771
|
parentName: "p"
|
|
2768
2772
|
}, "bit eject <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2769
2773
|
parentName: "table"
|
|
@@ -2827,7 +2831,7 @@ function MDXContent(_ref) {
|
|
|
2827
2831
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
2828
2832
|
parentName: "tr",
|
|
2829
2833
|
"align": null
|
|
2830
|
-
}, "ignore local
|
|
2834
|
+
}, "ignore local changes/versions. eject component/s even when they are staged or modified. Note: unexported tags/snaps will be lost")), (0, _react2.mdx)("tr", {
|
|
2831
2835
|
parentName: "tbody"
|
|
2832
2836
|
}, (0, _react2.mdx)("td", {
|
|
2833
2837
|
parentName: "tr",
|
|
@@ -2861,6 +2865,8 @@ function MDXContent(_ref) {
|
|
|
2861
2865
|
parentName: "p"
|
|
2862
2866
|
}, "component.json"), " file)", (0, _react2.mdx)("br", {
|
|
2863
2867
|
parentName: "p"
|
|
2868
|
+
}), "\n", "note this can be reversed at any time by snapping/tagging changes and deleting the component.json file", (0, _react2.mdx)("br", {
|
|
2869
|
+
parentName: "p"
|
|
2864
2870
|
}), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
|
|
2865
2871
|
parentName: "p"
|
|
2866
2872
|
}, "<pattern>"), " for multiple component ids, such as ", (0, _react2.mdx)("inlineCode", {
|
|
@@ -2913,7 +2919,7 @@ function MDXContent(_ref) {
|
|
|
2913
2919
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
2914
2920
|
parentName: "tr",
|
|
2915
2921
|
"align": null
|
|
2916
|
-
}, "mark propagate true in the config file")), (0, _react2.mdx)("tr", {
|
|
2922
|
+
}, "mark propagate true in the config file, so that component.json configs will be merge with workspace configs")), (0, _react2.mdx)("tr", {
|
|
2917
2923
|
parentName: "tbody"
|
|
2918
2924
|
}, (0, _react2.mdx)("td", {
|
|
2919
2925
|
parentName: "tr",
|
|
@@ -2944,13 +2950,13 @@ function MDXContent(_ref) {
|
|
|
2944
2950
|
parentName: "p"
|
|
2945
2951
|
}, "envs list")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2946
2952
|
parentName: "p"
|
|
2947
|
-
}, "Description"), ": list all envs
|
|
2953
|
+
}, "Description"), ": list all envs currently used in the workspace"), (0, _react2.mdx)("h3", null, "envs get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2948
2954
|
parentName: "p"
|
|
2949
2955
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2950
2956
|
parentName: "p"
|
|
2951
2957
|
}, "envs get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2952
2958
|
parentName: "p"
|
|
2953
|
-
}, "Description"), ": show information
|
|
2959
|
+
}, "Description"), ": show config information from a component's env"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2954
2960
|
parentName: "table"
|
|
2955
2961
|
}, (0, _react2.mdx)("tr", {
|
|
2956
2962
|
parentName: "thead"
|
|
@@ -2976,7 +2982,7 @@ function MDXContent(_ref) {
|
|
|
2976
2982
|
}, "component-name")), (0, _react2.mdx)("td", {
|
|
2977
2983
|
parentName: "tr",
|
|
2978
2984
|
"align": "center"
|
|
2979
|
-
}, "the 'component name' or 'component id' of the component
|
|
2985
|
+
}, "the 'component name' or 'component id' of the component whose env you'd like to inspect")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2980
2986
|
parentName: "table"
|
|
2981
2987
|
}, (0, _react2.mdx)("tr", {
|
|
2982
2988
|
parentName: "thead"
|
|
@@ -3016,7 +3022,7 @@ function MDXContent(_ref) {
|
|
|
3016
3022
|
parentName: "p"
|
|
3017
3023
|
}, "envs set <component-pattern> <env>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3018
3024
|
parentName: "p"
|
|
3019
|
-
}, "Description"), ":
|
|
3025
|
+
}, "Description"), ": Assigns one or more components a development environment (env)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3020
3026
|
parentName: "table"
|
|
3021
3027
|
}, (0, _react2.mdx)("tr", {
|
|
3022
3028
|
parentName: "thead"
|
|
@@ -3052,7 +3058,7 @@ function MDXContent(_ref) {
|
|
|
3052
3058
|
}, "env")), (0, _react2.mdx)("td", {
|
|
3053
3059
|
parentName: "tr",
|
|
3054
3060
|
"align": "center"
|
|
3055
|
-
}, "the env's component id (include version
|
|
3061
|
+
}, "the env's component id (include version if not latest, e.g ", (0, _react2.mdx)("inlineCode", {
|
|
3056
3062
|
parentName: "td"
|
|
3057
3063
|
}, "teambit.community/envs/community-react@1.95.13"), ")")))), (0, _react2.mdx)("h3", null, "envs unset"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3058
3064
|
parentName: "p"
|
|
@@ -3062,11 +3068,11 @@ function MDXContent(_ref) {
|
|
|
3062
3068
|
parentName: "p"
|
|
3063
3069
|
}, "Description"), ": un-sets an env from components that were previously set by \"bit env set\" or by a component template", (0, _react2.mdx)("br", {
|
|
3064
3070
|
parentName: "p"
|
|
3065
|
-
}), "\n", "keep in mind that this doesn't remove envs that are set
|
|
3071
|
+
}), "\n", "keep in mind that this doesn't remove envs that are set via variants.", (0, _react2.mdx)("br", {
|
|
3066
3072
|
parentName: "p"
|
|
3067
3073
|
}), "\n", "in only removes envs that appear in the .bitmap file, which were previously configured via \"bit env set\".", (0, _react2.mdx)("br", {
|
|
3068
3074
|
parentName: "p"
|
|
3069
|
-
}), "\n", "the purpose of this command is to
|
|
3075
|
+
}), "\n", "the purpose of this command is to reset previously assigned envs to either allow variants configure the env or use the base node env.", (0, _react2.mdx)("br", {
|
|
3070
3076
|
parentName: "p"
|
|
3071
3077
|
}), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
|
|
3072
3078
|
parentName: "p"
|
|
@@ -3140,7 +3146,7 @@ function MDXContent(_ref) {
|
|
|
3140
3146
|
}, "current-env")), (0, _react2.mdx)("td", {
|
|
3141
3147
|
parentName: "tr",
|
|
3142
3148
|
"align": "center"
|
|
3143
|
-
}, "the component id of the
|
|
3149
|
+
}, "the component id of the env to be replaced")), (0, _react2.mdx)("tr", {
|
|
3144
3150
|
parentName: "tbody"
|
|
3145
3151
|
}, (0, _react2.mdx)("td", {
|
|
3146
3152
|
parentName: "tr",
|
|
@@ -3182,7 +3188,7 @@ function MDXContent(_ref) {
|
|
|
3182
3188
|
}, "env-id")), (0, _react2.mdx)("td", {
|
|
3183
3189
|
parentName: "tr",
|
|
3184
3190
|
"align": "center"
|
|
3185
|
-
}, "the environment id (defaults to all envs). optionally, add a version (id@version),
|
|
3191
|
+
}, "the environment id (defaults to all envs). optionally, add a version (id@version), if no version is supplied will use the latest version on the remote.")), (0, _react2.mdx)("tr", {
|
|
3186
3192
|
parentName: "tbody"
|
|
3187
3193
|
}, (0, _react2.mdx)("td", {
|
|
3188
3194
|
parentName: "tr",
|
|
@@ -3192,7 +3198,7 @@ function MDXContent(_ref) {
|
|
|
3192
3198
|
}, "pattern")), (0, _react2.mdx)("td", {
|
|
3193
3199
|
parentName: "tr",
|
|
3194
3200
|
"align": "center"
|
|
3195
|
-
}, "the components to update (defaults to all components).
|
|
3201
|
+
}, "the components to update (defaults to all components). component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "export"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3196
3202
|
parentName: "p"
|
|
3197
3203
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3198
3204
|
parentName: "p"
|
|
@@ -3202,13 +3208,15 @@ function MDXContent(_ref) {
|
|
|
3202
3208
|
parentName: "p"
|
|
3203
3209
|
}, "Description"), ": export components from the workspace to remote scopes", (0, _react2.mdx)("br", {
|
|
3204
3210
|
parentName: "p"
|
|
3205
|
-
}), "\n", "bit export => export all staged components to their
|
|
3211
|
+
}), "\n", "bit export => export all staged snaps/tags of components to their remote scope. if checked out to a lane, export the lane as well", (0, _react2.mdx)("br", {
|
|
3206
3212
|
parentName: "p"
|
|
3207
3213
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
3208
3214
|
parentName: "p"
|
|
3209
|
-
}, "bit export [
|
|
3215
|
+
}, "bit export [pattern...]"), " => export components included by the pattern to their remote scope (we recommend not using a pattern in", (0, _react2.mdx)("br", {
|
|
3210
3216
|
parentName: "p"
|
|
3211
|
-
}), "\n", "
|
|
3217
|
+
}), "\n", "most scenarios so that all changes are exported simultaneously)", (0, _react2.mdx)("br", {
|
|
3218
|
+
parentName: "p"
|
|
3219
|
+
}), "\n", "you can use a pattern for multiple ids, such as bit export \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
3212
3220
|
parentName: "p"
|
|
3213
3221
|
}, "bit export [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3214
3222
|
parentName: "table"
|
|
@@ -3236,7 +3244,7 @@ function MDXContent(_ref) {
|
|
|
3236
3244
|
}, "component-patterns...")), (0, _react2.mdx)("td", {
|
|
3237
3245
|
parentName: "tr",
|
|
3238
3246
|
"align": "center"
|
|
3239
|
-
}, "component
|
|
3247
|
+
}, "(not recommended) component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3240
3248
|
parentName: "table"
|
|
3241
3249
|
}, (0, _react2.mdx)("tr", {
|
|
3242
3250
|
parentName: "thead"
|
|
@@ -3272,7 +3280,7 @@ function MDXContent(_ref) {
|
|
|
3272
3280
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
3273
3281
|
parentName: "tr",
|
|
3274
3282
|
"align": null
|
|
3275
|
-
}, "
|
|
3283
|
+
}, "remove component from the workspace and install it instead as a regular npm package")), (0, _react2.mdx)("tr", {
|
|
3276
3284
|
parentName: "tbody"
|
|
3277
3285
|
}, (0, _react2.mdx)("td", {
|
|
3278
3286
|
parentName: "tr",
|
|
@@ -3369,7 +3377,7 @@ function MDXContent(_ref) {
|
|
|
3369
3377
|
"align": null
|
|
3370
3378
|
}, "show output in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3371
3379
|
parentName: "p"
|
|
3372
|
-
}, "Description"), ": create a new component
|
|
3380
|
+
}, "Description"), ": create a new component forked from an existing one (copies source files and configs)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
3373
3381
|
parentName: "p"
|
|
3374
3382
|
}, "bit fork <source-component-id> [target-component-name]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3375
3383
|
parentName: "table"
|
|
@@ -3407,7 +3415,7 @@ function MDXContent(_ref) {
|
|
|
3407
3415
|
}, "target-component-name")), (0, _react2.mdx)("td", {
|
|
3408
3416
|
parentName: "tr",
|
|
3409
3417
|
"align": "center"
|
|
3410
|
-
}, "the name for the new component (component name without scope). to set a different scope, use the '--scope' flag")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3418
|
+
}, "the name for the new component (component name without scope, e.g. name/spaces/my-button). to set a different scope, use the '--scope' flag")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3411
3419
|
parentName: "table"
|
|
3412
3420
|
}, (0, _react2.mdx)("tr", {
|
|
3413
3421
|
parentName: "thead"
|
|
@@ -3518,7 +3526,7 @@ function MDXContent(_ref) {
|
|
|
3518
3526
|
}), (0, _react2.mdx)("td", {
|
|
3519
3527
|
parentName: "tr",
|
|
3520
3528
|
"align": null
|
|
3521
|
-
}, "do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading")), (0, _react2.mdx)("tr", {
|
|
3529
|
+
}, "do not copy the config (aspects-config, env, etc) to the new component. helpful when it fails during aspect loading")), (0, _react2.mdx)("tr", {
|
|
3522
3530
|
parentName: "tbody"
|
|
3523
3531
|
}, (0, _react2.mdx)("td", {
|
|
3524
3532
|
parentName: "tr",
|
|
@@ -3531,7 +3539,7 @@ function MDXContent(_ref) {
|
|
|
3531
3539
|
}), (0, _react2.mdx)("td", {
|
|
3532
3540
|
parentName: "tr",
|
|
3533
3541
|
"align": null
|
|
3534
|
-
}, "avoid
|
|
3542
|
+
}, "avoid refactoring file and variable/class names according to the new component name")), (0, _react2.mdx)("tr", {
|
|
3535
3543
|
parentName: "tbody"
|
|
3536
3544
|
}, (0, _react2.mdx)("td", {
|
|
3537
3545
|
parentName: "tr",
|
|
@@ -3706,7 +3714,7 @@ function MDXContent(_ref) {
|
|
|
3706
3714
|
"align": null
|
|
3707
3715
|
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3708
3716
|
parentName: "p"
|
|
3709
|
-
}, "Description"), ": generate an image file with the dependencies graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
3717
|
+
}, "Description"), ": generate an image file with the workspace components' dependencies graph"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
3710
3718
|
parentName: "p"
|
|
3711
3719
|
}, "bit graph [id]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
3712
3720
|
parentName: "table"
|
|
@@ -3744,7 +3752,7 @@ function MDXContent(_ref) {
|
|
|
3744
3752
|
}, "-i")), (0, _react2.mdx)("td", {
|
|
3745
3753
|
parentName: "tr",
|
|
3746
3754
|
"align": null
|
|
3747
|
-
}, "image path. use one of the following extensions: ", "[gif, png, svg, pdf]")), (0, _react2.mdx)("tr", {
|
|
3755
|
+
}, "image path and format. use one of the following extensions: ", "[gif, png, svg, pdf]")), (0, _react2.mdx)("tr", {
|
|
3748
3756
|
parentName: "tbody"
|
|
3749
3757
|
}, (0, _react2.mdx)("td", {
|
|
3750
3758
|
parentName: "tr",
|
|
@@ -3925,22 +3933,7 @@ function MDXContent(_ref) {
|
|
|
3925
3933
|
}, "-o")), (0, _react2.mdx)("td", {
|
|
3926
3934
|
parentName: "tr",
|
|
3927
3935
|
"align": null
|
|
3928
|
-
}, "import components objects to the local scope without checkout (without writing them to the file system). This is
|
|
3929
|
-
parentName: "tbody"
|
|
3930
|
-
}, (0, _react2.mdx)("td", {
|
|
3931
|
-
parentName: "tr",
|
|
3932
|
-
"align": null
|
|
3933
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
3934
|
-
parentName: "td"
|
|
3935
|
-
}, "--display-dependencies")), (0, _react2.mdx)("td", {
|
|
3936
|
-
parentName: "tr",
|
|
3937
|
-
"align": "center"
|
|
3938
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
3939
|
-
parentName: "td"
|
|
3940
|
-
}, "-d")), (0, _react2.mdx)("td", {
|
|
3941
|
-
parentName: "tr",
|
|
3942
|
-
"align": null
|
|
3943
|
-
}, "display the imported dependencies")), (0, _react2.mdx)("tr", {
|
|
3936
|
+
}, "import components objects to the local scope without checkout (without writing them to the file system). This is the default behavior for import with no id argument")), (0, _react2.mdx)("tr", {
|
|
3944
3937
|
parentName: "tbody"
|
|
3945
3938
|
}, (0, _react2.mdx)("td", {
|
|
3946
3939
|
parentName: "tr",
|
|
@@ -4000,7 +3993,7 @@ function MDXContent(_ref) {
|
|
|
4000
3993
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
4001
3994
|
parentName: "tr",
|
|
4002
3995
|
"align": null
|
|
4003
|
-
}, "do not install
|
|
3996
|
+
}, "do not auto-install dependencies of the imported components")), (0, _react2.mdx)("tr", {
|
|
4004
3997
|
parentName: "tbody"
|
|
4005
3998
|
}, (0, _react2.mdx)("td", {
|
|
4006
3999
|
parentName: "tr",
|
|
@@ -4028,7 +4021,7 @@ function MDXContent(_ref) {
|
|
|
4028
4021
|
}), (0, _react2.mdx)("td", {
|
|
4029
4022
|
parentName: "tr",
|
|
4030
4023
|
"align": null
|
|
4031
|
-
}, "import all dependencies and write them to the workspace")), (0, _react2.mdx)("tr", {
|
|
4024
|
+
}, "import all dependencies (bit components only) of imported components and write them to the workspace")), (0, _react2.mdx)("tr", {
|
|
4032
4025
|
parentName: "tbody"
|
|
4033
4026
|
}, (0, _react2.mdx)("td", {
|
|
4034
4027
|
parentName: "tr",
|
|
@@ -4041,7 +4034,7 @@ function MDXContent(_ref) {
|
|
|
4041
4034
|
}), (0, _react2.mdx)("td", {
|
|
4042
4035
|
parentName: "tr",
|
|
4043
4036
|
"align": null
|
|
4044
|
-
}, "import components found while traversing from the
|
|
4037
|
+
}, "import components found while traversing from the imported components upwards to the workspace components")), (0, _react2.mdx)("tr", {
|
|
4045
4038
|
parentName: "tbody"
|
|
4046
4039
|
}, (0, _react2.mdx)("td", {
|
|
4047
4040
|
parentName: "tr",
|
|
@@ -4054,7 +4047,7 @@ function MDXContent(_ref) {
|
|
|
4054
4047
|
}), (0, _react2.mdx)("td", {
|
|
4055
4048
|
parentName: "tr",
|
|
4056
4049
|
"align": null
|
|
4057
|
-
}, "when checked out to a lane and the component is not on the remote-lane, save it in the lane (
|
|
4050
|
+
}, "when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main)")), (0, _react2.mdx)("tr", {
|
|
4058
4051
|
parentName: "tbody"
|
|
4059
4052
|
}, (0, _react2.mdx)("td", {
|
|
4060
4053
|
parentName: "tr",
|
|
@@ -4080,7 +4073,7 @@ function MDXContent(_ref) {
|
|
|
4080
4073
|
}), (0, _react2.mdx)("td", {
|
|
4081
4074
|
parentName: "tr",
|
|
4082
4075
|
"align": null
|
|
4083
|
-
}, "fetch dependencies objects")), (0, _react2.mdx)("tr", {
|
|
4076
|
+
}, "fetch dependencies (bit components) objects to the local scope, but dont add to the workspace. Useful to resolve errors about missing dependency data")), (0, _react2.mdx)("tr", {
|
|
4084
4077
|
parentName: "tbody"
|
|
4085
4078
|
}, (0, _react2.mdx)("td", {
|
|
4086
4079
|
parentName: "tr",
|
|
@@ -4093,7 +4086,7 @@ function MDXContent(_ref) {
|
|
|
4093
4086
|
}), (0, _react2.mdx)("td", {
|
|
4094
4087
|
parentName: "tr",
|
|
4095
4088
|
"align": null
|
|
4096
|
-
}, "do not write any
|
|
4089
|
+
}, "do not write any component files, just create .bitmap entries of the imported components. Useful when the files already exist and just want to re-add the component to the bitmap")), (0, _react2.mdx)("tr", {
|
|
4097
4090
|
parentName: "tbody"
|
|
4098
4091
|
}, (0, _react2.mdx)("td", {
|
|
4099
4092
|
parentName: "tr",
|
|
@@ -4222,7 +4215,7 @@ function MDXContent(_ref) {
|
|
|
4222
4215
|
}), (0, _react2.mdx)("td", {
|
|
4223
4216
|
parentName: "tr",
|
|
4224
4217
|
"align": null
|
|
4225
|
-
}, "same as reset-new, but it only
|
|
4218
|
+
}, "same as reset-new, but it only resets components belong to lanes. main components are left intact")), (0, _react2.mdx)("tr", {
|
|
4226
4219
|
parentName: "tbody"
|
|
4227
4220
|
}, (0, _react2.mdx)("td", {
|
|
4228
4221
|
parentName: "tr",
|
|
@@ -4235,7 +4228,7 @@ function MDXContent(_ref) {
|
|
|
4235
4228
|
}), (0, _react2.mdx)("td", {
|
|
4236
4229
|
parentName: "tr",
|
|
4237
4230
|
"align": null
|
|
4238
|
-
}, "delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-
|
|
4231
|
+
}, "delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-starting workspace from scratch")), (0, _react2.mdx)("tr", {
|
|
4239
4232
|
parentName: "tbody"
|
|
4240
4233
|
}, (0, _react2.mdx)("td", {
|
|
4241
4234
|
parentName: "tr",
|
|
@@ -4248,7 +4241,7 @@ function MDXContent(_ref) {
|
|
|
4248
4241
|
}), (0, _react2.mdx)("td", {
|
|
4249
4242
|
parentName: "tr",
|
|
4250
4243
|
"align": null
|
|
4251
|
-
}, "removes local scope (.bit or .git/bit). snaps that
|
|
4244
|
+
}, "removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact")), (0, _react2.mdx)("tr", {
|
|
4252
4245
|
parentName: "tbody"
|
|
4253
4246
|
}, (0, _react2.mdx)("td", {
|
|
4254
4247
|
parentName: "tr",
|
|
@@ -4263,7 +4256,7 @@ function MDXContent(_ref) {
|
|
|
4263
4256
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
4264
4257
|
parentName: "tr",
|
|
4265
4258
|
"align": null
|
|
4266
|
-
}, "set
|
|
4259
|
+
}, "set the default directory pattern to import/create components into")), (0, _react2.mdx)("tr", {
|
|
4267
4260
|
parentName: "tbody"
|
|
4268
4261
|
}, (0, _react2.mdx)("td", {
|
|
4269
4262
|
parentName: "tr",
|
|
@@ -4276,7 +4269,7 @@ function MDXContent(_ref) {
|
|
|
4276
4269
|
}), (0, _react2.mdx)("td", {
|
|
4277
4270
|
parentName: "tr",
|
|
4278
4271
|
"align": null
|
|
4279
|
-
}, "set
|
|
4272
|
+
}, "set the default scope for components in the workspace")), (0, _react2.mdx)("tr", {
|
|
4280
4273
|
parentName: "tbody"
|
|
4281
4274
|
}, (0, _react2.mdx)("td", {
|
|
4282
4275
|
parentName: "tr",
|
|
@@ -4291,7 +4284,7 @@ function MDXContent(_ref) {
|
|
|
4291
4284
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
4292
4285
|
parentName: "tr",
|
|
4293
4286
|
"align": null
|
|
4294
|
-
}, "set
|
|
4287
|
+
}, "set the package manager (npm or yarn) to be used in the workspace")), (0, _react2.mdx)("tr", {
|
|
4295
4288
|
parentName: "tbody"
|
|
4296
4289
|
}, (0, _react2.mdx)("td", {
|
|
4297
4290
|
parentName: "tr",
|
|
@@ -4423,7 +4416,7 @@ function MDXContent(_ref) {
|
|
|
4423
4416
|
}, "-u")), (0, _react2.mdx)("td", {
|
|
4424
4417
|
parentName: "tr",
|
|
4425
4418
|
"align": null
|
|
4426
|
-
}, "update all dependencies")), (0, _react2.mdx)("tr", {
|
|
4419
|
+
}, "update all dependencies to latest version according to their semver range")), (0, _react2.mdx)("tr", {
|
|
4427
4420
|
parentName: "tbody"
|
|
4428
4421
|
}, (0, _react2.mdx)("td", {
|
|
4429
4422
|
parentName: "tr",
|
|
@@ -4548,15 +4541,15 @@ function MDXContent(_ref) {
|
|
|
4548
4541
|
parentName: "p"
|
|
4549
4542
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
4550
4543
|
parentName: "p"
|
|
4551
|
-
}, "Description"), ": manage lanes"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4544
|
+
}, "Description"), ": manage lanes - if no sub-command is used, runs \"bit lane list\""), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4552
4545
|
parentName: "p"
|
|
4553
|
-
}, "bit lane [
|
|
4546
|
+
}, "bit lane [sub-command]")), (0, _react2.mdx)("h3", null, "lane list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4554
4547
|
parentName: "p"
|
|
4555
4548
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4556
4549
|
parentName: "p"
|
|
4557
4550
|
}, "lane list")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4558
4551
|
parentName: "p"
|
|
4559
|
-
}, "Description"), ": list lanes"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4552
|
+
}, "Description"), ": list local lanes"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4560
4553
|
parentName: "table"
|
|
4561
4554
|
}, (0, _react2.mdx)("tr", {
|
|
4562
4555
|
parentName: "thead"
|
|
@@ -4607,7 +4600,7 @@ function MDXContent(_ref) {
|
|
|
4607
4600
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
4608
4601
|
parentName: "tr",
|
|
4609
4602
|
"align": null
|
|
4610
|
-
}, "show lanes details in a json format")), (0, _react2.mdx)("tr", {
|
|
4603
|
+
}, "show lanes' details in a json format")), (0, _react2.mdx)("tr", {
|
|
4611
4604
|
parentName: "tbody"
|
|
4612
4605
|
}, (0, _react2.mdx)("td", {
|
|
4613
4606
|
parentName: "tr",
|
|
@@ -4622,7 +4615,7 @@ function MDXContent(_ref) {
|
|
|
4622
4615
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
4623
4616
|
parentName: "tr",
|
|
4624
4617
|
"align": null
|
|
4625
|
-
}, "show remote lanes")), (0, _react2.mdx)("tr", {
|
|
4618
|
+
}, "show all remote lanes from the specified scope")), (0, _react2.mdx)("tr", {
|
|
4626
4619
|
parentName: "tbody"
|
|
4627
4620
|
}, (0, _react2.mdx)("td", {
|
|
4628
4621
|
parentName: "tr",
|
|
@@ -4635,7 +4628,7 @@ function MDXContent(_ref) {
|
|
|
4635
4628
|
}), (0, _react2.mdx)("td", {
|
|
4636
4629
|
parentName: "tr",
|
|
4637
4630
|
"align": null
|
|
4638
|
-
}, "
|
|
4631
|
+
}, "list only merged lanes")), (0, _react2.mdx)("tr", {
|
|
4639
4632
|
parentName: "tbody"
|
|
4640
4633
|
}, (0, _react2.mdx)("td", {
|
|
4641
4634
|
parentName: "tr",
|
|
@@ -4648,11 +4641,11 @@ function MDXContent(_ref) {
|
|
|
4648
4641
|
}), (0, _react2.mdx)("td", {
|
|
4649
4642
|
parentName: "tr",
|
|
4650
4643
|
"align": null
|
|
4651
|
-
}, "
|
|
4644
|
+
}, "list only lanes that haven't been merged")))), (0, _react2.mdx)("h3", null, "lane switch"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4652
4645
|
parentName: "p"
|
|
4653
4646
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4654
4647
|
parentName: "p"
|
|
4655
|
-
}, "lane switch <lane>
|
|
4648
|
+
}, "lane switch <lane>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4656
4649
|
parentName: "p"
|
|
4657
4650
|
}, "Description"), ": switch to the specified lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4658
4651
|
parentName: "table"
|
|
@@ -4680,7 +4673,7 @@ function MDXContent(_ref) {
|
|
|
4680
4673
|
}, "lane")), (0, _react2.mdx)("td", {
|
|
4681
4674
|
parentName: "tr",
|
|
4682
4675
|
"align": "center"
|
|
4683
|
-
}, "lane-name or lane-id (if not
|
|
4676
|
+
}, "lane-name or lane-id (if lane is not local) to switch to")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4684
4677
|
parentName: "table"
|
|
4685
4678
|
}, (0, _react2.mdx)("tr", {
|
|
4686
4679
|
parentName: "thead"
|
|
@@ -4716,7 +4709,7 @@ function MDXContent(_ref) {
|
|
|
4716
4709
|
}, "-n")), (0, _react2.mdx)("td", {
|
|
4717
4710
|
parentName: "tr",
|
|
4718
4711
|
"align": null
|
|
4719
|
-
}, "relevant when the specified lane is a remote
|
|
4712
|
+
}, "relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote")), (0, _react2.mdx)("tr", {
|
|
4720
4713
|
parentName: "tbody"
|
|
4721
4714
|
}, (0, _react2.mdx)("td", {
|
|
4722
4715
|
parentName: "tr",
|
|
@@ -4746,7 +4739,7 @@ function MDXContent(_ref) {
|
|
|
4746
4739
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
4747
4740
|
parentName: "tr",
|
|
4748
4741
|
"align": null
|
|
4749
|
-
}, "checkout all components in a lane
|
|
4742
|
+
}, "checkout all components in a lane, including those not currently in the workspace")), (0, _react2.mdx)("tr", {
|
|
4750
4743
|
parentName: "tbody"
|
|
4751
4744
|
}, (0, _react2.mdx)("td", {
|
|
4752
4745
|
parentName: "tr",
|
|
@@ -4761,7 +4754,7 @@ function MDXContent(_ref) {
|
|
|
4761
4754
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
4762
4755
|
parentName: "tr",
|
|
4763
4756
|
"align": null
|
|
4764
|
-
}, "do not install
|
|
4757
|
+
}, "do not install dependencies of the imported components")), (0, _react2.mdx)("tr", {
|
|
4765
4758
|
parentName: "tbody"
|
|
4766
4759
|
}, (0, _react2.mdx)("td", {
|
|
4767
4760
|
parentName: "tr",
|
|
@@ -4776,7 +4769,7 @@ function MDXContent(_ref) {
|
|
|
4776
4769
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
4777
4770
|
parentName: "tr",
|
|
4778
4771
|
"align": null
|
|
4779
|
-
}, "switch only the specified component-pattern. works
|
|
4772
|
+
}, "switch only the lane components matching the specified component-pattern. only works when the workspace is empty component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")), (0, _react2.mdx)("tr", {
|
|
4780
4773
|
parentName: "tbody"
|
|
4781
4774
|
}, (0, _react2.mdx)("td", {
|
|
4782
4775
|
parentName: "tr",
|
|
@@ -4848,7 +4841,7 @@ function MDXContent(_ref) {
|
|
|
4848
4841
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
4849
4842
|
parentName: "tr",
|
|
4850
4843
|
"align": null
|
|
4851
|
-
}, "show the
|
|
4844
|
+
}, "show details of the remote head of the provided lane")))), (0, _react2.mdx)("h3", null, "lane create"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4852
4845
|
parentName: "p"
|
|
4853
4846
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4854
4847
|
parentName: "p"
|
|
@@ -4858,7 +4851,7 @@ function MDXContent(_ref) {
|
|
|
4858
4851
|
parentName: "p"
|
|
4859
4852
|
}), "\n", "a lane created from main (default-lane) is empty until components are snapped.", (0, _react2.mdx)("br", {
|
|
4860
4853
|
parentName: "p"
|
|
4861
|
-
}), "\n", "a lane created from another lane
|
|
4854
|
+
}), "\n", "a lane created from another lane contains all the components of the original lane."), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4862
4855
|
parentName: "table"
|
|
4863
4856
|
}, (0, _react2.mdx)("tr", {
|
|
4864
4857
|
parentName: "thead"
|
|
@@ -4920,7 +4913,7 @@ function MDXContent(_ref) {
|
|
|
4920
4913
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
4921
4914
|
parentName: "tr",
|
|
4922
4915
|
"align": null
|
|
4923
|
-
}, "remote scope
|
|
4916
|
+
}, "remote scope to which this lane will be exported, default to the workspace.json's defaultScope (can be changed up to first export of the lane with \"bit lane change-scope\")")), (0, _react2.mdx)("tr", {
|
|
4924
4917
|
parentName: "tbody"
|
|
4925
4918
|
}, (0, _react2.mdx)("td", {
|
|
4926
4919
|
parentName: "tr",
|
|
@@ -4961,13 +4954,13 @@ function MDXContent(_ref) {
|
|
|
4961
4954
|
}), (0, _react2.mdx)("td", {
|
|
4962
4955
|
parentName: "tr",
|
|
4963
4956
|
"align": null
|
|
4964
|
-
}, "
|
|
4957
|
+
}, "create the new lane in a different scope than its parent lane (if created from another lane)")))), (0, _react2.mdx)("h3", null, "lane remove"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4965
4958
|
parentName: "p"
|
|
4966
4959
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4967
4960
|
parentName: "p"
|
|
4968
4961
|
}, "lane remove <lanes...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4969
4962
|
parentName: "p"
|
|
4970
|
-
}, "Description"), ": remove lanes"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4963
|
+
}, "Description"), ": remove or delete lanes"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4971
4964
|
parentName: "table"
|
|
4972
4965
|
}, (0, _react2.mdx)("tr", {
|
|
4973
4966
|
parentName: "thead"
|
|
@@ -5029,7 +5022,7 @@ function MDXContent(_ref) {
|
|
|
5029
5022
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
5030
5023
|
parentName: "tr",
|
|
5031
5024
|
"align": null
|
|
5032
|
-
}, "
|
|
5025
|
+
}, "delete a remote lane. use remote/lane-id syntax e.g. bit lane remove owner.org/my-lane --remote. Delete is immediate, no export required")), (0, _react2.mdx)("tr", {
|
|
5033
5026
|
parentName: "tbody"
|
|
5034
5027
|
}, (0, _react2.mdx)("td", {
|
|
5035
5028
|
parentName: "tr",
|
|
@@ -5044,7 +5037,7 @@ function MDXContent(_ref) {
|
|
|
5044
5037
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
5045
5038
|
parentName: "tr",
|
|
5046
5039
|
"align": null
|
|
5047
|
-
}, "removes the lane even when the lane
|
|
5040
|
+
}, "removes/deletes the lane even when the lane is not yet merged to main")), (0, _react2.mdx)("tr", {
|
|
5048
5041
|
parentName: "tbody"
|
|
5049
5042
|
}, (0, _react2.mdx)("td", {
|
|
5050
5043
|
parentName: "tr",
|
|
@@ -5065,7 +5058,9 @@ function MDXContent(_ref) {
|
|
|
5065
5058
|
parentName: "p"
|
|
5066
5059
|
}, "lane change-scope <lane-name> <remote-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5067
5060
|
parentName: "p"
|
|
5068
|
-
}, "Description"), ": changes the remote scope of a lane"
|
|
5061
|
+
}, "Description"), ": changes the remote scope of a lane", (0, _react2.mdx)("br", {
|
|
5062
|
+
parentName: "p"
|
|
5063
|
+
}), "\n", "NOTE: available only before the lane is exported to the remote"), (0, _react2.mdx)("h3", null, "lane alias"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5069
5064
|
parentName: "p"
|
|
5070
5065
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5071
5066
|
parentName: "p"
|
|
@@ -5073,9 +5068,9 @@ function MDXContent(_ref) {
|
|
|
5073
5068
|
parentName: "p"
|
|
5074
5069
|
}, "Description"), ": adds an alias to a lane", (0, _react2.mdx)("br", {
|
|
5075
5070
|
parentName: "p"
|
|
5076
|
-
}), "\n", "an alias is a name that can be used to refer to a lane. it is saved locally and never
|
|
5071
|
+
}), "\n", "an alias is a name that can be used locally to refer to a lane. it is saved locally and never reaches the remote.", (0, _react2.mdx)("br", {
|
|
5077
5072
|
parentName: "p"
|
|
5078
|
-
}), "\n", "it is useful when having multiple lanes with the same name, but with different remote scopes."), (0, _react2.mdx)("h3", null, "lane rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5073
|
+
}), "\n", "it is useful e.g. when having multiple lanes with the same name, but with different remote scopes."), (0, _react2.mdx)("h3", null, "lane rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5079
5074
|
parentName: "p"
|
|
5080
5075
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5081
5076
|
parentName: "p"
|
|
@@ -5102,6 +5097,42 @@ function MDXContent(_ref) {
|
|
|
5102
5097
|
"align": null
|
|
5103
5098
|
}, (0, _react2.mdx)("strong", {
|
|
5104
5099
|
parentName: "th"
|
|
5100
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
5101
|
+
parentName: "tr",
|
|
5102
|
+
"align": "center"
|
|
5103
|
+
}, (0, _react2.mdx)("strong", {
|
|
5104
|
+
parentName: "th"
|
|
5105
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5106
|
+
parentName: "table"
|
|
5107
|
+
}, (0, _react2.mdx)("tr", {
|
|
5108
|
+
parentName: "tbody"
|
|
5109
|
+
}, (0, _react2.mdx)("td", {
|
|
5110
|
+
parentName: "tr",
|
|
5111
|
+
"align": null
|
|
5112
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5113
|
+
parentName: "td"
|
|
5114
|
+
}, "from")), (0, _react2.mdx)("td", {
|
|
5115
|
+
parentName: "tr",
|
|
5116
|
+
"align": "center"
|
|
5117
|
+
}, "base lane for comparison")), (0, _react2.mdx)("tr", {
|
|
5118
|
+
parentName: "tbody"
|
|
5119
|
+
}, (0, _react2.mdx)("td", {
|
|
5120
|
+
parentName: "tr",
|
|
5121
|
+
"align": null
|
|
5122
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5123
|
+
parentName: "td"
|
|
5124
|
+
}, "to")), (0, _react2.mdx)("td", {
|
|
5125
|
+
parentName: "tr",
|
|
5126
|
+
"align": "center"
|
|
5127
|
+
}, "lane being compared to base lane")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5128
|
+
parentName: "table"
|
|
5129
|
+
}, (0, _react2.mdx)("tr", {
|
|
5130
|
+
parentName: "thead"
|
|
5131
|
+
}, (0, _react2.mdx)("th", {
|
|
5132
|
+
parentName: "tr",
|
|
5133
|
+
"align": null
|
|
5134
|
+
}, (0, _react2.mdx)("strong", {
|
|
5135
|
+
parentName: "th"
|
|
5105
5136
|
}, "Option")), (0, _react2.mdx)("th", {
|
|
5106
5137
|
parentName: "tr",
|
|
5107
5138
|
"align": "center"
|
|
@@ -5127,13 +5158,13 @@ function MDXContent(_ref) {
|
|
|
5127
5158
|
}), (0, _react2.mdx)("td", {
|
|
5128
5159
|
parentName: "tr",
|
|
5129
5160
|
"align": null
|
|
5130
|
-
}, "show lane-diff for the specified component-pattern only")))), (0, _react2.mdx)("h3", null, "lane add-readme"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5161
|
+
}, "show lane-diff for components conforming to the specified component-pattern only component-pattern format: component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("h3", null, "lane add-readme"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5131
5162
|
parentName: "p"
|
|
5132
5163
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5133
5164
|
parentName: "p"
|
|
5134
5165
|
}, "lane add-readme <component-name> [lane-name]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5135
5166
|
parentName: "p"
|
|
5136
|
-
}, "Description"), ": EXPERIMENTAL.
|
|
5167
|
+
}, "Description"), ": EXPERIMENTAL. sets an existing component as the readme of a lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5137
5168
|
parentName: "table"
|
|
5138
5169
|
}, (0, _react2.mdx)("tr", {
|
|
5139
5170
|
parentName: "thead"
|
|
@@ -5181,7 +5212,7 @@ function MDXContent(_ref) {
|
|
|
5181
5212
|
parentName: "p"
|
|
5182
5213
|
}, "lane import <lane>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5183
5214
|
parentName: "p"
|
|
5184
|
-
}, "Description"), ": import a remote lane to your workspace"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5215
|
+
}, "Description"), ": import a remote lane to your workspace and switch to that lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5185
5216
|
parentName: "table"
|
|
5186
5217
|
}, (0, _react2.mdx)("tr", {
|
|
5187
5218
|
parentName: "thead"
|
|
@@ -5243,7 +5274,7 @@ function MDXContent(_ref) {
|
|
|
5243
5274
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
5244
5275
|
parentName: "tr",
|
|
5245
5276
|
"align": null
|
|
5246
|
-
}, "do not install
|
|
5277
|
+
}, "do not install dependencies of the imported components")), (0, _react2.mdx)("tr", {
|
|
5247
5278
|
parentName: "tbody"
|
|
5248
5279
|
}, (0, _react2.mdx)("td", {
|
|
5249
5280
|
parentName: "tr",
|
|
@@ -5258,7 +5289,7 @@ function MDXContent(_ref) {
|
|
|
5258
5289
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
5259
5290
|
parentName: "tr",
|
|
5260
5291
|
"align": null
|
|
5261
|
-
}, "
|
|
5292
|
+
}, "import only components from the lane that fit the specified component-pattern to the workspace. works only when the workspace is empty")))), (0, _react2.mdx)("h3", null, "lane remove-comp"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5262
5293
|
parentName: "p"
|
|
5263
5294
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5264
5295
|
parentName: "p"
|
|
@@ -5266,9 +5297,11 @@ function MDXContent(_ref) {
|
|
|
5266
5297
|
parentName: "p"
|
|
5267
5298
|
}, "Description"), ": remove components when on a lane", (0, _react2.mdx)("br", {
|
|
5268
5299
|
parentName: "p"
|
|
5269
|
-
}), "\n", "in case the components are part of the lane and the lane is exported, it marks the components as
|
|
5300
|
+
}), "\n", "in case the components are part of the lane and the lane is exported, it marks the components as", (0, _react2.mdx)("br", {
|
|
5301
|
+
parentName: "p"
|
|
5302
|
+
}), "\n", "removed from the lane, and then after snap+export, the remote-lane gets updated as well.", (0, _react2.mdx)("br", {
|
|
5270
5303
|
parentName: "p"
|
|
5271
|
-
}), "\n", "
|
|
5304
|
+
}), "\n", "upon lane-merge, these removed components are skipped and any changes for removed components won't be merged to main."), (0, _react2.mdx)("p", null, "in case the components are not yet part of the lane or the lane is new, it simply removes the components from the workspace"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5272
5305
|
parentName: "table"
|
|
5273
5306
|
}, (0, _react2.mdx)("tr", {
|
|
5274
5307
|
parentName: "thead"
|
|
@@ -5328,7 +5361,7 @@ function MDXContent(_ref) {
|
|
|
5328
5361
|
}), (0, _react2.mdx)("td", {
|
|
5329
5362
|
parentName: "tr",
|
|
5330
5363
|
"align": null
|
|
5331
|
-
}, "do not mark the components as removed. instead, remove them from the workspace only")), (0, _react2.mdx)("tr", {
|
|
5364
|
+
}, "do not mark the components as removed from the lane. instead, remove them from the workspace only")), (0, _react2.mdx)("tr", {
|
|
5332
5365
|
parentName: "tbody"
|
|
5333
5366
|
}, (0, _react2.mdx)("td", {
|
|
5334
5367
|
parentName: "tr",
|
|
@@ -5341,19 +5374,19 @@ function MDXContent(_ref) {
|
|
|
5341
5374
|
}), (0, _react2.mdx)("td", {
|
|
5342
5375
|
parentName: "tr",
|
|
5343
5376
|
"align": null
|
|
5344
|
-
}, "EXPERIMENTAL.
|
|
5377
|
+
}, "EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main")))), (0, _react2.mdx)("h3", null, "lane merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5345
5378
|
parentName: "p"
|
|
5346
5379
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5347
5380
|
parentName: "p"
|
|
5348
5381
|
}, "lane merge <lane> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5349
5382
|
parentName: "p"
|
|
5350
|
-
}, "Description"), ": merge a local or a remote lane", (0, _react2.mdx)("br", {
|
|
5383
|
+
}, "Description"), ": merge a local or a remote lane to the current lane", (0, _react2.mdx)("br", {
|
|
5351
5384
|
parentName: "p"
|
|
5352
5385
|
}), "\n", "by default, the provided lane will be fetched from the remote before merging.", (0, _react2.mdx)("br", {
|
|
5353
5386
|
parentName: "p"
|
|
5354
|
-
}), "\n", "to merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag."), (0, _react2.mdx)("p", null, "when the current and
|
|
5387
|
+
}), "\n", "to merge the lane from the local scope without updating it first, use \"--skip-fetch\" flag."), (0, _react2.mdx)("p", null, "when the current and merge candidate lanes are diverged in history and the files could be merged with no conflicts,", (0, _react2.mdx)("br", {
|
|
5355
5388
|
parentName: "p"
|
|
5356
|
-
}), "\n", "
|
|
5389
|
+
}), "\n", "these components will be snap-merged to complete the merge. use \"no-snap\" to opt-out, or \"tag\" to tag instead"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5357
5390
|
parentName: "table"
|
|
5358
5391
|
}, (0, _react2.mdx)("tr", {
|
|
5359
5392
|
parentName: "thead"
|
|
@@ -5379,7 +5412,7 @@ function MDXContent(_ref) {
|
|
|
5379
5412
|
}, "lane")), (0, _react2.mdx)("td", {
|
|
5380
5413
|
parentName: "tr",
|
|
5381
5414
|
"align": "center"
|
|
5382
|
-
}, "lane-name or lane-id (if
|
|
5415
|
+
}, "lane-name or full lane-id (if remote) to merge to the current lane")), (0, _react2.mdx)("tr", {
|
|
5383
5416
|
parentName: "tbody"
|
|
5384
5417
|
}, (0, _react2.mdx)("td", {
|
|
5385
5418
|
parentName: "tr",
|
|
@@ -5389,7 +5422,7 @@ function MDXContent(_ref) {
|
|
|
5389
5422
|
}, "pattern")), (0, _react2.mdx)("td", {
|
|
5390
5423
|
parentName: "tr",
|
|
5391
5424
|
"align": "center"
|
|
5392
|
-
}, "partially merge the lane
|
|
5425
|
+
}, "partially merge the lane - only components that match the specified component-pattern Component pattern format: component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5393
5426
|
parentName: "table"
|
|
5394
5427
|
}, (0, _react2.mdx)("tr", {
|
|
5395
5428
|
parentName: "thead"
|
|
@@ -5423,7 +5456,7 @@ function MDXContent(_ref) {
|
|
|
5423
5456
|
}), (0, _react2.mdx)("td", {
|
|
5424
5457
|
parentName: "tr",
|
|
5425
5458
|
"align": null
|
|
5426
|
-
}, "DEPRECATED. use --auto-merge-resolve.
|
|
5459
|
+
}, "DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep local modifications")), (0, _react2.mdx)("tr", {
|
|
5427
5460
|
parentName: "tbody"
|
|
5428
5461
|
}, (0, _react2.mdx)("td", {
|
|
5429
5462
|
parentName: "tr",
|
|
@@ -5436,7 +5469,7 @@ function MDXContent(_ref) {
|
|
|
5436
5469
|
}), (0, _react2.mdx)("td", {
|
|
5437
5470
|
parentName: "tr",
|
|
5438
5471
|
"align": null
|
|
5439
|
-
}, "DEPRECATED. use --auto-merge-resolve.
|
|
5472
|
+
}, "DEPRECATED. use --auto-merge-resolve. in case of a conflict, override local with incoming changes")), (0, _react2.mdx)("tr", {
|
|
5440
5473
|
parentName: "tbody"
|
|
5441
5474
|
}, (0, _react2.mdx)("td", {
|
|
5442
5475
|
parentName: "tr",
|
|
@@ -5462,7 +5495,7 @@ function MDXContent(_ref) {
|
|
|
5462
5495
|
}), (0, _react2.mdx)("td", {
|
|
5463
5496
|
parentName: "tr",
|
|
5464
5497
|
"align": null
|
|
5465
|
-
}, "in case of a conflict, resolve according to the strategy: ", "[ours, theirs, manual]")), (0, _react2.mdx)("tr", {
|
|
5498
|
+
}, "in case of a merge conflict, resolve according to the provided strategy: ", "[ours, theirs, manual]")), (0, _react2.mdx)("tr", {
|
|
5466
5499
|
parentName: "tbody"
|
|
5467
5500
|
}, (0, _react2.mdx)("td", {
|
|
5468
5501
|
parentName: "tr",
|
|
@@ -5475,7 +5508,7 @@ function MDXContent(_ref) {
|
|
|
5475
5508
|
}), (0, _react2.mdx)("td", {
|
|
5476
5509
|
parentName: "tr",
|
|
5477
5510
|
"align": null
|
|
5478
|
-
}, "merge only components
|
|
5511
|
+
}, "merge only lane components that are in the current workspace")), (0, _react2.mdx)("tr", {
|
|
5479
5512
|
parentName: "tbody"
|
|
5480
5513
|
}, (0, _react2.mdx)("td", {
|
|
5481
5514
|
parentName: "tr",
|
|
@@ -5488,7 +5521,7 @@ function MDXContent(_ref) {
|
|
|
5488
5521
|
}), (0, _react2.mdx)("td", {
|
|
5489
5522
|
parentName: "tr",
|
|
5490
5523
|
"align": null
|
|
5491
|
-
}, "do not auto snap
|
|
5524
|
+
}, "do not auto snap after merge completed without conflicts")), (0, _react2.mdx)("tr", {
|
|
5492
5525
|
parentName: "tbody"
|
|
5493
5526
|
}, (0, _react2.mdx)("td", {
|
|
5494
5527
|
parentName: "tr",
|
|
@@ -5501,7 +5534,7 @@ function MDXContent(_ref) {
|
|
|
5501
5534
|
}), (0, _react2.mdx)("td", {
|
|
5502
5535
|
parentName: "tr",
|
|
5503
5536
|
"align": null
|
|
5504
|
-
}, "tag all lane components after merging into main (
|
|
5537
|
+
}, "auto-tag all lane components after merging into main (or tag-merge in case of snap-merge)")), (0, _react2.mdx)("tr", {
|
|
5505
5538
|
parentName: "tbody"
|
|
5506
5539
|
}, (0, _react2.mdx)("td", {
|
|
5507
5540
|
parentName: "tr",
|
|
@@ -5555,7 +5588,7 @@ function MDXContent(_ref) {
|
|
|
5555
5588
|
}), (0, _react2.mdx)("td", {
|
|
5556
5589
|
parentName: "tr",
|
|
5557
5590
|
"align": null
|
|
5558
|
-
}, "relevant for merging lanes into main, which by default
|
|
5591
|
+
}, "relevant for merging lanes into main, which by default squashes all lane snaps")), (0, _react2.mdx)("tr", {
|
|
5559
5592
|
parentName: "tbody"
|
|
5560
5593
|
}, (0, _react2.mdx)("td", {
|
|
5561
5594
|
parentName: "tr",
|
|
@@ -5568,7 +5601,7 @@ function MDXContent(_ref) {
|
|
|
5568
5601
|
}), (0, _react2.mdx)("td", {
|
|
5569
5602
|
parentName: "tr",
|
|
5570
5603
|
"align": null
|
|
5571
|
-
}, "EXPERIMENTAL. relevant for merging a lane into another lane, which by default does not squash")), (0, _react2.mdx)("tr", {
|
|
5604
|
+
}, "EXPERIMENTAL. relevant for merging a lane into another non-main lane, which by default does not squash")), (0, _react2.mdx)("tr", {
|
|
5572
5605
|
parentName: "tbody"
|
|
5573
5606
|
}, (0, _react2.mdx)("td", {
|
|
5574
5607
|
parentName: "tr",
|
|
@@ -5581,7 +5614,7 @@ function MDXContent(_ref) {
|
|
|
5581
5614
|
}), (0, _react2.mdx)("td", {
|
|
5582
5615
|
parentName: "tr",
|
|
5583
5616
|
"align": null
|
|
5584
|
-
}, "allow merging when
|
|
5617
|
+
}, "allow merging when components are modified due to config changes (such as dependencies) only and not files")), (0, _react2.mdx)("tr", {
|
|
5585
5618
|
parentName: "tbody"
|
|
5586
5619
|
}, (0, _react2.mdx)("td", {
|
|
5587
5620
|
parentName: "tr",
|
|
@@ -5594,7 +5627,7 @@ function MDXContent(_ref) {
|
|
|
5594
5627
|
}), (0, _react2.mdx)("td", {
|
|
5595
5628
|
parentName: "tr",
|
|
5596
5629
|
"align": null
|
|
5597
|
-
}, "show details of components that were not merged
|
|
5630
|
+
}, "show details of components that were not merged successfully")), (0, _react2.mdx)("tr", {
|
|
5598
5631
|
parentName: "tbody"
|
|
5599
5632
|
}, (0, _react2.mdx)("td", {
|
|
5600
5633
|
parentName: "tr",
|
|
@@ -5609,7 +5642,7 @@ function MDXContent(_ref) {
|
|
|
5609
5642
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
5610
5643
|
parentName: "tr",
|
|
5611
5644
|
"align": null
|
|
5612
|
-
}, "do not install
|
|
5645
|
+
}, "do not install dependencies of the imported components")), (0, _react2.mdx)("tr", {
|
|
5613
5646
|
parentName: "tbody"
|
|
5614
5647
|
}, (0, _react2.mdx)("td", {
|
|
5615
5648
|
parentName: "tr",
|
|
@@ -5622,7 +5655,7 @@ function MDXContent(_ref) {
|
|
|
5622
5655
|
}), (0, _react2.mdx)("td", {
|
|
5623
5656
|
parentName: "tr",
|
|
5624
5657
|
"align": null
|
|
5625
|
-
}, "use the
|
|
5658
|
+
}, "use the local state of target-lane if exits locally, without updating it from the remote")), (0, _react2.mdx)("tr", {
|
|
5626
5659
|
parentName: "tbody"
|
|
5627
5660
|
}, (0, _react2.mdx)("td", {
|
|
5628
5661
|
parentName: "tr",
|
|
@@ -5635,7 +5668,7 @@ function MDXContent(_ref) {
|
|
|
5635
5668
|
}), (0, _react2.mdx)("td", {
|
|
5636
5669
|
parentName: "tr",
|
|
5637
5670
|
"align": null
|
|
5638
|
-
}, "relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the
|
|
5671
|
+
}, "relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the specified components")), (0, _react2.mdx)("tr", {
|
|
5639
5672
|
parentName: "tbody"
|
|
5640
5673
|
}, (0, _react2.mdx)("td", {
|
|
5641
5674
|
parentName: "tr",
|
|
@@ -5648,7 +5681,7 @@ function MDXContent(_ref) {
|
|
|
5648
5681
|
}), (0, _react2.mdx)("td", {
|
|
5649
5682
|
parentName: "tr",
|
|
5650
5683
|
"align": null
|
|
5651
|
-
}, "relevant when a component on a lane and the component on main
|
|
5684
|
+
}, "relevant when a component on a lane and the component on main have nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\"")), (0, _react2.mdx)("tr", {
|
|
5652
5685
|
parentName: "tbody"
|
|
5653
5686
|
}, (0, _react2.mdx)("td", {
|
|
5654
5687
|
parentName: "tr",
|
|
@@ -5669,9 +5702,9 @@ function MDXContent(_ref) {
|
|
|
5669
5702
|
parentName: "p"
|
|
5670
5703
|
}, "Description"), ": abort the recent lane-merge. revert the lane object and checkout accordingly", (0, _react2.mdx)("br", {
|
|
5671
5704
|
parentName: "p"
|
|
5672
|
-
}), "\n", "restore the lane-object
|
|
5705
|
+
}), "\n", "restore the lane-object to its state before the last \"bit lane merge\" command.", (0, _react2.mdx)("br", {
|
|
5673
5706
|
parentName: "p"
|
|
5674
|
-
}), "\n", "also, checkout the workspace components according to the restored lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5707
|
+
}), "\n", "also, checkout the workspace components according to the restored lane state"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5675
5708
|
parentName: "table"
|
|
5676
5709
|
}, (0, _react2.mdx)("tr", {
|
|
5677
5710
|
parentName: "thead"
|
|
@@ -5705,7 +5738,7 @@ function MDXContent(_ref) {
|
|
|
5705
5738
|
}), (0, _react2.mdx)("td", {
|
|
5706
5739
|
parentName: "tr",
|
|
5707
5740
|
"align": null
|
|
5708
|
-
}, "show details of components that
|
|
5741
|
+
}, "show details of components that didn't need to be merged")), (0, _react2.mdx)("tr", {
|
|
5709
5742
|
parentName: "tbody"
|
|
5710
5743
|
}, (0, _react2.mdx)("td", {
|
|
5711
5744
|
parentName: "tr",
|
|
@@ -5793,7 +5826,7 @@ function MDXContent(_ref) {
|
|
|
5793
5826
|
"align": null
|
|
5794
5827
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5795
5828
|
parentName: "td"
|
|
5796
|
-
}, "--remote <
|
|
5829
|
+
}, "--remote <remote-scope-name>")), (0, _react2.mdx)("td", {
|
|
5797
5830
|
parentName: "tr",
|
|
5798
5831
|
"align": "center"
|
|
5799
5832
|
}, (0, _react2.mdx)("inlineCode", {
|
|
@@ -5801,7 +5834,7 @@ function MDXContent(_ref) {
|
|
|
5801
5834
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
5802
5835
|
parentName: "tr",
|
|
5803
5836
|
"align": null
|
|
5804
|
-
}, "show remote lanes")), (0, _react2.mdx)("tr", {
|
|
5837
|
+
}, "show all remote lanes from the specified scope")), (0, _react2.mdx)("tr", {
|
|
5805
5838
|
parentName: "tbody"
|
|
5806
5839
|
}, (0, _react2.mdx)("td", {
|
|
5807
5840
|
parentName: "tr",
|
|
@@ -5814,7 +5847,7 @@ function MDXContent(_ref) {
|
|
|
5814
5847
|
}), (0, _react2.mdx)("td", {
|
|
5815
5848
|
parentName: "tr",
|
|
5816
5849
|
"align": null
|
|
5817
|
-
}, "
|
|
5850
|
+
}, "list only merged lanes")), (0, _react2.mdx)("tr", {
|
|
5818
5851
|
parentName: "tbody"
|
|
5819
5852
|
}, (0, _react2.mdx)("td", {
|
|
5820
5853
|
parentName: "tr",
|
|
@@ -5827,7 +5860,7 @@ function MDXContent(_ref) {
|
|
|
5827
5860
|
}), (0, _react2.mdx)("td", {
|
|
5828
5861
|
parentName: "tr",
|
|
5829
5862
|
"align": null
|
|
5830
|
-
}, "
|
|
5863
|
+
}, "list only lanes that haven't been merged")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "link"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5831
5864
|
parentName: "p"
|
|
5832
5865
|
}, "Description"), ": create links in the node_modules directory, to core aspects and to components in the workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5833
5866
|
parentName: "p"
|
|
@@ -6038,12 +6071,7 @@ function MDXContent(_ref) {
|
|
|
6038
6071
|
parentName: "p"
|
|
6039
6072
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
6040
6073
|
parentName: "p"
|
|
6041
|
-
}, "Description"), ": list components on a workspace
|
|
6042
|
-
parentName: "p"
|
|
6043
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
6044
|
-
parentName: "p",
|
|
6045
|
-
"href": "https://bit.dev/docs/reference/cli-reference#list"
|
|
6046
|
-
}, "https://bit.dev/docs/reference/cli-reference#list")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6074
|
+
}, "Description"), ": list components on a workspace or a remote scope (with flag)."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6047
6075
|
parentName: "p"
|
|
6048
6076
|
}, "bit list [remote-scope]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6049
6077
|
parentName: "table"
|
|
@@ -6081,7 +6109,7 @@ function MDXContent(_ref) {
|
|
|
6081
6109
|
}, "-i")), (0, _react2.mdx)("td", {
|
|
6082
6110
|
parentName: "tr",
|
|
6083
6111
|
"align": null
|
|
6084
|
-
}, "show only component ids unformatted")), (0, _react2.mdx)("tr", {
|
|
6112
|
+
}, "show only component ids, unformatted")), (0, _react2.mdx)("tr", {
|
|
6085
6113
|
parentName: "tbody"
|
|
6086
6114
|
}, (0, _react2.mdx)("td", {
|
|
6087
6115
|
parentName: "tr",
|
|
@@ -6111,7 +6139,7 @@ function MDXContent(_ref) {
|
|
|
6111
6139
|
}, "-o")), (0, _react2.mdx)("td", {
|
|
6112
6140
|
parentName: "tr",
|
|
6113
6141
|
"align": null
|
|
6114
|
-
}, "
|
|
6142
|
+
}, "highlight outdated components, in comparison with their latest remote version (if one exists)")), (0, _react2.mdx)("tr", {
|
|
6115
6143
|
parentName: "tbody"
|
|
6116
6144
|
}, (0, _react2.mdx)("td", {
|
|
6117
6145
|
parentName: "tr",
|
|
@@ -6141,7 +6169,7 @@ function MDXContent(_ref) {
|
|
|
6141
6169
|
}, "-n")), (0, _react2.mdx)("td", {
|
|
6142
6170
|
parentName: "tr",
|
|
6143
6171
|
"align": null
|
|
6144
|
-
}, "show only specified namespace
|
|
6172
|
+
}, "show only components in the specified namespace/s e.g. '-n ui' or '", "*", "/ui'")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "log"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6145
6173
|
parentName: "p"
|
|
6146
6174
|
}, "Description"), ": show components(s) version history"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6147
6175
|
parentName: "p"
|
|
@@ -6426,15 +6454,17 @@ function MDXContent(_ref) {
|
|
|
6426
6454
|
}), (0, _react2.mdx)("td", {
|
|
6427
6455
|
parentName: "tr",
|
|
6428
6456
|
"align": null
|
|
6429
|
-
}, "specify machine-name to pair with the token (useful for CI to avoid accidentally
|
|
6457
|
+
}, "specify machine-name to pair with the token (useful for CI to avoid accidentally revoking the token)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "logout"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6430
6458
|
parentName: "p"
|
|
6431
6459
|
}, "Description"), ": log the CLI out of Bit"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6432
6460
|
parentName: "p"
|
|
6433
6461
|
}, "bit logout")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6434
6462
|
parentName: "p"
|
|
6435
|
-
}, "Description"), ": merge changes of the remote head into local", (0, _react2.mdx)("br", {
|
|
6463
|
+
}, "Description"), ": merge changes of the remote head into local - auto-snaps all merged components", (0, _react2.mdx)("br", {
|
|
6464
|
+
parentName: "p"
|
|
6465
|
+
}), "\n", "merge changes of the remote head into local when they are diverged. when on a lane, merge the remote head of the lane into the local", (0, _react2.mdx)("br", {
|
|
6436
6466
|
parentName: "p"
|
|
6437
|
-
}), "\n", "
|
|
6467
|
+
}), "\n", "and creates snaps for merged components that have diverged, on the lane.", (0, _react2.mdx)("br", {
|
|
6438
6468
|
parentName: "p"
|
|
6439
6469
|
}), "\n", "if no ids are specified, all pending-merge components will be merged. (run \"bit status\" to list them).", (0, _react2.mdx)("br", {
|
|
6440
6470
|
parentName: "p"
|
|
@@ -6476,7 +6506,7 @@ function MDXContent(_ref) {
|
|
|
6476
6506
|
}), (0, _react2.mdx)("td", {
|
|
6477
6507
|
parentName: "tr",
|
|
6478
6508
|
"align": null
|
|
6479
|
-
}, "DEPRECATED. use --auto-merge-resolve.
|
|
6509
|
+
}, "DEPRECATED. use --auto-merge-resolve. in case of a conflict, keep the local modification")), (0, _react2.mdx)("tr", {
|
|
6480
6510
|
parentName: "tbody"
|
|
6481
6511
|
}, (0, _react2.mdx)("td", {
|
|
6482
6512
|
parentName: "tr",
|
|
@@ -6489,7 +6519,7 @@ function MDXContent(_ref) {
|
|
|
6489
6519
|
}), (0, _react2.mdx)("td", {
|
|
6490
6520
|
parentName: "tr",
|
|
6491
6521
|
"align": null
|
|
6492
|
-
}, "DEPRECATED. use --auto-merge-resolve.
|
|
6522
|
+
}, "DEPRECATED. use --auto-merge-resolve. in case of a conflict, override the local modification with the specified version")), (0, _react2.mdx)("tr", {
|
|
6493
6523
|
parentName: "tbody"
|
|
6494
6524
|
}, (0, _react2.mdx)("td", {
|
|
6495
6525
|
parentName: "tr",
|
|
@@ -6528,7 +6558,7 @@ function MDXContent(_ref) {
|
|
|
6528
6558
|
}), (0, _react2.mdx)("td", {
|
|
6529
6559
|
parentName: "tr",
|
|
6530
6560
|
"align": null
|
|
6531
|
-
}, "in case of an unresolved merge, revert to
|
|
6561
|
+
}, "in case of an unresolved merge, revert to pre-merge state")), (0, _react2.mdx)("tr", {
|
|
6532
6562
|
parentName: "tbody"
|
|
6533
6563
|
}, (0, _react2.mdx)("td", {
|
|
6534
6564
|
parentName: "tr",
|
|
@@ -6554,7 +6584,7 @@ function MDXContent(_ref) {
|
|
|
6554
6584
|
}), (0, _react2.mdx)("td", {
|
|
6555
6585
|
parentName: "tr",
|
|
6556
6586
|
"align": null
|
|
6557
|
-
}, "do not auto snap
|
|
6587
|
+
}, "do not auto snap even if the merge completed without conflicts")), (0, _react2.mdx)("tr", {
|
|
6558
6588
|
parentName: "tbody"
|
|
6559
6589
|
}, (0, _react2.mdx)("td", {
|
|
6560
6590
|
parentName: "tr",
|
|
@@ -6580,7 +6610,7 @@ function MDXContent(_ref) {
|
|
|
6580
6610
|
}), (0, _react2.mdx)("td", {
|
|
6581
6611
|
parentName: "tr",
|
|
6582
6612
|
"align": null
|
|
6583
|
-
}, "show details of components that were not merged
|
|
6613
|
+
}, "show details of components that were not merged successfully")), (0, _react2.mdx)("tr", {
|
|
6584
6614
|
parentName: "tbody"
|
|
6585
6615
|
}, (0, _react2.mdx)("td", {
|
|
6586
6616
|
parentName: "tr",
|
|
@@ -6595,7 +6625,7 @@ function MDXContent(_ref) {
|
|
|
6595
6625
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
6596
6626
|
parentName: "tr",
|
|
6597
6627
|
"align": null
|
|
6598
|
-
}, "do not install
|
|
6628
|
+
}, "do not install new dependencies resulting from the merge")), (0, _react2.mdx)("tr", {
|
|
6599
6629
|
parentName: "tbody"
|
|
6600
6630
|
}, (0, _react2.mdx)("td", {
|
|
6601
6631
|
parentName: "tr",
|
|
@@ -6620,9 +6650,9 @@ function MDXContent(_ref) {
|
|
|
6620
6650
|
parentName: "p"
|
|
6621
6651
|
}, "Description"), ": EXPERIMENTAL. basic status for fast execution", (0, _react2.mdx)("br", {
|
|
6622
6652
|
parentName: "p"
|
|
6623
|
-
}), "\n", "shows only modified/new components. for the full status, use \"bit status\".", (0, _react2.mdx)("br", {
|
|
6653
|
+
}), "\n", "shows only modified/new components with code changes. for the full status, use \"bit status\".", (0, _react2.mdx)("br", {
|
|
6624
6654
|
parentName: "p"
|
|
6625
|
-
}), "\n", "
|
|
6655
|
+
}), "\n", "this command only checks source code changes, it doesn't check for config/aspect/dependency changes"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6626
6656
|
parentName: "p"
|
|
6627
6657
|
}, "bit mini-status [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6628
6658
|
parentName: "table"
|
|
@@ -6707,14 +6737,9 @@ function MDXContent(_ref) {
|
|
|
6707
6737
|
parentName: "p"
|
|
6708
6738
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
6709
6739
|
parentName: "p"
|
|
6710
|
-
}, "Description"), ": move a component to a different filesystem path", (0, _react2.mdx)("br", {
|
|
6711
|
-
parentName: "p"
|
|
6712
|
-
}), "\n", "move files or directories of component(s)", (0, _react2.mdx)("br", {
|
|
6740
|
+
}, "Description"), ": move a component to a different filesystem path (note: this does NOT affect the component's name or scope, just its location in the workspace)", (0, _react2.mdx)("br", {
|
|
6713
6741
|
parentName: "p"
|
|
6714
|
-
}), "\n", "", (0, _react2.mdx)("
|
|
6715
|
-
parentName: "p",
|
|
6716
|
-
"href": "https://bit.dev/docs/workspace/moving-components"
|
|
6717
|
-
}, "https://bit.dev/docs/workspace/moving-components")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6742
|
+
}), "\n", "move files or directories of component(s)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6718
6743
|
parentName: "p"
|
|
6719
6744
|
}, "bit move <current-component-dir> <new-component-dir>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6720
6745
|
parentName: "table"
|
|
@@ -6742,7 +6767,7 @@ function MDXContent(_ref) {
|
|
|
6742
6767
|
}, "current-component-dir")), (0, _react2.mdx)("td", {
|
|
6743
6768
|
parentName: "tr",
|
|
6744
6769
|
"align": "center"
|
|
6745
|
-
}, "the current
|
|
6770
|
+
}, "the component's current directory (relative to the workspace root)")), (0, _react2.mdx)("tr", {
|
|
6746
6771
|
parentName: "tbody"
|
|
6747
6772
|
}, (0, _react2.mdx)("td", {
|
|
6748
6773
|
parentName: "tr",
|
|
@@ -6752,7 +6777,7 @@ function MDXContent(_ref) {
|
|
|
6752
6777
|
}, "new-component-dir")), (0, _react2.mdx)("td", {
|
|
6753
6778
|
parentName: "tr",
|
|
6754
6779
|
"align": "center"
|
|
6755
|
-
}, "the new relative
|
|
6780
|
+
}, "the new directory (relative to the workspace root) to create and move the component's files to")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "new"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6756
6781
|
parentName: "p"
|
|
6757
6782
|
}, "Description"), ": create a new workspace from a template"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6758
6783
|
parentName: "p"
|
|
@@ -6782,7 +6807,7 @@ function MDXContent(_ref) {
|
|
|
6782
6807
|
}, "template-name")), (0, _react2.mdx)("td", {
|
|
6783
6808
|
parentName: "tr",
|
|
6784
6809
|
"align": "center"
|
|
6785
|
-
}, "the name of the workspace template (run 'bit templates'
|
|
6810
|
+
}, "the name of the workspace template (run 'bit templates' outside of a workspace to get a list of available workspace templates)")), (0, _react2.mdx)("tr", {
|
|
6786
6811
|
parentName: "tbody"
|
|
6787
6812
|
}, (0, _react2.mdx)("td", {
|
|
6788
6813
|
parentName: "tr",
|
|
@@ -6792,7 +6817,7 @@ function MDXContent(_ref) {
|
|
|
6792
6817
|
}, "workspace-name")), (0, _react2.mdx)("td", {
|
|
6793
6818
|
parentName: "tr",
|
|
6794
6819
|
"align": "center"
|
|
6795
|
-
}, "the name for the new workspace and workspace directory")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6820
|
+
}, "the name for the new workspace and workspace directory that will be created")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6796
6821
|
parentName: "table"
|
|
6797
6822
|
}, (0, _react2.mdx)("tr", {
|
|
6798
6823
|
parentName: "thead"
|
|
@@ -6828,7 +6853,7 @@ function MDXContent(_ref) {
|
|
|
6828
6853
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
6829
6854
|
parentName: "tr",
|
|
6830
6855
|
"align": null
|
|
6831
|
-
}, "
|
|
6856
|
+
}, "id of the aspect that registered the template, mandatory for non-core aspects. helpful for core aspects in case of a name collision")), (0, _react2.mdx)("tr", {
|
|
6832
6857
|
parentName: "tbody"
|
|
6833
6858
|
}, (0, _react2.mdx)("td", {
|
|
6834
6859
|
parentName: "tr",
|
|
@@ -6843,7 +6868,7 @@ function MDXContent(_ref) {
|
|
|
6843
6868
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
6844
6869
|
parentName: "tr",
|
|
6845
6870
|
"align": null
|
|
6846
|
-
}, "env-id of the template.
|
|
6871
|
+
}, "env-id of the template's owner. Alias for --env.")), (0, _react2.mdx)("tr", {
|
|
6847
6872
|
parentName: "tbody"
|
|
6848
6873
|
}, (0, _react2.mdx)("td", {
|
|
6849
6874
|
parentName: "tr",
|
|
@@ -6856,7 +6881,7 @@ function MDXContent(_ref) {
|
|
|
6856
6881
|
}), (0, _react2.mdx)("td", {
|
|
6857
6882
|
parentName: "tr",
|
|
6858
6883
|
"align": null
|
|
6859
|
-
}, "env-id of the template")), (0, _react2.mdx)("tr", {
|
|
6884
|
+
}, "env-id of the template. Alias -t")), (0, _react2.mdx)("tr", {
|
|
6860
6885
|
parentName: "tbody"
|
|
6861
6886
|
}, (0, _react2.mdx)("td", {
|
|
6862
6887
|
parentName: "tr",
|
|
@@ -6871,7 +6896,7 @@ function MDXContent(_ref) {
|
|
|
6871
6896
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
6872
6897
|
parentName: "tr",
|
|
6873
6898
|
"align": null
|
|
6874
|
-
}, "set defaultScope in the new workspace.jsonc")), (0, _react2.mdx)("tr", {
|
|
6899
|
+
}, "set defaultScope in the new workspace's workspace.jsonc")), (0, _react2.mdx)("tr", {
|
|
6875
6900
|
parentName: "tbody"
|
|
6876
6901
|
}, (0, _react2.mdx)("td", {
|
|
6877
6902
|
parentName: "tr",
|
|
@@ -6899,7 +6924,7 @@ function MDXContent(_ref) {
|
|
|
6899
6924
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
6900
6925
|
parentName: "tr",
|
|
6901
6926
|
"align": null
|
|
6902
|
-
}, "skip generation of Git repository")), (0, _react2.mdx)("tr", {
|
|
6927
|
+
}, "skip generation of Git repository in the new workspace")), (0, _react2.mdx)("tr", {
|
|
6903
6928
|
parentName: "tbody"
|
|
6904
6929
|
}, (0, _react2.mdx)("td", {
|
|
6905
6930
|
parentName: "tr",
|
|
@@ -6914,7 +6939,7 @@ function MDXContent(_ref) {
|
|
|
6914
6939
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
6915
6940
|
parentName: "tr",
|
|
6916
6941
|
"align": null
|
|
6917
|
-
}, "
|
|
6942
|
+
}, "skip template's default component creation (relevant for templates that add components by default)")), (0, _react2.mdx)("tr", {
|
|
6918
6943
|
parentName: "tbody"
|
|
6919
6944
|
}, (0, _react2.mdx)("td", {
|
|
6920
6945
|
parentName: "tr",
|
|
@@ -6927,7 +6952,7 @@ function MDXContent(_ref) {
|
|
|
6927
6952
|
}), (0, _react2.mdx)("td", {
|
|
6928
6953
|
parentName: "tr",
|
|
6929
6954
|
"align": null
|
|
6930
|
-
}, "path to the workspace containing the template.
|
|
6955
|
+
}, "local path to the workspace containing the template. Helpful during a development of a workspace-template")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "pattern"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6931
6956
|
parentName: "p"
|
|
6932
6957
|
}, "Description"), ": list the component ids matching the given pattern", (0, _react2.mdx)("br", {
|
|
6933
6958
|
parentName: "p"
|
|
@@ -6937,7 +6962,9 @@ function MDXContent(_ref) {
|
|
|
6937
6962
|
parentName: "p"
|
|
6938
6963
|
}), "\n", "a pattern can be used with wildcards for multiple component ids, e.g. \"org.scope/utils/", (0, _react2.mdx)("strong", {
|
|
6939
6964
|
parentName: "p"
|
|
6940
|
-
}, "\"
|
|
6965
|
+
}, "\" or \""), "/utils/", (0, _react2.mdx)("strong", {
|
|
6966
|
+
parentName: "p"
|
|
6967
|
+
}, "\" to capture all org/scopes.", (0, _react2.mdx)("br", {
|
|
6941
6968
|
parentName: "strong"
|
|
6942
6969
|
}), "to enter multiple patterns, separate them by a comma, e.g. \"ui/", (0, _react2.mdx)("em", {
|
|
6943
6970
|
parentName: "strong"
|
|
@@ -6947,7 +6974,7 @@ function MDXContent(_ref) {
|
|
|
6947
6974
|
parentName: "p"
|
|
6948
6975
|
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
6949
6976
|
parentName: "p"
|
|
6950
|
-
}), "\n", "the matching algorithm is
|
|
6977
|
+
}), "\n", "the matching algorithm is from multimatch (@see ", (0, _react2.mdx)("a", {
|
|
6951
6978
|
parentName: "p",
|
|
6952
6979
|
"href": "https://github.com/sindresorhus/multimatch"
|
|
6953
6980
|
}, "https://github.com/sindresorhus/multimatch"), ")"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
@@ -6990,7 +7017,7 @@ function MDXContent(_ref) {
|
|
|
6990
7017
|
"align": null
|
|
6991
7018
|
}, "return the output as JSON")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "recover"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6992
7019
|
parentName: "p"
|
|
6993
|
-
}, "Description"), ": EXPERIMENTAL. recover
|
|
7020
|
+
}, "Description"), ": EXPERIMENTAL. recover component(s) soft-deleted from the workspace, or a remote scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6994
7021
|
parentName: "p"
|
|
6995
7022
|
}, "bit recover <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6996
7023
|
parentName: "table"
|
|
@@ -7046,12 +7073,7 @@ function MDXContent(_ref) {
|
|
|
7046
7073
|
parentName: "p"
|
|
7047
7074
|
}, "<new-id>"), " arguments can be either a component-id or a package-name."), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "remote"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7048
7075
|
parentName: "p"
|
|
7049
|
-
}, "Description"), ": manage set of tracked bit scope(s)", (0, _react2.mdx)("
|
|
7050
|
-
parentName: "p"
|
|
7051
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
7052
|
-
parentName: "p",
|
|
7053
|
-
"href": "https://bit.dev/reference/scope/remote-scopes"
|
|
7054
|
-
}, "https://bit.dev/reference/scope/remote-scopes")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7076
|
+
}, "Description"), ": manage set of tracked bit scope(s)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7055
7077
|
parentName: "p"
|
|
7056
7078
|
}, "bit remote")), (0, _react2.mdx)("h3", null, "remote add"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7057
7079
|
parentName: "p"
|
|
@@ -7141,7 +7163,7 @@ function MDXContent(_ref) {
|
|
|
7141
7163
|
}, "-g")), (0, _react2.mdx)("td", {
|
|
7142
7164
|
parentName: "tr",
|
|
7143
7165
|
"align": null
|
|
7144
|
-
}, "remove a
|
|
7166
|
+
}, "remove a globally configured remote scope")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7145
7167
|
parentName: "table"
|
|
7146
7168
|
}, (0, _react2.mdx)("tr", {
|
|
7147
7169
|
parentName: "thead"
|
|
@@ -7185,11 +7207,11 @@ function MDXContent(_ref) {
|
|
|
7185
7207
|
parentName: "p"
|
|
7186
7208
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
7187
7209
|
parentName: "p"
|
|
7188
|
-
}, "Description"), ": remove component(s) from the workspace, or a remote scope", (0, _react2.mdx)("br", {
|
|
7210
|
+
}, "Description"), ": remove component(s) from the workspace, or a remote scope (with a flag)", (0, _react2.mdx)("br", {
|
|
7189
7211
|
parentName: "p"
|
|
7190
7212
|
}), "\n", "to remove components from your local workspace only, use \"bit remove\" (with no flags)."), (0, _react2.mdx)("p", null, "to remove a component from the remote scope, use \"bit remove --delete\", to mark the components as deleted.", (0, _react2.mdx)("br", {
|
|
7191
7213
|
parentName: "p"
|
|
7192
|
-
}), "\n", "once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well."), (0, _react2.mdx)("p", null, "to remove components from
|
|
7214
|
+
}), "\n", "once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well."), (0, _react2.mdx)("p", null, "to remove components from a lane, use \"bit lane remove-comp\"."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7193
7215
|
parentName: "p"
|
|
7194
7216
|
}, "bit remove <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7195
7217
|
parentName: "table"
|
|
@@ -7324,7 +7346,7 @@ function MDXContent(_ref) {
|
|
|
7324
7346
|
"align": null
|
|
7325
7347
|
}, "skip confirmation")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7326
7348
|
parentName: "p"
|
|
7327
|
-
}, "Description"), ": rename component. if tagged/exported, create a new component and deprecate the original component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7349
|
+
}, "Description"), ": rename component. if tagged/exported, create a new component and deprecate the original component. otherwise just renames current component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7328
7350
|
parentName: "p"
|
|
7329
7351
|
}, "bit rename <current-name> <new-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7330
7352
|
parentName: "table"
|
|
@@ -7362,7 +7384,7 @@ function MDXContent(_ref) {
|
|
|
7362
7384
|
}, "new-name")), (0, _react2.mdx)("td", {
|
|
7363
7385
|
parentName: "tr",
|
|
7364
7386
|
"align": "center"
|
|
7365
|
-
}, "the new component name (without its scope name)")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7387
|
+
}, "the new component name (without its scope name. use --scope to define the new component's scope)")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7366
7388
|
parentName: "table"
|
|
7367
7389
|
}, (0, _react2.mdx)("tr", {
|
|
7368
7390
|
parentName: "thead"
|
|
@@ -7398,7 +7420,7 @@ function MDXContent(_ref) {
|
|
|
7398
7420
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
7399
7421
|
parentName: "tr",
|
|
7400
7422
|
"align": null
|
|
7401
|
-
}, "
|
|
7423
|
+
}, "define the scope for the newly created component")), (0, _react2.mdx)("tr", {
|
|
7402
7424
|
parentName: "tbody"
|
|
7403
7425
|
}, (0, _react2.mdx)("td", {
|
|
7404
7426
|
parentName: "tr",
|
|
@@ -7413,9 +7435,7 @@ function MDXContent(_ref) {
|
|
|
7413
7435
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
7414
7436
|
parentName: "tr",
|
|
7415
7437
|
"align": null
|
|
7416
|
-
}, "relative path in the workspace. by default the
|
|
7417
|
-
parentName: "td"
|
|
7418
|
-
}, "<scope>/<namespace>/<name>"))), (0, _react2.mdx)("tr", {
|
|
7438
|
+
}, "relative path in the workspace to place new component in. by default, the directory of the new component is from your workspace's \"defaultScope\" value")), (0, _react2.mdx)("tr", {
|
|
7419
7439
|
parentName: "tbody"
|
|
7420
7440
|
}, (0, _react2.mdx)("td", {
|
|
7421
7441
|
parentName: "tr",
|
|
@@ -7524,7 +7544,7 @@ function MDXContent(_ref) {
|
|
|
7524
7544
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
7525
7545
|
parentName: "tr",
|
|
7526
7546
|
"align": null
|
|
7527
|
-
}, "revert
|
|
7547
|
+
}, "revert all unexported tags/snaps for all components")), (0, _react2.mdx)("tr", {
|
|
7528
7548
|
parentName: "tbody"
|
|
7529
7549
|
}, (0, _react2.mdx)("td", {
|
|
7530
7550
|
parentName: "tr",
|
|
@@ -7565,7 +7585,7 @@ function MDXContent(_ref) {
|
|
|
7565
7585
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
7566
7586
|
parentName: "tr",
|
|
7567
7587
|
"align": null
|
|
7568
|
-
}, "revert the tag even if used as a dependency. WARNING: components that depend on this tag will
|
|
7588
|
+
}, "revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7569
7589
|
parentName: "p"
|
|
7570
7590
|
}, "Description"), ": replace the current component files by the specified version, leave the version intact"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7571
7591
|
parentName: "p"
|
|
@@ -7664,7 +7684,7 @@ function MDXContent(_ref) {
|
|
|
7664
7684
|
parentName: "p"
|
|
7665
7685
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
7666
7686
|
parentName: "p"
|
|
7667
|
-
}, "Description"), ": run an app (independent of bit's dev server)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7687
|
+
}, "Description"), ": locally run an app component (independent of bit's dev server)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7668
7688
|
parentName: "p"
|
|
7669
7689
|
}, "bit run <app-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7670
7690
|
parentName: "table"
|
|
@@ -7743,7 +7763,7 @@ function MDXContent(_ref) {
|
|
|
7743
7763
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
7744
7764
|
parentName: "tr",
|
|
7745
7765
|
"align": null
|
|
7746
|
-
}, "port
|
|
7766
|
+
}, "port to run the app on")), (0, _react2.mdx)("tr", {
|
|
7747
7767
|
parentName: "tbody"
|
|
7748
7768
|
}, (0, _react2.mdx)("td", {
|
|
7749
7769
|
parentName: "tr",
|
|
@@ -7758,7 +7778,7 @@ function MDXContent(_ref) {
|
|
|
7758
7778
|
}, "-v")), (0, _react2.mdx)("td", {
|
|
7759
7779
|
parentName: "tr",
|
|
7760
7780
|
"align": null
|
|
7761
|
-
}, "
|
|
7781
|
+
}, "show verbose output for inspection and print stack trace")), (0, _react2.mdx)("tr", {
|
|
7762
7782
|
parentName: "tbody"
|
|
7763
7783
|
}, (0, _react2.mdx)("td", {
|
|
7764
7784
|
parentName: "tr",
|
|
@@ -7786,7 +7806,7 @@ function MDXContent(_ref) {
|
|
|
7786
7806
|
"align": null
|
|
7787
7807
|
}, "run app in server side rendering mode.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "schema"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7788
7808
|
parentName: "p"
|
|
7789
|
-
}, "Description"), ": shows the API schema of
|
|
7809
|
+
}, "Description"), ": shows the API schema of the specified component/s.", (0, _react2.mdx)("br", {
|
|
7790
7810
|
parentName: "p"
|
|
7791
7811
|
}), "\n", "you can use a ", (0, _react2.mdx)("inlineCode", {
|
|
7792
7812
|
parentName: "p"
|
|
@@ -7840,7 +7860,7 @@ function MDXContent(_ref) {
|
|
|
7840
7860
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
7841
7861
|
parentName: "tr",
|
|
7842
7862
|
"align": null
|
|
7843
|
-
}, "return the component
|
|
7863
|
+
}, "return the component schema in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7844
7864
|
parentName: "p"
|
|
7845
7865
|
}, "Description"), ": manage the scope-name for components"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7846
7866
|
parentName: "p"
|
|
@@ -7850,9 +7870,11 @@ function MDXContent(_ref) {
|
|
|
7850
7870
|
parentName: "p"
|
|
7851
7871
|
}, "scope set <scope-name> [component-pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7852
7872
|
parentName: "p"
|
|
7853
|
-
}, "Description"), ": Sets
|
|
7873
|
+
}, "Description"), ": Sets the scope for specified component/s. If no component is specified, sets the default scope of the workspace", (0, _react2.mdx)("br", {
|
|
7874
|
+
parentName: "p"
|
|
7875
|
+
}), "\n", "default scopes for components are set in the bitmap file. the default scope for a workspace is set in the workspace.jsonc.", (0, _react2.mdx)("br", {
|
|
7854
7876
|
parentName: "p"
|
|
7855
|
-
}), "\n", "
|
|
7877
|
+
}), "\n", "a component is set with a scope (as oppose to default scope) only once it is versioned.'"), (0, _react2.mdx)("p", null, "you can use a ", (0, _react2.mdx)("inlineCode", {
|
|
7856
7878
|
parentName: "p"
|
|
7857
7879
|
}, "<pattern>"), " for multiple component ids, such as ", (0, _react2.mdx)("inlineCode", {
|
|
7858
7880
|
parentName: "p"
|
|
@@ -7892,7 +7914,7 @@ function MDXContent(_ref) {
|
|
|
7892
7914
|
}, "scope-name")), (0, _react2.mdx)("td", {
|
|
7893
7915
|
parentName: "tr",
|
|
7894
7916
|
"align": "center"
|
|
7895
|
-
}, "the scope
|
|
7917
|
+
}, "name of the scope to set")), (0, _react2.mdx)("tr", {
|
|
7896
7918
|
parentName: "tbody"
|
|
7897
7919
|
}, (0, _react2.mdx)("td", {
|
|
7898
7920
|
parentName: "tr",
|
|
@@ -7908,7 +7930,17 @@ function MDXContent(_ref) {
|
|
|
7908
7930
|
parentName: "p"
|
|
7909
7931
|
}, "scope rename <current-scope-name> <new-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7910
7932
|
parentName: "p"
|
|
7911
|
-
}, "Description"), ": Renames the scope name for all components with the specified 'current scope name'
|
|
7933
|
+
}, "Description"), ": Renames the scope name for all components with the specified 'current scope name' - only available for new components that have not yet been snapped/tagged", (0, _react2.mdx)("br", {
|
|
7934
|
+
parentName: "p"
|
|
7935
|
+
}), "\n", "Note: if ", (0, _react2.mdx)("inlineCode", {
|
|
7936
|
+
parentName: "p"
|
|
7937
|
+
}, "<current-scope-name>"), " is also the defaultScope for the workspace, this command will set ", (0, _react2.mdx)("inlineCode", {
|
|
7938
|
+
parentName: "p"
|
|
7939
|
+
}, "<new-scope-name>"), (0, _react2.mdx)("br", {
|
|
7940
|
+
parentName: "p"
|
|
7941
|
+
}), "\n", "as the defaultScope instead, and that will then be set for all components by default. You may see updates in your .bitmap file", (0, _react2.mdx)("br", {
|
|
7942
|
+
parentName: "p"
|
|
7943
|
+
}), "\n", "as a result of this change"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7912
7944
|
parentName: "table"
|
|
7913
7945
|
}, (0, _react2.mdx)("tr", {
|
|
7914
7946
|
parentName: "thead"
|
|
@@ -7980,7 +8012,7 @@ function MDXContent(_ref) {
|
|
|
7980
8012
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
7981
8013
|
parentName: "tr",
|
|
7982
8014
|
"align": null
|
|
7983
|
-
}, "update the import statements in all dependent components to the new package name (
|
|
8015
|
+
}, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)")))), (0, _react2.mdx)("h3", null, "scope rename-owner"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7984
8016
|
parentName: "p"
|
|
7985
8017
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
7986
8018
|
parentName: "p"
|
|
@@ -8064,7 +8096,7 @@ function MDXContent(_ref) {
|
|
|
8064
8096
|
parentName: "p"
|
|
8065
8097
|
}, "scope fork <original-scope> <new-scope>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8066
8098
|
parentName: "p"
|
|
8067
|
-
}, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new
|
|
8099
|
+
}, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name"), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "scope-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8068
8100
|
parentName: "p"
|
|
8069
8101
|
}, "Description"), ": scope config management"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
8070
8102
|
parentName: "p"
|
|
@@ -8198,7 +8230,7 @@ function MDXContent(_ref) {
|
|
|
8198
8230
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
8199
8231
|
parentName: "tr",
|
|
8200
8232
|
"align": null
|
|
8201
|
-
}, "return the component data in
|
|
8233
|
+
}, "return the component data in json format")), (0, _react2.mdx)("tr", {
|
|
8202
8234
|
parentName: "tbody"
|
|
8203
8235
|
}, (0, _react2.mdx)("td", {
|
|
8204
8236
|
parentName: "tr",
|
|
@@ -8228,7 +8260,7 @@ function MDXContent(_ref) {
|
|
|
8228
8260
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
8229
8261
|
parentName: "tr",
|
|
8230
8262
|
"align": null
|
|
8231
|
-
}, "show a remote component")), (0, _react2.mdx)("tr", {
|
|
8263
|
+
}, "show data for a remote component")), (0, _react2.mdx)("tr", {
|
|
8232
8264
|
parentName: "tbody"
|
|
8233
8265
|
}, (0, _react2.mdx)("td", {
|
|
8234
8266
|
parentName: "tr",
|
|
@@ -8243,9 +8275,9 @@ function MDXContent(_ref) {
|
|
|
8243
8275
|
}, "-c")), (0, _react2.mdx)("td", {
|
|
8244
8276
|
parentName: "tr",
|
|
8245
8277
|
"align": null
|
|
8246
|
-
}, "compare current file system component to
|
|
8278
|
+
}, "legacy-only. compare current file system component to its latest tagged version ", "[default=latest]")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "snap"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8247
8279
|
parentName: "p"
|
|
8248
|
-
}, "Description"), ": create an immutable and exportable component snapshot (
|
|
8280
|
+
}, "Description"), ": create an immutable and exportable component snapshot (non-release version)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
8249
8281
|
parentName: "p"
|
|
8250
8282
|
}, "bit snap [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8251
8283
|
parentName: "table"
|
|
@@ -8273,7 +8305,7 @@ function MDXContent(_ref) {
|
|
|
8273
8305
|
}, "component-pattern")), (0, _react2.mdx)("td", {
|
|
8274
8306
|
parentName: "tr",
|
|
8275
8307
|
"align": "center"
|
|
8276
|
-
}, "component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes. By default,
|
|
8308
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes. By default, only new and modified components are snapped (add --unmodified to snap all components in the workspace).")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8277
8309
|
parentName: "table"
|
|
8278
8310
|
}, (0, _react2.mdx)("tr", {
|
|
8279
8311
|
parentName: "thead"
|
|
@@ -8309,7 +8341,7 @@ function MDXContent(_ref) {
|
|
|
8309
8341
|
}, "-m")), (0, _react2.mdx)("td", {
|
|
8310
8342
|
parentName: "tr",
|
|
8311
8343
|
"align": null
|
|
8312
|
-
}, "
|
|
8344
|
+
}, "snap message describing the latest changes - will appear in component history log")), (0, _react2.mdx)("tr", {
|
|
8313
8345
|
parentName: "tbody"
|
|
8314
8346
|
}, (0, _react2.mdx)("td", {
|
|
8315
8347
|
parentName: "tr",
|
|
@@ -8350,7 +8382,7 @@ function MDXContent(_ref) {
|
|
|
8350
8382
|
}, "-b")), (0, _react2.mdx)("td", {
|
|
8351
8383
|
parentName: "tr",
|
|
8352
8384
|
"align": null
|
|
8353
|
-
}, "not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled")), (0, _react2.mdx)("tr", {
|
|
8385
|
+
}, "not needed for now. run the build pipeline locally in case the feature-flag build-on-ci is enabled")), (0, _react2.mdx)("tr", {
|
|
8354
8386
|
parentName: "tbody"
|
|
8355
8387
|
}, (0, _react2.mdx)("td", {
|
|
8356
8388
|
parentName: "tr",
|
|
@@ -8363,7 +8395,7 @@ function MDXContent(_ref) {
|
|
|
8363
8395
|
}), (0, _react2.mdx)("td", {
|
|
8364
8396
|
parentName: "tr",
|
|
8365
8397
|
"align": null
|
|
8366
|
-
}, "open an editor to write a
|
|
8398
|
+
}, "open an editor to write a snap message per component. optionally specify the editor-name (defaults to vim).")), (0, _react2.mdx)("tr", {
|
|
8367
8399
|
parentName: "tbody"
|
|
8368
8400
|
}, (0, _react2.mdx)("td", {
|
|
8369
8401
|
parentName: "tr",
|
|
@@ -8402,7 +8434,7 @@ function MDXContent(_ref) {
|
|
|
8402
8434
|
}), (0, _react2.mdx)("td", {
|
|
8403
8435
|
parentName: "tr",
|
|
8404
8436
|
"align": null
|
|
8405
|
-
}, "skip the snap pipeline")), (0, _react2.mdx)("tr", {
|
|
8437
|
+
}, "skip the snap pipeline. this will for instance skip packing and publishing component version for install, and app deployment")), (0, _react2.mdx)("tr", {
|
|
8406
8438
|
parentName: "tbody"
|
|
8407
8439
|
}, (0, _react2.mdx)("td", {
|
|
8408
8440
|
parentName: "tr",
|
|
@@ -8428,7 +8460,7 @@ function MDXContent(_ref) {
|
|
|
8428
8460
|
}), (0, _react2.mdx)("td", {
|
|
8429
8461
|
parentName: "tr",
|
|
8430
8462
|
"align": null
|
|
8431
|
-
}, "
|
|
8463
|
+
}, "proceed to snap pipeline even when build pipeline fails")), (0, _react2.mdx)("tr", {
|
|
8432
8464
|
parentName: "tbody"
|
|
8433
8465
|
}, (0, _react2.mdx)("td", {
|
|
8434
8466
|
parentName: "tr",
|
|
@@ -8458,7 +8490,7 @@ function MDXContent(_ref) {
|
|
|
8458
8490
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
8459
8491
|
parentName: "tr",
|
|
8460
8492
|
"align": null
|
|
8461
|
-
}, "DEPRECATED (not needed anymore,
|
|
8493
|
+
}, "DEPRECATED (not needed anymore, now the default). snap all new and modified components")), (0, _react2.mdx)("tr", {
|
|
8462
8494
|
parentName: "tbody"
|
|
8463
8495
|
}, (0, _react2.mdx)("td", {
|
|
8464
8496
|
parentName: "tr",
|
|
@@ -8471,7 +8503,7 @@ function MDXContent(_ref) {
|
|
|
8471
8503
|
}), (0, _react2.mdx)("td", {
|
|
8472
8504
|
parentName: "tr",
|
|
8473
8505
|
"align": null
|
|
8474
|
-
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its
|
|
8506
|
+
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)")), (0, _react2.mdx)("tr", {
|
|
8475
8507
|
parentName: "tbody"
|
|
8476
8508
|
}, (0, _react2.mdx)("td", {
|
|
8477
8509
|
parentName: "tr",
|
|
@@ -8588,7 +8620,7 @@ function MDXContent(_ref) {
|
|
|
8588
8620
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
8589
8621
|
parentName: "tr",
|
|
8590
8622
|
"align": null
|
|
8591
|
-
}, "rebuild the UI")), (0, _react2.mdx)("tr", {
|
|
8623
|
+
}, "rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case)")), (0, _react2.mdx)("tr", {
|
|
8592
8624
|
parentName: "tbody"
|
|
8593
8625
|
}, (0, _react2.mdx)("td", {
|
|
8594
8626
|
parentName: "tr",
|
|
@@ -8667,7 +8699,7 @@ function MDXContent(_ref) {
|
|
|
8667
8699
|
parentName: "p"
|
|
8668
8700
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
8669
8701
|
parentName: "p"
|
|
8670
|
-
}, "Description"), ": present the current status of components in the workspace,
|
|
8702
|
+
}, "Description"), ": present the current status of components in the workspace, including indication of detected issues"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
8671
8703
|
parentName: "p"
|
|
8672
8704
|
}, "bit status")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8673
8705
|
parentName: "table"
|
|
@@ -8718,7 +8750,7 @@ function MDXContent(_ref) {
|
|
|
8718
8750
|
}), (0, _react2.mdx)("td", {
|
|
8719
8751
|
parentName: "tr",
|
|
8720
8752
|
"align": null
|
|
8721
|
-
}, "show extra data: full snap hashes for staged and divergence point for lanes")), (0, _react2.mdx)("tr", {
|
|
8753
|
+
}, "show extra data: full snap hashes for staged components, and divergence point for lanes")), (0, _react2.mdx)("tr", {
|
|
8722
8754
|
parentName: "tbody"
|
|
8723
8755
|
}, (0, _react2.mdx)("td", {
|
|
8724
8756
|
parentName: "tr",
|
|
@@ -8799,7 +8831,7 @@ function MDXContent(_ref) {
|
|
|
8799
8831
|
}, "component-patterns...")), (0, _react2.mdx)("td", {
|
|
8800
8832
|
parentName: "tr",
|
|
8801
8833
|
"align": "center"
|
|
8802
|
-
}, "
|
|
8834
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes. By default, all new and modified are tagged.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8803
8835
|
parentName: "table"
|
|
8804
8836
|
}, (0, _react2.mdx)("tr", {
|
|
8805
8837
|
parentName: "thead"
|
|
@@ -8975,7 +9007,7 @@ function MDXContent(_ref) {
|
|
|
8975
9007
|
}), (0, _react2.mdx)("td", {
|
|
8976
9008
|
parentName: "tr",
|
|
8977
9009
|
"align": null
|
|
8978
|
-
}, "tag components
|
|
9010
|
+
}, "tag only components whose head is a snap (not a tag)")), (0, _react2.mdx)("tr", {
|
|
8979
9011
|
parentName: "tbody"
|
|
8980
9012
|
}, (0, _react2.mdx)("td", {
|
|
8981
9013
|
parentName: "tr",
|
|
@@ -9079,7 +9111,7 @@ function MDXContent(_ref) {
|
|
|
9079
9111
|
}), (0, _react2.mdx)("td", {
|
|
9080
9112
|
parentName: "tr",
|
|
9081
9113
|
"align": null
|
|
9082
|
-
}, "
|
|
9114
|
+
}, "proceed to tag pipeline even when build pipeline fails")), (0, _react2.mdx)("tr", {
|
|
9083
9115
|
parentName: "tbody"
|
|
9084
9116
|
}, (0, _react2.mdx)("td", {
|
|
9085
9117
|
parentName: "tr",
|
|
@@ -9122,7 +9154,7 @@ function MDXContent(_ref) {
|
|
|
9122
9154
|
}, "-I")), (0, _react2.mdx)("td", {
|
|
9123
9155
|
parentName: "tr",
|
|
9124
9156
|
"align": null
|
|
9125
|
-
}, "
|
|
9157
|
+
}, "allow tagging even when the component has newer versions e.g. for hotfixes (default = false)")), (0, _react2.mdx)("tr", {
|
|
9126
9158
|
parentName: "tbody"
|
|
9127
9159
|
}, (0, _react2.mdx)("td", {
|
|
9128
9160
|
parentName: "tr",
|
|
@@ -9135,7 +9167,7 @@ function MDXContent(_ref) {
|
|
|
9135
9167
|
}), (0, _react2.mdx)("td", {
|
|
9136
9168
|
parentName: "tr",
|
|
9137
9169
|
"align": null
|
|
9138
|
-
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its
|
|
9170
|
+
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)")), (0, _react2.mdx)("tr", {
|
|
9139
9171
|
parentName: "tbody"
|
|
9140
9172
|
}, (0, _react2.mdx)("td", {
|
|
9141
9173
|
parentName: "tr",
|
|
@@ -9180,7 +9212,7 @@ function MDXContent(_ref) {
|
|
|
9180
9212
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
9181
9213
|
parentName: "tr",
|
|
9182
9214
|
"align": null
|
|
9183
|
-
}, "DEPRECATED (use \"--unmodified\" instead). tag all components of the
|
|
9215
|
+
}, "DEPRECATED (use \"--unmodified\" instead). tag all components of the local scope")), (0, _react2.mdx)("tr", {
|
|
9184
9216
|
parentName: "tbody"
|
|
9185
9217
|
}, (0, _react2.mdx)("td", {
|
|
9186
9218
|
parentName: "tr",
|
|
@@ -9195,7 +9227,7 @@ function MDXContent(_ref) {
|
|
|
9195
9227
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
9196
9228
|
parentName: "tr",
|
|
9197
9229
|
"align": null
|
|
9198
|
-
}, "DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-tag even if tests are failing and even when component has not changed")), (0, _react2.mdx)("tr", {
|
|
9230
|
+
}, "DEPRECATED (use \"--skip-tests\", \"--ignore-build-errors\" or \"--unmodified\" instead). force-tag even if tests are failing and even when component has not changed")), (0, _react2.mdx)("tr", {
|
|
9199
9231
|
parentName: "tbody"
|
|
9200
9232
|
}, (0, _react2.mdx)("td", {
|
|
9201
9233
|
parentName: "tr",
|
|
@@ -9210,7 +9242,7 @@ function MDXContent(_ref) {
|
|
|
9210
9242
|
"align": null
|
|
9211
9243
|
}, "DEPRECATED. use --disable-tag-pipeline instead")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "templates"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9212
9244
|
parentName: "p"
|
|
9213
|
-
}, "Description"), ": list templates for \"bit create\" and \"bit new\"", (0, _react2.mdx)("br", {
|
|
9245
|
+
}, "Description"), ": list available templates for \"bit create\" and \"bit new\"", (0, _react2.mdx)("br", {
|
|
9214
9246
|
parentName: "p"
|
|
9215
9247
|
}), "\n", "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9216
9248
|
parentName: "p"
|
|
@@ -9273,7 +9305,7 @@ function MDXContent(_ref) {
|
|
|
9273
9305
|
parentName: "p"
|
|
9274
9306
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
9275
9307
|
parentName: "p"
|
|
9276
|
-
}, "Description"), ": test components in the workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9308
|
+
}, "Description"), ": test components in the workspace. by default only runs tests for new and modified components"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9277
9309
|
parentName: "p"
|
|
9278
9310
|
}, "bit test [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9279
9311
|
parentName: "table"
|
|
@@ -9408,7 +9440,7 @@ function MDXContent(_ref) {
|
|
|
9408
9440
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
9409
9441
|
parentName: "tr",
|
|
9410
9442
|
"align": null
|
|
9411
|
-
}, "test only the given env")), (0, _react2.mdx)("tr", {
|
|
9443
|
+
}, "test only components assigned the given env")), (0, _react2.mdx)("tr", {
|
|
9412
9444
|
parentName: "tbody"
|
|
9413
9445
|
}, (0, _react2.mdx)("td", {
|
|
9414
9446
|
parentName: "tr",
|
|
@@ -9473,7 +9505,9 @@ function MDXContent(_ref) {
|
|
|
9473
9505
|
}, "package-patterns...")), (0, _react2.mdx)("td", {
|
|
9474
9506
|
parentName: "tr",
|
|
9475
9507
|
"align": "center"
|
|
9476
|
-
}, "a list of package names, or patterns (separated by space)
|
|
9508
|
+
}, "a string list of package names, or patterns (separated by space), e.g. \"@teambit/", (0, _react2.mdx)("strong", {
|
|
9509
|
+
parentName: "td"
|
|
9510
|
+
}, " @my-org/ui/"), "\". The patterns should be in glob format. By default, all packages are selected.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9477
9511
|
parentName: "table"
|
|
9478
9512
|
}, (0, _react2.mdx)("tr", {
|
|
9479
9513
|
parentName: "thead"
|
|
@@ -9509,7 +9543,7 @@ function MDXContent(_ref) {
|
|
|
9509
9543
|
}, "-y")), (0, _react2.mdx)("td", {
|
|
9510
9544
|
parentName: "tr",
|
|
9511
9545
|
"align": null
|
|
9512
|
-
}, "automatically update all outdated packages")), (0, _react2.mdx)("tr", {
|
|
9546
|
+
}, "automatically update all outdated versions for packages specified in pattern (all if no pattern supplied) - use carefully as could result in breaking updates for dependencies")), (0, _react2.mdx)("tr", {
|
|
9513
9547
|
parentName: "tbody"
|
|
9514
9548
|
}, (0, _react2.mdx)("td", {
|
|
9515
9549
|
parentName: "tr",
|
|
@@ -9580,7 +9614,13 @@ function MDXContent(_ref) {
|
|
|
9580
9614
|
"align": "center"
|
|
9581
9615
|
}, "the component ID of the aspect")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "watch"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9582
9616
|
parentName: "p"
|
|
9583
|
-
}, "Description"), ": automatically recompile modified components (on save)"
|
|
9617
|
+
}, "Description"), ": automatically recompile modified components (on save)", (0, _react2.mdx)("br", {
|
|
9618
|
+
parentName: "p"
|
|
9619
|
+
}), "\n", "by default, the watcher doesn't use polling, to keep the CPU idle.", (0, _react2.mdx)("br", {
|
|
9620
|
+
parentName: "p"
|
|
9621
|
+
}), "\n", "in some rare cases, this could result in missing file events. to fix it, try to prefix this command with CHOKIDAR_USEPOLLING=true", (0, _react2.mdx)("br", {
|
|
9622
|
+
parentName: "p"
|
|
9623
|
+
}), "\n", "alternatively, restarting the computer could also help."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9584
9624
|
parentName: "p"
|
|
9585
9625
|
}, "bit watch")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9586
9626
|
parentName: "table"
|
|
@@ -9618,7 +9658,7 @@ function MDXContent(_ref) {
|
|
|
9618
9658
|
}, "-v")), (0, _react2.mdx)("td", {
|
|
9619
9659
|
parentName: "tr",
|
|
9620
9660
|
"align": null
|
|
9621
|
-
}, "show
|
|
9661
|
+
}, "show all watch events and compiler verbose output")), (0, _react2.mdx)("tr", {
|
|
9622
9662
|
parentName: "tbody"
|
|
9623
9663
|
}, (0, _react2.mdx)("td", {
|
|
9624
9664
|
parentName: "tr",
|
|
@@ -9631,7 +9671,7 @@ function MDXContent(_ref) {
|
|
|
9631
9671
|
}), (0, _react2.mdx)("td", {
|
|
9632
9672
|
parentName: "tr",
|
|
9633
9673
|
"align": null
|
|
9634
|
-
}, "skip
|
|
9674
|
+
}, "skip compilation step before starting to watch")), (0, _react2.mdx)("tr", {
|
|
9635
9675
|
parentName: "tbody"
|
|
9636
9676
|
}, (0, _react2.mdx)("td", {
|
|
9637
9677
|
parentName: "tr",
|
|
@@ -9767,7 +9807,7 @@ function MDXContent(_ref) {
|
|
|
9767
9807
|
}), (0, _react2.mdx)("td", {
|
|
9768
9808
|
parentName: "tr",
|
|
9769
9809
|
"align": null
|
|
9770
|
-
}, "use with --json flag. show the config content and the paths
|
|
9810
|
+
}, "use with --json flag. show the config content and the paths that will be written per env")), (0, _react2.mdx)("tr", {
|
|
9771
9811
|
parentName: "tbody"
|
|
9772
9812
|
}, (0, _react2.mdx)("td", {
|
|
9773
9813
|
parentName: "tr",
|
|
@@ -9854,7 +9894,7 @@ function MDXContent(_ref) {
|
|
|
9854
9894
|
}, "-w")), (0, _react2.mdx)("td", {
|
|
9855
9895
|
parentName: "tr",
|
|
9856
9896
|
"align": null
|
|
9857
|
-
}, "only
|
|
9897
|
+
}, "only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers")), (0, _react2.mdx)("tr", {
|
|
9858
9898
|
parentName: "tbody"
|
|
9859
9899
|
}, (0, _react2.mdx)("td", {
|
|
9860
9900
|
parentName: "tr",
|
|
@@ -9867,7 +9907,7 @@ function MDXContent(_ref) {
|
|
|
9867
9907
|
}), (0, _react2.mdx)("td", {
|
|
9868
9908
|
parentName: "tr",
|
|
9869
9909
|
"align": null
|
|
9870
|
-
}, "show the paths
|
|
9910
|
+
}, "show the paths of configs that will be cleaned")), (0, _react2.mdx)("tr", {
|
|
9871
9911
|
parentName: "tbody"
|
|
9872
9912
|
}, (0, _react2.mdx)("td", {
|
|
9873
9913
|
parentName: "tr",
|