@teambit/harmony.content.cli-reference 1.95.109 → 1.95.111
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 +47 -37
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.json +47 -37
- package/dist/cli-reference.mdx.js +14 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1674531051110.js → preview-1674876551482.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.111.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.109.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -420,41 +420,6 @@
|
|
|
420
420
|
"group": "ungrouped",
|
|
421
421
|
"private": true
|
|
422
422
|
},
|
|
423
|
-
{
|
|
424
|
-
"name": "add [path...]",
|
|
425
|
-
"alias": "a",
|
|
426
|
-
"options": [
|
|
427
|
-
[
|
|
428
|
-
"i",
|
|
429
|
-
"id <name>",
|
|
430
|
-
"manually set component id"
|
|
431
|
-
],
|
|
432
|
-
[
|
|
433
|
-
"m",
|
|
434
|
-
"main <file>",
|
|
435
|
-
"define entry point for the components"
|
|
436
|
-
],
|
|
437
|
-
[
|
|
438
|
-
"n",
|
|
439
|
-
"namespace <namespace>",
|
|
440
|
-
"organize component in a namespace"
|
|
441
|
-
],
|
|
442
|
-
[
|
|
443
|
-
"o",
|
|
444
|
-
"override <boolean>",
|
|
445
|
-
"override existing component if exists (default = false)"
|
|
446
|
-
],
|
|
447
|
-
[
|
|
448
|
-
"s",
|
|
449
|
-
"scope <string>",
|
|
450
|
-
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
451
|
-
]
|
|
452
|
-
],
|
|
453
|
-
"description": "Add any subset of files to be tracked as a component(s).",
|
|
454
|
-
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
455
|
-
"group": "development",
|
|
456
|
-
"private": false
|
|
457
|
-
},
|
|
458
423
|
{
|
|
459
424
|
"name": "untag [component-name] [component-version]",
|
|
460
425
|
"alias": "",
|
|
@@ -1221,6 +1186,41 @@
|
|
|
1221
1186
|
}
|
|
1222
1187
|
]
|
|
1223
1188
|
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "add [path...]",
|
|
1191
|
+
"alias": "a",
|
|
1192
|
+
"options": [
|
|
1193
|
+
[
|
|
1194
|
+
"i",
|
|
1195
|
+
"id <name>",
|
|
1196
|
+
"manually set component id"
|
|
1197
|
+
],
|
|
1198
|
+
[
|
|
1199
|
+
"m",
|
|
1200
|
+
"main <file>",
|
|
1201
|
+
"define entry point for the components"
|
|
1202
|
+
],
|
|
1203
|
+
[
|
|
1204
|
+
"n",
|
|
1205
|
+
"namespace <namespace>",
|
|
1206
|
+
"organize component in a namespace"
|
|
1207
|
+
],
|
|
1208
|
+
[
|
|
1209
|
+
"o",
|
|
1210
|
+
"override <boolean>",
|
|
1211
|
+
"override existing component if exists (default = false)"
|
|
1212
|
+
],
|
|
1213
|
+
[
|
|
1214
|
+
"s",
|
|
1215
|
+
"scope <string>",
|
|
1216
|
+
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1217
|
+
]
|
|
1218
|
+
],
|
|
1219
|
+
"description": "Add any subset of files to be tracked as a component(s).",
|
|
1220
|
+
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
1221
|
+
"group": "development",
|
|
1222
|
+
"private": false
|
|
1223
|
+
},
|
|
1224
1224
|
{
|
|
1225
1225
|
"name": "create <template-name> <component-names...>",
|
|
1226
1226
|
"alias": "",
|
|
@@ -2132,6 +2132,11 @@
|
|
|
2132
2132
|
"build",
|
|
2133
2133
|
"EXPERIMENTAL. not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled"
|
|
2134
2134
|
],
|
|
2135
|
+
[
|
|
2136
|
+
"",
|
|
2137
|
+
"editor [editor]",
|
|
2138
|
+
"EXPERIMENTAL. open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2139
|
+
],
|
|
2135
2140
|
[
|
|
2136
2141
|
"",
|
|
2137
2142
|
"skip-tests",
|
|
@@ -2774,8 +2779,8 @@
|
|
|
2774
2779
|
],
|
|
2775
2780
|
[
|
|
2776
2781
|
"",
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2782
|
+
"skip-fetch",
|
|
2783
|
+
"use the current target-lane if exits locally without updating it from the remote"
|
|
2779
2784
|
],
|
|
2780
2785
|
[
|
|
2781
2786
|
"",
|
|
@@ -3750,6 +3755,11 @@
|
|
|
3750
3755
|
"",
|
|
3751
3756
|
"skip-config",
|
|
3752
3757
|
"do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading"
|
|
3758
|
+
],
|
|
3759
|
+
[
|
|
3760
|
+
"",
|
|
3761
|
+
"rename",
|
|
3762
|
+
"rename files and variables/classes according to the new component name"
|
|
3753
3763
|
]
|
|
3754
3764
|
],
|
|
3755
3765
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
package/cli-reference.mdx
CHANGED
|
@@ -606,6 +606,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
606
606
|
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
607
607
|
| `--skip-dependency-installation` | | do not install packages of the imported components |
|
|
608
608
|
| `--skip-config` | | do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading |
|
|
609
|
+
| `--rename` | | rename files and variables/classes according to the new component name |
|
|
609
610
|
|
|
610
611
|
---
|
|
611
612
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -420,41 +420,6 @@
|
|
|
420
420
|
"group": "ungrouped",
|
|
421
421
|
"private": true
|
|
422
422
|
},
|
|
423
|
-
{
|
|
424
|
-
"name": "add [path...]",
|
|
425
|
-
"alias": "a",
|
|
426
|
-
"options": [
|
|
427
|
-
[
|
|
428
|
-
"i",
|
|
429
|
-
"id <name>",
|
|
430
|
-
"manually set component id"
|
|
431
|
-
],
|
|
432
|
-
[
|
|
433
|
-
"m",
|
|
434
|
-
"main <file>",
|
|
435
|
-
"define entry point for the components"
|
|
436
|
-
],
|
|
437
|
-
[
|
|
438
|
-
"n",
|
|
439
|
-
"namespace <namespace>",
|
|
440
|
-
"organize component in a namespace"
|
|
441
|
-
],
|
|
442
|
-
[
|
|
443
|
-
"o",
|
|
444
|
-
"override <boolean>",
|
|
445
|
-
"override existing component if exists (default = false)"
|
|
446
|
-
],
|
|
447
|
-
[
|
|
448
|
-
"s",
|
|
449
|
-
"scope <string>",
|
|
450
|
-
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
451
|
-
]
|
|
452
|
-
],
|
|
453
|
-
"description": "Add any subset of files to be tracked as a component(s).",
|
|
454
|
-
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
455
|
-
"group": "development",
|
|
456
|
-
"private": false
|
|
457
|
-
},
|
|
458
423
|
{
|
|
459
424
|
"name": "untag [component-name] [component-version]",
|
|
460
425
|
"alias": "",
|
|
@@ -1221,6 +1186,41 @@
|
|
|
1221
1186
|
}
|
|
1222
1187
|
]
|
|
1223
1188
|
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "add [path...]",
|
|
1191
|
+
"alias": "a",
|
|
1192
|
+
"options": [
|
|
1193
|
+
[
|
|
1194
|
+
"i",
|
|
1195
|
+
"id <name>",
|
|
1196
|
+
"manually set component id"
|
|
1197
|
+
],
|
|
1198
|
+
[
|
|
1199
|
+
"m",
|
|
1200
|
+
"main <file>",
|
|
1201
|
+
"define entry point for the components"
|
|
1202
|
+
],
|
|
1203
|
+
[
|
|
1204
|
+
"n",
|
|
1205
|
+
"namespace <namespace>",
|
|
1206
|
+
"organize component in a namespace"
|
|
1207
|
+
],
|
|
1208
|
+
[
|
|
1209
|
+
"o",
|
|
1210
|
+
"override <boolean>",
|
|
1211
|
+
"override existing component if exists (default = false)"
|
|
1212
|
+
],
|
|
1213
|
+
[
|
|
1214
|
+
"s",
|
|
1215
|
+
"scope <string>",
|
|
1216
|
+
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1217
|
+
]
|
|
1218
|
+
],
|
|
1219
|
+
"description": "Add any subset of files to be tracked as a component(s).",
|
|
1220
|
+
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
1221
|
+
"group": "development",
|
|
1222
|
+
"private": false
|
|
1223
|
+
},
|
|
1224
1224
|
{
|
|
1225
1225
|
"name": "create <template-name> <component-names...>",
|
|
1226
1226
|
"alias": "",
|
|
@@ -2132,6 +2132,11 @@
|
|
|
2132
2132
|
"build",
|
|
2133
2133
|
"EXPERIMENTAL. not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled"
|
|
2134
2134
|
],
|
|
2135
|
+
[
|
|
2136
|
+
"",
|
|
2137
|
+
"editor [editor]",
|
|
2138
|
+
"EXPERIMENTAL. open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
2139
|
+
],
|
|
2135
2140
|
[
|
|
2136
2141
|
"",
|
|
2137
2142
|
"skip-tests",
|
|
@@ -2774,8 +2779,8 @@
|
|
|
2774
2779
|
],
|
|
2775
2780
|
[
|
|
2776
2781
|
"",
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2782
|
+
"skip-fetch",
|
|
2783
|
+
"use the current target-lane if exits locally without updating it from the remote"
|
|
2779
2784
|
],
|
|
2780
2785
|
[
|
|
2781
2786
|
"",
|
|
@@ -3750,6 +3755,11 @@
|
|
|
3750
3755
|
"",
|
|
3751
3756
|
"skip-config",
|
|
3752
3757
|
"do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading"
|
|
3758
|
+
],
|
|
3759
|
+
[
|
|
3760
|
+
"",
|
|
3761
|
+
"rename",
|
|
3762
|
+
"rename files and variables/classes according to the new component name"
|
|
3753
3763
|
]
|
|
3754
3764
|
],
|
|
3755
3765
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
@@ -2449,7 +2449,20 @@ function MDXContent(_ref) {
|
|
|
2449
2449
|
}), (0, _react2.mdx)("td", {
|
|
2450
2450
|
parentName: "tr",
|
|
2451
2451
|
"align": null
|
|
2452
|
-
}, "do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading"))
|
|
2452
|
+
}, "do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading")), (0, _react2.mdx)("tr", {
|
|
2453
|
+
parentName: "tbody"
|
|
2454
|
+
}, (0, _react2.mdx)("td", {
|
|
2455
|
+
parentName: "tr",
|
|
2456
|
+
"align": null
|
|
2457
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2458
|
+
parentName: "td"
|
|
2459
|
+
}, "--rename")), (0, _react2.mdx)("td", {
|
|
2460
|
+
parentName: "tr",
|
|
2461
|
+
"align": "center"
|
|
2462
|
+
}), (0, _react2.mdx)("td", {
|
|
2463
|
+
parentName: "tr",
|
|
2464
|
+
"align": null
|
|
2465
|
+
}, "rename files and variables/classes according to the new component name")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "format"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2453
2466
|
parentName: "p"
|
|
2454
2467
|
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
2455
2468
|
parentName: "p"
|