@teambit/harmony.content.cli-reference 1.95.57 → 1.95.60
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 +5 -5
- package/dist/cli-reference.json +12 -2
- package/dist/cli-reference.mdx.js +29 -6
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.60.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1661225521544.js → preview-1661830538885.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.57.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
"default-directory <default-directory>",
|
|
44
44
|
"set up default directory to import components into"
|
|
45
45
|
],
|
|
46
|
+
[
|
|
47
|
+
"",
|
|
48
|
+
"default-scope <default-scope>",
|
|
49
|
+
"set up default scope for all components in the workspace"
|
|
50
|
+
],
|
|
46
51
|
[
|
|
47
52
|
"p",
|
|
48
53
|
"package-manager <package-manager>",
|
|
@@ -1368,10 +1373,15 @@
|
|
|
1368
1373
|
"name": "remove <component-pattern>",
|
|
1369
1374
|
"alias": "rm",
|
|
1370
1375
|
"options": [
|
|
1376
|
+
[
|
|
1377
|
+
"",
|
|
1378
|
+
"soft",
|
|
1379
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1380
|
+
],
|
|
1371
1381
|
[
|
|
1372
1382
|
"r",
|
|
1373
1383
|
"remote",
|
|
1374
|
-
"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)"
|
|
1375
1385
|
],
|
|
1376
1386
|
[
|
|
1377
1387
|
"t",
|
|
@@ -3342,7 +3352,7 @@
|
|
|
3342
3352
|
]
|
|
3343
3353
|
],
|
|
3344
3354
|
"description": "export components from the workspace to remote scopes",
|
|
3345
|
-
"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
|
|
3355
|
+
"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)",
|
|
3346
3356
|
"group": "collaborate",
|
|
3347
3357
|
"private": false,
|
|
3348
3358
|
"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
|
|
|
@@ -693,6 +691,7 @@ https://bit.dev/docs/workspace/creating-workspaces#initialize-a-workspace-on-an-
|
|
|
693
691
|
| `--reset-hard` | | delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch |
|
|
694
692
|
| `--reset-scope` | | removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact |
|
|
695
693
|
| `--default-directory <default-directory>` | `-d` | set up default directory to import components into |
|
|
694
|
+
| `--default-scope <default-scope>` | | set up default scope for all components in the workspace |
|
|
696
695
|
| `--package-manager <package-manager>` | `-p` | set up package manager (npm or yarn) |
|
|
697
696
|
| `--force` | `-f` | force workspace initialization without clearing local objects |
|
|
698
697
|
| `--harmony` | | DEPRECATED. no need for this flag. Harmony is the default now |
|
|
@@ -971,7 +970,8 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
971
970
|
|
|
972
971
|
| **Option** | **Option alias** | **Description** |
|
|
973
972
|
| ---------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
974
|
-
| `--
|
|
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) |
|
|
975
975
|
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
976
976
|
| `--delete-files` | `-d` | DEPRECATED (this is now the default). delete local component files |
|
|
977
977
|
| `--keep-files` | | keep component files (just untrack the component) |
|
package/dist/cli-reference.json
CHANGED
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
"default-directory <default-directory>",
|
|
44
44
|
"set up default directory to import components into"
|
|
45
45
|
],
|
|
46
|
+
[
|
|
47
|
+
"",
|
|
48
|
+
"default-scope <default-scope>",
|
|
49
|
+
"set up default scope for all components in the workspace"
|
|
50
|
+
],
|
|
46
51
|
[
|
|
47
52
|
"p",
|
|
48
53
|
"package-manager <package-manager>",
|
|
@@ -1368,10 +1373,15 @@
|
|
|
1368
1373
|
"name": "remove <component-pattern>",
|
|
1369
1374
|
"alias": "rm",
|
|
1370
1375
|
"options": [
|
|
1376
|
+
[
|
|
1377
|
+
"",
|
|
1378
|
+
"soft",
|
|
1379
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1380
|
+
],
|
|
1371
1381
|
[
|
|
1372
1382
|
"r",
|
|
1373
1383
|
"remote",
|
|
1374
|
-
"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)"
|
|
1375
1385
|
],
|
|
1376
1386
|
[
|
|
1377
1387
|
"t",
|
|
@@ -3342,7 +3352,7 @@
|
|
|
3342
3352
|
]
|
|
3343
3353
|
],
|
|
3344
3354
|
"description": "export components from the workspace to remote scopes",
|
|
3345
|
-
"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
|
|
3355
|
+
"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)",
|
|
3346
3356
|
"group": "collaborate",
|
|
3347
3357
|
"private": false,
|
|
3348
3358
|
"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"
|
|
@@ -2992,6 +2989,19 @@ function MDXContent(_ref) {
|
|
|
2992
2989
|
"align": null
|
|
2993
2990
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2994
2991
|
parentName: "td"
|
|
2992
|
+
}, "--default-scope <default-scope>")), (0, _react2.mdx)("td", {
|
|
2993
|
+
parentName: "tr",
|
|
2994
|
+
"align": "center"
|
|
2995
|
+
}), (0, _react2.mdx)("td", {
|
|
2996
|
+
parentName: "tr",
|
|
2997
|
+
"align": null
|
|
2998
|
+
}, "set up default scope for all components in the workspace")), (0, _react2.mdx)("tr", {
|
|
2999
|
+
parentName: "tbody"
|
|
3000
|
+
}, (0, _react2.mdx)("td", {
|
|
3001
|
+
parentName: "tr",
|
|
3002
|
+
"align": null
|
|
3003
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3004
|
+
parentName: "td"
|
|
2995
3005
|
}, "--package-manager <package-manager>")), (0, _react2.mdx)("td", {
|
|
2996
3006
|
parentName: "tr",
|
|
2997
3007
|
"align": "center"
|
|
@@ -4340,6 +4350,19 @@ function MDXContent(_ref) {
|
|
|
4340
4350
|
"align": null
|
|
4341
4351
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4342
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"
|
|
4343
4366
|
}, "--remote")), (0, _react2.mdx)("td", {
|
|
4344
4367
|
parentName: "tr",
|
|
4345
4368
|
"align": "center"
|
|
@@ -4348,7 +4371,7 @@ function MDXContent(_ref) {
|
|
|
4348
4371
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
4349
4372
|
parentName: "tr",
|
|
4350
4373
|
"align": null
|
|
4351
|
-
}, "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", {
|
|
4352
4375
|
parentName: "tbody"
|
|
4353
4376
|
}, (0, _react2.mdx)("td", {
|
|
4354
4377
|
parentName: "tr",
|