@teambit/harmony.content.cli-reference 1.95.58 → 1.95.61
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 +12 -2
- package/cli-reference.mdx +4 -5
- package/dist/cli-reference.json +12 -2
- package/dist/cli-reference.mdx.js +16 -6
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.61.tgz +0 -0
- package/package.json +4 -6
- package/{preview-1661284518387.js → preview-1661916601653.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.58.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1373,10 +1373,15 @@
|
|
|
1373
1373
|
"name": "remove <component-pattern>",
|
|
1374
1374
|
"alias": "rm",
|
|
1375
1375
|
"options": [
|
|
1376
|
+
[
|
|
1377
|
+
"",
|
|
1378
|
+
"soft",
|
|
1379
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1380
|
+
],
|
|
1376
1381
|
[
|
|
1377
1382
|
"r",
|
|
1378
1383
|
"remote",
|
|
1379
|
-
"remove a component from a remote scope"
|
|
1384
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1380
1385
|
],
|
|
1381
1386
|
[
|
|
1382
1387
|
"t",
|
|
@@ -2127,6 +2132,11 @@
|
|
|
2127
2132
|
"",
|
|
2128
2133
|
"include-deps",
|
|
2129
2134
|
"EXPERIMENTAL. relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components"
|
|
2135
|
+
],
|
|
2136
|
+
[
|
|
2137
|
+
"",
|
|
2138
|
+
"resolve-unrelated [merge-strategy]",
|
|
2139
|
+
"EXPERIMENTAL. relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
2130
2140
|
]
|
|
2131
2141
|
],
|
|
2132
2142
|
"description": "merge a local or a remote lane",
|
|
@@ -3347,7 +3357,7 @@
|
|
|
3347
3357
|
]
|
|
3348
3358
|
],
|
|
3349
3359
|
"description": "export components from the workspace to remote scopes",
|
|
3350
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n`bit export [id...]` => export the given ids to their current scope\n
|
|
3360
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
3351
3361
|
"group": "collaborate",
|
|
3352
3362
|
"private": false,
|
|
3353
3363
|
"remoteOp": true,
|
package/cli-reference.mdx
CHANGED
|
@@ -558,10 +558,8 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
558
558
|
**Workspace only**: yes
|
|
559
559
|
**Description**: export components from the workspace to remote scopes
|
|
560
560
|
bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well
|
|
561
|
-
`bit export [id...]` => export the given ids to their current scope
|
|
562
|
-
|
|
563
|
-
https://bit.dev/docs/components/exporting-components
|
|
564
|
-
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
561
|
+
`bit export [id...]` => export the given ids to their current scope
|
|
562
|
+
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
565
563
|
|
|
566
564
|
`bit export [component-patterns...]`
|
|
567
565
|
|
|
@@ -972,7 +970,8 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
972
970
|
|
|
973
971
|
| **Option** | **Option alias** | **Description** |
|
|
974
972
|
| ---------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
975
|
-
| `--
|
|
973
|
+
| `--soft` | | EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated |
|
|
974
|
+
| `--remote` | `-r` | remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export) |
|
|
976
975
|
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
977
976
|
| `--delete-files` | `-d` | DEPRECATED (this is now the default). delete local component files |
|
|
978
977
|
| `--keep-files` | | keep component files (just untrack the component) |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1373,10 +1373,15 @@
|
|
|
1373
1373
|
"name": "remove <component-pattern>",
|
|
1374
1374
|
"alias": "rm",
|
|
1375
1375
|
"options": [
|
|
1376
|
+
[
|
|
1377
|
+
"",
|
|
1378
|
+
"soft",
|
|
1379
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1380
|
+
],
|
|
1376
1381
|
[
|
|
1377
1382
|
"r",
|
|
1378
1383
|
"remote",
|
|
1379
|
-
"remove a component from a remote scope"
|
|
1384
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1380
1385
|
],
|
|
1381
1386
|
[
|
|
1382
1387
|
"t",
|
|
@@ -2127,6 +2132,11 @@
|
|
|
2127
2132
|
"",
|
|
2128
2133
|
"include-deps",
|
|
2129
2134
|
"EXPERIMENTAL. relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components"
|
|
2135
|
+
],
|
|
2136
|
+
[
|
|
2137
|
+
"",
|
|
2138
|
+
"resolve-unrelated [merge-strategy]",
|
|
2139
|
+
"EXPERIMENTAL. relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
2130
2140
|
]
|
|
2131
2141
|
],
|
|
2132
2142
|
"description": "merge a local or a remote lane",
|
|
@@ -3347,7 +3357,7 @@
|
|
|
3347
3357
|
]
|
|
3348
3358
|
],
|
|
3349
3359
|
"description": "export components from the workspace to remote scopes",
|
|
3350
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n`bit export [id...]` => export the given ids to their current scope\n
|
|
3360
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
3351
3361
|
"group": "collaborate",
|
|
3352
3362
|
"private": false,
|
|
3353
3363
|
"remoteOp": true,
|
|
@@ -2174,12 +2174,9 @@ function MDXContent(_ref) {
|
|
|
2174
2174
|
parentName: "p"
|
|
2175
2175
|
}), "\n", "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well", (0, _react2.mdx)("br", {
|
|
2176
2176
|
parentName: "p"
|
|
2177
|
-
}), "\n", (0, _react2.mdx)("inlineCode", {
|
|
2177
|
+
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
2178
2178
|
parentName: "p"
|
|
2179
|
-
}, "bit export [id...]"), " => export the given ids to their current scope"
|
|
2180
|
-
parentName: "p",
|
|
2181
|
-
"href": "https://bit.dev/docs/components/exporting-components"
|
|
2182
|
-
}, "https://bit.dev/docs/components/exporting-components"), (0, _react2.mdx)("br", {
|
|
2179
|
+
}, "bit export [id...]"), " => export the given ids to their current scope", (0, _react2.mdx)("br", {
|
|
2183
2180
|
parentName: "p"
|
|
2184
2181
|
}), "\n", "you can use a pattern for multiple ids, such as bit export remote-scope \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2185
2182
|
parentName: "p"
|
|
@@ -4353,6 +4350,19 @@ function MDXContent(_ref) {
|
|
|
4353
4350
|
"align": null
|
|
4354
4351
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4355
4352
|
parentName: "td"
|
|
4353
|
+
}, "--soft")), (0, _react2.mdx)("td", {
|
|
4354
|
+
parentName: "tr",
|
|
4355
|
+
"align": "center"
|
|
4356
|
+
}), (0, _react2.mdx)("td", {
|
|
4357
|
+
parentName: "tr",
|
|
4358
|
+
"align": null
|
|
4359
|
+
}, "EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated")), (0, _react2.mdx)("tr", {
|
|
4360
|
+
parentName: "tbody"
|
|
4361
|
+
}, (0, _react2.mdx)("td", {
|
|
4362
|
+
parentName: "tr",
|
|
4363
|
+
"align": null
|
|
4364
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4365
|
+
parentName: "td"
|
|
4356
4366
|
}, "--remote")), (0, _react2.mdx)("td", {
|
|
4357
4367
|
parentName: "tr",
|
|
4358
4368
|
"align": "center"
|
|
@@ -4361,7 +4371,7 @@ function MDXContent(_ref) {
|
|
|
4361
4371
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
4362
4372
|
parentName: "tr",
|
|
4363
4373
|
"align": null
|
|
4364
|
-
}, "remove a component from a remote scope")), (0, _react2.mdx)("tr", {
|
|
4374
|
+
}, "remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)")), (0, _react2.mdx)("tr", {
|
|
4365
4375
|
parentName: "tbody"
|
|
4366
4376
|
}, (0, _react2.mdx)("td", {
|
|
4367
4377
|
parentName: "tr",
|