@teambit/harmony.content.cli-reference 2.0.170 → 2.0.172
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 +48 -40
- package/cli-reference.mdx +31 -17
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +48 -40
- package/dist/cli-reference.mdx.js +95 -110
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1707621407297.js → preview-1707794292057.js} +2 -2
- package/package.json +2 -2
|
@@ -2252,7 +2252,23 @@ function MDXContent(_ref) {
|
|
|
2252
2252
|
}), (0, _react2.mdx)("td", {
|
|
2253
2253
|
parentName: "tr",
|
|
2254
2254
|
"align": null
|
|
2255
|
-
}, "if replaced by another component, enter the new component id. alternatively use \"bit rename\" to do this automatically"))
|
|
2255
|
+
}, "if replaced by another component, enter the new component id. alternatively use \"bit rename --deprecate\" to do this automatically")), (0, _react2.mdx)("tr", {
|
|
2256
|
+
parentName: "tbody"
|
|
2257
|
+
}, (0, _react2.mdx)("td", {
|
|
2258
|
+
parentName: "tr",
|
|
2259
|
+
"align": null
|
|
2260
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2261
|
+
parentName: "td"
|
|
2262
|
+
}, "--range <string>")), (0, _react2.mdx)("td", {
|
|
2263
|
+
parentName: "tr",
|
|
2264
|
+
"align": "center"
|
|
2265
|
+
}), (0, _react2.mdx)("td", {
|
|
2266
|
+
parentName: "tr",
|
|
2267
|
+
"align": null
|
|
2268
|
+
}, "enter a Semver range to deprecate specific versions. see ", (0, _react2.mdx)("a", {
|
|
2269
|
+
parentName: "td",
|
|
2270
|
+
"href": "https://www.npmjs.com/package/semver#ranges"
|
|
2271
|
+
}, "https://www.npmjs.com/package/semver#ranges"), " for the range syntax")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2256
2272
|
parentName: "p"
|
|
2257
2273
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2258
2274
|
parentName: "p"
|
|
@@ -7614,7 +7630,51 @@ function MDXContent(_ref) {
|
|
|
7614
7630
|
}, "-c")), (0, _react2.mdx)("td", {
|
|
7615
7631
|
parentName: "tr",
|
|
7616
7632
|
"align": null
|
|
7617
|
-
}, "create the new workspace in current directory (default is to create a new directory, inside the current dir)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
7633
|
+
}, "create the new workspace in current directory (default is to create a new directory, inside the current dir)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "npmrc"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7634
|
+
parentName: "p"
|
|
7635
|
+
}, "Description"), ": manage npmrc file with scope, registry, and token information from bit.cloud"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7636
|
+
parentName: "p"
|
|
7637
|
+
}, "bit npmrc [sub-command]")), (0, _react2.mdx)("h3", null, "npmrc generate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7638
|
+
parentName: "p"
|
|
7639
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
7640
|
+
parentName: "p"
|
|
7641
|
+
}, "npmrc generate")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7642
|
+
parentName: "p"
|
|
7643
|
+
}, "Description"), ": update npmrc file with scope, registry, and token information from bit.cloud"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7644
|
+
parentName: "table"
|
|
7645
|
+
}, (0, _react2.mdx)("tr", {
|
|
7646
|
+
parentName: "thead"
|
|
7647
|
+
}, (0, _react2.mdx)("th", {
|
|
7648
|
+
parentName: "tr",
|
|
7649
|
+
"align": null
|
|
7650
|
+
}, (0, _react2.mdx)("strong", {
|
|
7651
|
+
parentName: "th"
|
|
7652
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
7653
|
+
parentName: "tr",
|
|
7654
|
+
"align": "center"
|
|
7655
|
+
}, (0, _react2.mdx)("strong", {
|
|
7656
|
+
parentName: "th"
|
|
7657
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
7658
|
+
parentName: "tr",
|
|
7659
|
+
"align": null
|
|
7660
|
+
}, (0, _react2.mdx)("strong", {
|
|
7661
|
+
parentName: "th"
|
|
7662
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
7663
|
+
parentName: "table"
|
|
7664
|
+
}, (0, _react2.mdx)("tr", {
|
|
7665
|
+
parentName: "tbody"
|
|
7666
|
+
}, (0, _react2.mdx)("td", {
|
|
7667
|
+
parentName: "tr",
|
|
7668
|
+
"align": null
|
|
7669
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7670
|
+
parentName: "td"
|
|
7671
|
+
}, "--dry-run")), (0, _react2.mdx)("td", {
|
|
7672
|
+
parentName: "tr",
|
|
7673
|
+
"align": "center"
|
|
7674
|
+
}), (0, _react2.mdx)("td", {
|
|
7675
|
+
parentName: "tr",
|
|
7676
|
+
"align": null
|
|
7677
|
+
}, "show the .npmrc file content that will be written")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "pattern"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7618
7678
|
parentName: "p"
|
|
7619
7679
|
}, "Description"), ": list the component ids matching the given pattern", (0, _react2.mdx)("br", {
|
|
7620
7680
|
parentName: "p"
|
|
@@ -8005,7 +8065,7 @@ function MDXContent(_ref) {
|
|
|
8005
8065
|
"align": null
|
|
8006
8066
|
}, "skip confirmation")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8007
8067
|
parentName: "p"
|
|
8008
|
-
}, "Description"), ": rename component. if exported, create a new component and
|
|
8068
|
+
}, "Description"), ": rename component. if exported, create a new component and delete the original component. otherwise just renames current component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
8009
8069
|
parentName: "p"
|
|
8010
8070
|
}, "bit rename <current-name> <new-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8011
8071
|
parentName: "table"
|
|
@@ -8133,7 +8193,20 @@ function MDXContent(_ref) {
|
|
|
8133
8193
|
}), (0, _react2.mdx)("td", {
|
|
8134
8194
|
parentName: "tr",
|
|
8135
8195
|
"align": null
|
|
8136
|
-
}, "
|
|
8196
|
+
}, "DEPRECATED. this is now the default")), (0, _react2.mdx)("tr", {
|
|
8197
|
+
parentName: "tbody"
|
|
8198
|
+
}, (0, _react2.mdx)("td", {
|
|
8199
|
+
parentName: "tr",
|
|
8200
|
+
"align": null
|
|
8201
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
8202
|
+
parentName: "td"
|
|
8203
|
+
}, "--deprecate")), (0, _react2.mdx)("td", {
|
|
8204
|
+
parentName: "tr",
|
|
8205
|
+
"align": "center"
|
|
8206
|
+
}), (0, _react2.mdx)("td", {
|
|
8207
|
+
parentName: "tr",
|
|
8208
|
+
"align": null
|
|
8209
|
+
}, "instead of deleting the original component, deprecating it")), (0, _react2.mdx)("tr", {
|
|
8137
8210
|
parentName: "tbody"
|
|
8138
8211
|
}, (0, _react2.mdx)("td", {
|
|
8139
8212
|
parentName: "tr",
|
|
@@ -8711,7 +8784,20 @@ function MDXContent(_ref) {
|
|
|
8711
8784
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
8712
8785
|
parentName: "tr",
|
|
8713
8786
|
"align": null
|
|
8714
|
-
}, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)"))
|
|
8787
|
+
}, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)")), (0, _react2.mdx)("tr", {
|
|
8788
|
+
parentName: "tbody"
|
|
8789
|
+
}, (0, _react2.mdx)("td", {
|
|
8790
|
+
parentName: "tr",
|
|
8791
|
+
"align": null
|
|
8792
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
8793
|
+
parentName: "td"
|
|
8794
|
+
}, "--deprecate")), (0, _react2.mdx)("td", {
|
|
8795
|
+
parentName: "tr",
|
|
8796
|
+
"align": "center"
|
|
8797
|
+
}), (0, _react2.mdx)("td", {
|
|
8798
|
+
parentName: "tr",
|
|
8799
|
+
"align": null
|
|
8800
|
+
}, "for exported components, instead of deleting the original components, deprecating them")))), (0, _react2.mdx)("h3", null, "scope rename-owner"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8715
8801
|
parentName: "p"
|
|
8716
8802
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
8717
8803
|
parentName: "p"
|
|
@@ -9275,19 +9361,6 @@ function MDXContent(_ref) {
|
|
|
9275
9361
|
"align": null
|
|
9276
9362
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9277
9363
|
parentName: "td"
|
|
9278
|
-
}, "--force-deploy")), (0, _react2.mdx)("td", {
|
|
9279
|
-
parentName: "tr",
|
|
9280
|
-
"align": "center"
|
|
9281
|
-
}), (0, _react2.mdx)("td", {
|
|
9282
|
-
parentName: "tr",
|
|
9283
|
-
"align": null
|
|
9284
|
-
}, "DEPRECATED. use --ignore-build-error instead")), (0, _react2.mdx)("tr", {
|
|
9285
|
-
parentName: "tbody"
|
|
9286
|
-
}, (0, _react2.mdx)("td", {
|
|
9287
|
-
parentName: "tr",
|
|
9288
|
-
"align": null
|
|
9289
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9290
|
-
parentName: "td"
|
|
9291
9364
|
}, "--ignore-build-errors")), (0, _react2.mdx)("td", {
|
|
9292
9365
|
parentName: "tr",
|
|
9293
9366
|
"align": "center"
|
|
@@ -9314,7 +9387,7 @@ function MDXContent(_ref) {
|
|
|
9314
9387
|
"align": null
|
|
9315
9388
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9316
9389
|
parentName: "td"
|
|
9317
|
-
}, "--ignore-issues
|
|
9390
|
+
}, "--ignore-issues <issues>")), (0, _react2.mdx)("td", {
|
|
9318
9391
|
parentName: "tr",
|
|
9319
9392
|
"align": "center"
|
|
9320
9393
|
}, (0, _react2.mdx)("inlineCode", {
|
|
@@ -9329,43 +9402,13 @@ function MDXContent(_ref) {
|
|
|
9329
9402
|
"align": null
|
|
9330
9403
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9331
9404
|
parentName: "td"
|
|
9332
|
-
}, "--all")), (0, _react2.mdx)("td", {
|
|
9333
|
-
parentName: "tr",
|
|
9334
|
-
"align": "center"
|
|
9335
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9336
|
-
parentName: "td"
|
|
9337
|
-
}, "-a")), (0, _react2.mdx)("td", {
|
|
9338
|
-
parentName: "tr",
|
|
9339
|
-
"align": null
|
|
9340
|
-
}, "DEPRECATED (not needed anymore, now the default). snap all new and modified components")), (0, _react2.mdx)("tr", {
|
|
9341
|
-
parentName: "tbody"
|
|
9342
|
-
}, (0, _react2.mdx)("td", {
|
|
9343
|
-
parentName: "tr",
|
|
9344
|
-
"align": null
|
|
9345
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9346
|
-
parentName: "td"
|
|
9347
9405
|
}, "--fail-fast")), (0, _react2.mdx)("td", {
|
|
9348
9406
|
parentName: "tr",
|
|
9349
9407
|
"align": "center"
|
|
9350
9408
|
}), (0, _react2.mdx)("td", {
|
|
9351
9409
|
parentName: "tr",
|
|
9352
9410
|
"align": null
|
|
9353
|
-
}, "stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)")), (0, _react2.mdx)("
|
|
9354
|
-
parentName: "tbody"
|
|
9355
|
-
}, (0, _react2.mdx)("td", {
|
|
9356
|
-
parentName: "tr",
|
|
9357
|
-
"align": null
|
|
9358
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9359
|
-
parentName: "td"
|
|
9360
|
-
}, "--force")), (0, _react2.mdx)("td", {
|
|
9361
|
-
parentName: "tr",
|
|
9362
|
-
"align": "center"
|
|
9363
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9364
|
-
parentName: "td"
|
|
9365
|
-
}, "-f")), (0, _react2.mdx)("td", {
|
|
9366
|
-
parentName: "tr",
|
|
9367
|
-
"align": null
|
|
9368
|
-
}, "DEPRECATED (use \"--skip-tests\" or \"--unmodified\" instead). force-snap even if tests are failing and even when component has not changed")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "start"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9411
|
+
}, "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, "start"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9369
9412
|
parentName: "p"
|
|
9370
9413
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
9371
9414
|
parentName: "p"
|
|
@@ -10014,7 +10057,7 @@ function MDXContent(_ref) {
|
|
|
10014
10057
|
"align": null
|
|
10015
10058
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10016
10059
|
parentName: "td"
|
|
10017
|
-
}, "--ignore-issues
|
|
10060
|
+
}, "--ignore-issues <issues>")), (0, _react2.mdx)("td", {
|
|
10018
10061
|
parentName: "tr",
|
|
10019
10062
|
"align": "center"
|
|
10020
10063
|
}, (0, _react2.mdx)("inlineCode", {
|
|
@@ -10065,65 +10108,7 @@ function MDXContent(_ref) {
|
|
|
10065
10108
|
}, "-b")), (0, _react2.mdx)("td", {
|
|
10066
10109
|
parentName: "tr",
|
|
10067
10110
|
"align": null
|
|
10068
|
-
}, "locally run the build pipeline (i.e. not via rippleCI) and complete the tag")), (0, _react2.mdx)("
|
|
10069
|
-
parentName: "tbody"
|
|
10070
|
-
}, (0, _react2.mdx)("td", {
|
|
10071
|
-
parentName: "tr",
|
|
10072
|
-
"align": null
|
|
10073
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10074
|
-
parentName: "td"
|
|
10075
|
-
}, "--all [version]")), (0, _react2.mdx)("td", {
|
|
10076
|
-
parentName: "tr",
|
|
10077
|
-
"align": "center"
|
|
10078
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10079
|
-
parentName: "td"
|
|
10080
|
-
}, "-a")), (0, _react2.mdx)("td", {
|
|
10081
|
-
parentName: "tr",
|
|
10082
|
-
"align": null
|
|
10083
|
-
}, "DEPRECATED (not needed anymore, it is the default now). tag all new and modified components")), (0, _react2.mdx)("tr", {
|
|
10084
|
-
parentName: "tbody"
|
|
10085
|
-
}, (0, _react2.mdx)("td", {
|
|
10086
|
-
parentName: "tr",
|
|
10087
|
-
"align": null
|
|
10088
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10089
|
-
parentName: "td"
|
|
10090
|
-
}, "--scope [version]")), (0, _react2.mdx)("td", {
|
|
10091
|
-
parentName: "tr",
|
|
10092
|
-
"align": "center"
|
|
10093
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10094
|
-
parentName: "td"
|
|
10095
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
10096
|
-
parentName: "tr",
|
|
10097
|
-
"align": null
|
|
10098
|
-
}, "DEPRECATED (use \"--unmodified\" instead). tag all components of the local scope")), (0, _react2.mdx)("tr", {
|
|
10099
|
-
parentName: "tbody"
|
|
10100
|
-
}, (0, _react2.mdx)("td", {
|
|
10101
|
-
parentName: "tr",
|
|
10102
|
-
"align": null
|
|
10103
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10104
|
-
parentName: "td"
|
|
10105
|
-
}, "--force")), (0, _react2.mdx)("td", {
|
|
10106
|
-
parentName: "tr",
|
|
10107
|
-
"align": "center"
|
|
10108
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10109
|
-
parentName: "td"
|
|
10110
|
-
}, "-f")), (0, _react2.mdx)("td", {
|
|
10111
|
-
parentName: "tr",
|
|
10112
|
-
"align": null
|
|
10113
|
-
}, "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", {
|
|
10114
|
-
parentName: "tbody"
|
|
10115
|
-
}, (0, _react2.mdx)("td", {
|
|
10116
|
-
parentName: "tr",
|
|
10117
|
-
"align": null
|
|
10118
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
10119
|
-
parentName: "td"
|
|
10120
|
-
}, "--disable-deploy-pipeline")), (0, _react2.mdx)("td", {
|
|
10121
|
-
parentName: "tr",
|
|
10122
|
-
"align": "center"
|
|
10123
|
-
}), (0, _react2.mdx)("td", {
|
|
10124
|
-
parentName: "tr",
|
|
10125
|
-
"align": null
|
|
10126
|
-
}, "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", {
|
|
10111
|
+
}, "locally run the build pipeline (i.e. not via rippleCI) and complete the tag")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "templates"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10127
10112
|
parentName: "p"
|
|
10128
10113
|
}, "Description"), ": list available templates for \"bit create\" and \"bit new\"", (0, _react2.mdx)("br", {
|
|
10129
10114
|
parentName: "p"
|