@teambit/harmony.content.cli-reference 1.95.139 → 1.95.141
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.json +100 -90
- package/cli-reference.mdx +22 -38
- package/dist/cli-reference.json +100 -90
- package/dist/cli-reference.mdx.js +51 -154
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1682566814488.js → preview-1683430915272.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.141.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.139.tgz +0 -0
|
@@ -143,7 +143,22 @@ function MDXContent(_ref) {
|
|
|
143
143
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
144
144
|
parentName: "tr",
|
|
145
145
|
"align": null
|
|
146
|
-
}, "sets the component's scope-name. if not entered, the default-scope will be used"))
|
|
146
|
+
}, "sets the component's scope-name. if not entered, the default-scope will be used")), (0, _react2.mdx)("tr", {
|
|
147
|
+
parentName: "tbody"
|
|
148
|
+
}, (0, _react2.mdx)("td", {
|
|
149
|
+
parentName: "tr",
|
|
150
|
+
"align": null
|
|
151
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
152
|
+
parentName: "td"
|
|
153
|
+
}, "--env <string>")), (0, _react2.mdx)("td", {
|
|
154
|
+
parentName: "tr",
|
|
155
|
+
"align": "center"
|
|
156
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
157
|
+
parentName: "td"
|
|
158
|
+
}, "-e")), (0, _react2.mdx)("td", {
|
|
159
|
+
parentName: "tr",
|
|
160
|
+
"align": null
|
|
161
|
+
}, "set the component's environment. (overrides the env from variants if exists)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "app"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
147
162
|
parentName: "p"
|
|
148
163
|
}, "Description"), ": Manages apps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
149
164
|
parentName: "p"
|
|
@@ -2754,14 +2769,7 @@ function MDXContent(_ref) {
|
|
|
2754
2769
|
"align": null
|
|
2755
2770
|
}, "show internal commands")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "import"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2756
2771
|
parentName: "p"
|
|
2757
|
-
}, "Description"), ": import components from their remote scopes to the local workspace", (0, _react2.mdx)("
|
|
2758
|
-
parentName: "p"
|
|
2759
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
2760
|
-
parentName: "p",
|
|
2761
|
-
"href": "https://bit.dev/docs/components/importing-components"
|
|
2762
|
-
}, "https://bit.dev/docs/components/importing-components"), (0, _react2.mdx)("br", {
|
|
2763
|
-
parentName: "p"
|
|
2764
|
-
}), "\n", "you can use a pattern for multiple ids, such as bit import \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2772
|
+
}, "Description"), ": import components from their remote scopes to the local workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2765
2773
|
parentName: "p"
|
|
2766
2774
|
}, "bit import [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2767
2775
|
parentName: "table"
|
|
@@ -4260,12 +4268,7 @@ function MDXContent(_ref) {
|
|
|
4260
4268
|
"align": null
|
|
4261
4269
|
}, "show not merged lanes")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "link"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4262
4270
|
parentName: "p"
|
|
4263
|
-
}, "Description"), ": create links in the node_modules directory, to core aspects and to components in the workspace", (0, _react2.mdx)("
|
|
4264
|
-
parentName: "p"
|
|
4265
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4266
|
-
parentName: "p",
|
|
4267
|
-
"href": "https://bit.dev/docs/workspace/component-links"
|
|
4268
|
-
}, "https://bit.dev/docs/workspace/component-links")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4271
|
+
}, "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", {
|
|
4269
4272
|
parentName: "p"
|
|
4270
4273
|
}, "bit link [component-names...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4271
4274
|
parentName: "table"
|
|
@@ -4553,12 +4556,7 @@ function MDXContent(_ref) {
|
|
|
4553
4556
|
"align": null
|
|
4554
4557
|
}, "show only specified namespace by using wildcards")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "log"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4555
4558
|
parentName: "p"
|
|
4556
|
-
}, "Description"), ": show components(s) version history", (0, _react2.mdx)("
|
|
4557
|
-
parentName: "p"
|
|
4558
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4559
|
-
parentName: "p",
|
|
4560
|
-
"href": "https://bit.dev/docs/reference/cli-reference#log"
|
|
4561
|
-
}, "https://bit.dev/docs/reference/cli-reference#log")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4559
|
+
}, "Description"), ": show components(s) version history"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4562
4560
|
parentName: "p"
|
|
4563
4561
|
}, "bit log <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4564
4562
|
parentName: "table"
|
|
@@ -5355,7 +5353,13 @@ function MDXContent(_ref) {
|
|
|
5355
5353
|
parentName: "p"
|
|
5356
5354
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
5357
5355
|
parentName: "p"
|
|
5358
|
-
}, "Description"), ": remove component(s) from the workspace, or a remote scope"
|
|
5356
|
+
}, "Description"), ": remove component(s) from the workspace, or a remote scope", (0, _react2.mdx)("br", {
|
|
5357
|
+
parentName: "p"
|
|
5358
|
+
}), "\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", {
|
|
5359
|
+
parentName: "p"
|
|
5360
|
+
}), "\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)("br", {
|
|
5361
|
+
parentName: "p"
|
|
5362
|
+
}), "\n", "in case this is running on a lane, it'll mark the component as deleted on the lane only, which tells bit not to merge them. the main will not be affected."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5359
5363
|
parentName: "p"
|
|
5360
5364
|
}, "bit remove <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5361
5365
|
parentName: "table"
|
|
@@ -5391,65 +5395,74 @@ function MDXContent(_ref) {
|
|
|
5391
5395
|
}), (0, _react2.mdx)("td", {
|
|
5392
5396
|
parentName: "tr",
|
|
5393
5397
|
"align": null
|
|
5394
|
-
}, "
|
|
5398
|
+
}, "DEPRECATED. use --delete instead")), (0, _react2.mdx)("tr", {
|
|
5395
5399
|
parentName: "tbody"
|
|
5396
5400
|
}, (0, _react2.mdx)("td", {
|
|
5397
5401
|
parentName: "tr",
|
|
5398
5402
|
"align": null
|
|
5399
5403
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5400
5404
|
parentName: "td"
|
|
5401
|
-
}, "--
|
|
5405
|
+
}, "--delete")), (0, _react2.mdx)("td", {
|
|
5402
5406
|
parentName: "tr",
|
|
5403
5407
|
"align": "center"
|
|
5404
|
-
}, (0, _react2.mdx)("
|
|
5405
|
-
parentName: "td"
|
|
5406
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
5408
|
+
}), (0, _react2.mdx)("td", {
|
|
5407
5409
|
parentName: "tr",
|
|
5408
5410
|
"align": null
|
|
5409
|
-
}, "
|
|
5411
|
+
}, "mark the component as deleted. after tag/snap and export the remote will be updated")), (0, _react2.mdx)("tr", {
|
|
5410
5412
|
parentName: "tbody"
|
|
5411
5413
|
}, (0, _react2.mdx)("td", {
|
|
5412
5414
|
parentName: "tr",
|
|
5413
5415
|
"align": null
|
|
5414
5416
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5415
5417
|
parentName: "td"
|
|
5416
|
-
}, "--
|
|
5418
|
+
}, "--remote")), (0, _react2.mdx)("td", {
|
|
5417
5419
|
parentName: "tr",
|
|
5418
5420
|
"align": "center"
|
|
5419
5421
|
}), (0, _react2.mdx)("td", {
|
|
5420
5422
|
parentName: "tr",
|
|
5421
5423
|
"align": null
|
|
5422
|
-
}, "
|
|
5424
|
+
}, "DEPRECATED. use --hard instead")), (0, _react2.mdx)("tr", {
|
|
5423
5425
|
parentName: "tbody"
|
|
5424
5426
|
}, (0, _react2.mdx)("td", {
|
|
5425
5427
|
parentName: "tr",
|
|
5426
5428
|
"align": null
|
|
5427
5429
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5428
5430
|
parentName: "td"
|
|
5429
|
-
}, "--
|
|
5431
|
+
}, "--hard")), (0, _react2.mdx)("td", {
|
|
5430
5432
|
parentName: "tr",
|
|
5431
5433
|
"align": "center"
|
|
5434
|
+
}), (0, _react2.mdx)("td", {
|
|
5435
|
+
parentName: "tr",
|
|
5436
|
+
"align": null
|
|
5437
|
+
}, "remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete")), (0, _react2.mdx)("tr", {
|
|
5438
|
+
parentName: "tbody"
|
|
5439
|
+
}, (0, _react2.mdx)("td", {
|
|
5440
|
+
parentName: "tr",
|
|
5441
|
+
"align": null
|
|
5432
5442
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5433
5443
|
parentName: "td"
|
|
5434
|
-
}, "-
|
|
5444
|
+
}, "--from-lane")), (0, _react2.mdx)("td", {
|
|
5445
|
+
parentName: "tr",
|
|
5446
|
+
"align": "center"
|
|
5447
|
+
}), (0, _react2.mdx)("td", {
|
|
5435
5448
|
parentName: "tr",
|
|
5436
5449
|
"align": null
|
|
5437
|
-
}, "
|
|
5450
|
+
}, "revert to main if exists on currently checked out lane, otherwise, remove it")), (0, _react2.mdx)("tr", {
|
|
5438
5451
|
parentName: "tbody"
|
|
5439
5452
|
}, (0, _react2.mdx)("td", {
|
|
5440
5453
|
parentName: "tr",
|
|
5441
5454
|
"align": null
|
|
5442
5455
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5443
5456
|
parentName: "td"
|
|
5444
|
-
}, "--
|
|
5457
|
+
}, "--track")), (0, _react2.mdx)("td", {
|
|
5445
5458
|
parentName: "tr",
|
|
5446
5459
|
"align": "center"
|
|
5447
5460
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5448
5461
|
parentName: "td"
|
|
5449
|
-
}, "-
|
|
5462
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
5450
5463
|
parentName: "tr",
|
|
5451
5464
|
"align": null
|
|
5452
|
-
}, "
|
|
5465
|
+
}, "keep tracking component in .bitmap (default = false), helps transform a tagged-component to new")), (0, _react2.mdx)("tr", {
|
|
5453
5466
|
parentName: "tbody"
|
|
5454
5467
|
}, (0, _react2.mdx)("td", {
|
|
5455
5468
|
parentName: "tr",
|
|
@@ -6077,14 +6090,7 @@ function MDXContent(_ref) {
|
|
|
6077
6090
|
"align": null
|
|
6078
6091
|
}, "compare current file system component to the latest tagged component ", "[default=latest]", ". only works in legacy.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "snap"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6079
6092
|
parentName: "p"
|
|
6080
|
-
}, "Description"), ": EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)", (0, _react2.mdx)("
|
|
6081
|
-
parentName: "p"
|
|
6082
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
6083
|
-
parentName: "p",
|
|
6084
|
-
"href": "https://bit.dev/components/snaps"
|
|
6085
|
-
}, "https://bit.dev/components/snaps"), (0, _react2.mdx)("br", {
|
|
6086
|
-
parentName: "p"
|
|
6087
|
-
}), "\n", "you can use a pattern for multiple ids, such as bit snap \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6093
|
+
}, "Description"), ": EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6088
6094
|
parentName: "p"
|
|
6089
6095
|
}, "bit snap [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6090
6096
|
parentName: "table"
|
|
@@ -7221,116 +7227,7 @@ function MDXContent(_ref) {
|
|
|
7221
7227
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
7222
7228
|
parentName: "tr",
|
|
7223
7229
|
"align": null
|
|
7224
|
-
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
7225
|
-
parentName: "p"
|
|
7226
|
-
}, "Description"), ": EXPERIMENTAL. write tsconfig.json files in the component directories"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7227
|
-
parentName: "p"
|
|
7228
|
-
}, "bit write-tsconfig")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7229
|
-
parentName: "table"
|
|
7230
|
-
}, (0, _react2.mdx)("tr", {
|
|
7231
|
-
parentName: "thead"
|
|
7232
|
-
}, (0, _react2.mdx)("th", {
|
|
7233
|
-
parentName: "tr",
|
|
7234
|
-
"align": null
|
|
7235
|
-
}, (0, _react2.mdx)("strong", {
|
|
7236
|
-
parentName: "th"
|
|
7237
|
-
}, "Option")), (0, _react2.mdx)("th", {
|
|
7238
|
-
parentName: "tr",
|
|
7239
|
-
"align": "center"
|
|
7240
|
-
}, (0, _react2.mdx)("strong", {
|
|
7241
|
-
parentName: "th"
|
|
7242
|
-
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
7243
|
-
parentName: "tr",
|
|
7244
|
-
"align": null
|
|
7245
|
-
}, (0, _react2.mdx)("strong", {
|
|
7246
|
-
parentName: "th"
|
|
7247
|
-
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
7248
|
-
parentName: "table"
|
|
7249
|
-
}, (0, _react2.mdx)("tr", {
|
|
7250
|
-
parentName: "tbody"
|
|
7251
|
-
}, (0, _react2.mdx)("td", {
|
|
7252
|
-
parentName: "tr",
|
|
7253
|
-
"align": null
|
|
7254
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7255
|
-
parentName: "td"
|
|
7256
|
-
}, "--clean")), (0, _react2.mdx)("td", {
|
|
7257
|
-
parentName: "tr",
|
|
7258
|
-
"align": "center"
|
|
7259
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7260
|
-
parentName: "td"
|
|
7261
|
-
}, "-c")), (0, _react2.mdx)("td", {
|
|
7262
|
-
parentName: "tr",
|
|
7263
|
-
"align": null
|
|
7264
|
-
}, "delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first")), (0, _react2.mdx)("tr", {
|
|
7265
|
-
parentName: "tbody"
|
|
7266
|
-
}, (0, _react2.mdx)("td", {
|
|
7267
|
-
parentName: "tr",
|
|
7268
|
-
"align": null
|
|
7269
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7270
|
-
parentName: "td"
|
|
7271
|
-
}, "--silent")), (0, _react2.mdx)("td", {
|
|
7272
|
-
parentName: "tr",
|
|
7273
|
-
"align": "center"
|
|
7274
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7275
|
-
parentName: "td"
|
|
7276
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
7277
|
-
parentName: "tr",
|
|
7278
|
-
"align": null
|
|
7279
|
-
}, "do not prompt for confirmation")), (0, _react2.mdx)("tr", {
|
|
7280
|
-
parentName: "tbody"
|
|
7281
|
-
}, (0, _react2.mdx)("td", {
|
|
7282
|
-
parentName: "tr",
|
|
7283
|
-
"align": null
|
|
7284
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7285
|
-
parentName: "td"
|
|
7286
|
-
}, "--no-dedupe")), (0, _react2.mdx)("td", {
|
|
7287
|
-
parentName: "tr",
|
|
7288
|
-
"align": "center"
|
|
7289
|
-
}), (0, _react2.mdx)("td", {
|
|
7290
|
-
parentName: "tr",
|
|
7291
|
-
"align": null
|
|
7292
|
-
}, "write tsconfig.json inside each one of the component's dir, avoid deduping")), (0, _react2.mdx)("tr", {
|
|
7293
|
-
parentName: "tbody"
|
|
7294
|
-
}, (0, _react2.mdx)("td", {
|
|
7295
|
-
parentName: "tr",
|
|
7296
|
-
"align": null
|
|
7297
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7298
|
-
parentName: "td"
|
|
7299
|
-
}, "--dry-run")), (0, _react2.mdx)("td", {
|
|
7300
|
-
parentName: "tr",
|
|
7301
|
-
"align": "center"
|
|
7302
|
-
}), (0, _react2.mdx)("td", {
|
|
7303
|
-
parentName: "tr",
|
|
7304
|
-
"align": null
|
|
7305
|
-
}, "show the paths that tsconfig will be written per env")), (0, _react2.mdx)("tr", {
|
|
7306
|
-
parentName: "tbody"
|
|
7307
|
-
}, (0, _react2.mdx)("td", {
|
|
7308
|
-
parentName: "tr",
|
|
7309
|
-
"align": null
|
|
7310
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7311
|
-
parentName: "td"
|
|
7312
|
-
}, "--dry-run-with-tsconfig")), (0, _react2.mdx)("td", {
|
|
7313
|
-
parentName: "tr",
|
|
7314
|
-
"align": "center"
|
|
7315
|
-
}), (0, _react2.mdx)("td", {
|
|
7316
|
-
parentName: "tr",
|
|
7317
|
-
"align": null
|
|
7318
|
-
}, "use with --json flag. show the tsconfig.json content and the paths it will be written per env")), (0, _react2.mdx)("tr", {
|
|
7319
|
-
parentName: "tbody"
|
|
7320
|
-
}, (0, _react2.mdx)("td", {
|
|
7321
|
-
parentName: "tr",
|
|
7322
|
-
"align": null
|
|
7323
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7324
|
-
parentName: "td"
|
|
7325
|
-
}, "--json")), (0, _react2.mdx)("td", {
|
|
7326
|
-
parentName: "tr",
|
|
7327
|
-
"align": "center"
|
|
7328
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7329
|
-
parentName: "td"
|
|
7330
|
-
}, "-j")), (0, _react2.mdx)("td", {
|
|
7331
|
-
parentName: "tr",
|
|
7332
|
-
"align": null
|
|
7333
|
-
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7230
|
+
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7334
7231
|
parentName: "p"
|
|
7335
7232
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
7336
7233
|
parentName: "p"
|