@teambit/harmony.content.cli-reference 1.95.84 → 1.95.85
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 +4 -4
- package/cli-reference.mdx +3 -4
- package/dist/cli-reference.json +4 -4
- package/dist/cli-reference.mdx.js +6 -12
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.85.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1667014802517.js → preview-1667274254521.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.84.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
]
|
|
437
437
|
],
|
|
438
438
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
439
|
-
"extendedDescription": "
|
|
439
|
+
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
440
440
|
"group": "development",
|
|
441
441
|
"private": false
|
|
442
442
|
},
|
|
@@ -1215,13 +1215,13 @@
|
|
|
1215
1215
|
]
|
|
1216
1216
|
],
|
|
1217
1217
|
"description": "switch between component versions or remove local changes",
|
|
1218
|
-
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1218
|
+
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1219
1219
|
"group": "development",
|
|
1220
1220
|
"private": false,
|
|
1221
1221
|
"arguments": [
|
|
1222
1222
|
{
|
|
1223
1223
|
"name": "to",
|
|
1224
|
-
"description": "permitted values: [head, reset, specific-version]. 'head' - last snap/tag. 'reset' - removes local changes"
|
|
1224
|
+
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
1225
1225
|
},
|
|
1226
1226
|
{
|
|
1227
1227
|
"name": "component-pattern",
|
|
@@ -3379,7 +3379,7 @@
|
|
|
3379
3379
|
]
|
|
3380
3380
|
],
|
|
3381
3381
|
"description": "clears Bit's cache from current working machine",
|
|
3382
|
-
"extendedDescription": "The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash
|
|
3382
|
+
"extendedDescription": "The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash",
|
|
3383
3383
|
"group": "general",
|
|
3384
3384
|
"private": false,
|
|
3385
3385
|
"skipWorkspace": true
|
package/cli-reference.mdx
CHANGED
|
@@ -7,8 +7,7 @@ Commands that are marked as workspace only must be executed inside a workspace.
|
|
|
7
7
|
**Alias**: `a`
|
|
8
8
|
**Workspace only**: yes
|
|
9
9
|
**Description**: Add any subset of files to be tracked as a component(s).
|
|
10
|
-
|
|
11
|
-
https://bit.dev/docs/components/adding-components
|
|
10
|
+
Learn the recommended workflow for tracking directories as components, in the link below.
|
|
12
11
|
|
|
13
12
|
`bit add [path...]`
|
|
14
13
|
|
|
@@ -221,6 +220,7 @@ with no args, only workspace's capsules are deleted
|
|
|
221
220
|
|
|
222
221
|
`bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version
|
|
223
222
|
`bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all
|
|
223
|
+
`bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all
|
|
224
224
|
`bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)
|
|
225
225
|
|
|
226
226
|
`bit checkout <to> [component-pattern]`
|
|
@@ -249,8 +249,7 @@ The following gets removed by this command:
|
|
|
249
249
|
|
|
250
250
|
1. V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)
|
|
251
251
|
2. components cache on the filesystem (mainly the dependencies graph and docs)
|
|
252
|
-
3. scope's index file, which maps the component-id:object-hash
|
|
253
|
-
https://bit.dev/docs/workspace/clearing-cache
|
|
252
|
+
3. scope's index file, which maps the component-id:object-hash
|
|
254
253
|
|
|
255
254
|
`bit clear-cache`
|
|
256
255
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
]
|
|
437
437
|
],
|
|
438
438
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
439
|
-
"extendedDescription": "
|
|
439
|
+
"extendedDescription": "Learn the recommended workflow for tracking directories as components, in the link below.",
|
|
440
440
|
"group": "development",
|
|
441
441
|
"private": false
|
|
442
442
|
},
|
|
@@ -1215,13 +1215,13 @@
|
|
|
1215
1215
|
]
|
|
1216
1216
|
],
|
|
1217
1217
|
"description": "switch between component versions or remove local changes",
|
|
1218
|
-
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1218
|
+
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1219
1219
|
"group": "development",
|
|
1220
1220
|
"private": false,
|
|
1221
1221
|
"arguments": [
|
|
1222
1222
|
{
|
|
1223
1223
|
"name": "to",
|
|
1224
|
-
"description": "permitted values: [head, reset, specific-version]. 'head' - last snap/tag. 'reset' - removes local changes"
|
|
1224
|
+
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
1225
1225
|
},
|
|
1226
1226
|
{
|
|
1227
1227
|
"name": "component-pattern",
|
|
@@ -3379,7 +3379,7 @@
|
|
|
3379
3379
|
]
|
|
3380
3380
|
],
|
|
3381
3381
|
"description": "clears Bit's cache from current working machine",
|
|
3382
|
-
"extendedDescription": "The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash
|
|
3382
|
+
"extendedDescription": "The following gets removed by this command:\n1) V8 compiled code (generated the first time Bit is loaded by v8-compile-cache package)\n2) components cache on the filesystem (mainly the dependencies graph and docs)\n3) scope's index file, which maps the component-id:object-hash",
|
|
3383
3383
|
"group": "general",
|
|
3384
3384
|
"private": false,
|
|
3385
3385
|
"skipWorkspace": true
|
|
@@ -36,12 +36,7 @@ function MDXContent(_ref) {
|
|
|
36
36
|
parentName: "p"
|
|
37
37
|
}, "Description"), ": Add any subset of files to be tracked as a component(s).", (0, _react2.mdx)("br", {
|
|
38
38
|
parentName: "p"
|
|
39
|
-
}), "\n", "
|
|
40
|
-
parentName: "p"
|
|
41
|
-
}), "\n", "", (0, _react2.mdx)("a", {
|
|
42
|
-
parentName: "p",
|
|
43
|
-
"href": "https://bit.dev/docs/components/adding-components"
|
|
44
|
-
}, "https://bit.dev/docs/components/adding-components")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
39
|
+
}), "\n", "Learn the recommended workflow for tracking directories as components, in the link below."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
45
40
|
parentName: "p"
|
|
46
41
|
}, "bit add [path...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
47
42
|
parentName: "table"
|
|
@@ -1024,6 +1019,10 @@ function MDXContent(_ref) {
|
|
|
1024
1019
|
parentName: "p"
|
|
1025
1020
|
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
1026
1021
|
parentName: "p"
|
|
1022
|
+
}, "bit checkout latest [component-pattern]"), " => checkout to the latest satisfying semver tag, omit ", "[component-pattern]", " to checkout latest for all", (0, _react2.mdx)("br", {
|
|
1023
|
+
parentName: "p"
|
|
1024
|
+
}), "\n", "", (0, _react2.mdx)("inlineCode", {
|
|
1025
|
+
parentName: "p"
|
|
1027
1026
|
}, "bit checkout reset [component-pattern]"), " => remove local modifications from the specified ids (or all components when --all is used)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1028
1027
|
parentName: "p"
|
|
1029
1028
|
}, "bit checkout <to> [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
@@ -1211,12 +1210,7 @@ function MDXContent(_ref) {
|
|
|
1211
1210
|
parentName: "ol"
|
|
1212
1211
|
}, "components cache on the filesystem (mainly the dependencies graph and docs)"), (0, _react2.mdx)("li", {
|
|
1213
1212
|
parentName: "ol"
|
|
1214
|
-
}, "scope's index file, which maps the component-id:object-hash", (0, _react2.mdx)("
|
|
1215
|
-
parentName: "li"
|
|
1216
|
-
}), (0, _react2.mdx)("a", {
|
|
1217
|
-
parentName: "li",
|
|
1218
|
-
"href": "https://bit.dev/docs/workspace/clearing-cache"
|
|
1219
|
-
}, "https://bit.dev/docs/workspace/clearing-cache"))), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1213
|
+
}, "scope's index file, which maps the component-id:object-hash")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1220
1214
|
parentName: "p"
|
|
1221
1215
|
}, "bit clear-cache")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
1222
1216
|
parentName: "table"
|