@teambit/harmony.content.cli-reference 2.0.172 → 2.0.174
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.docs.mdx +1 -1
- package/cli-reference.json +12 -2
- package/cli-reference.mdx +6 -4
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +12 -2
- package/dist/cli-reference.mdx.js +31 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1707794292057.js → preview-1707967207539.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1134,6 +1134,11 @@
|
|
|
1134
1134
|
"name": "get <component-name>",
|
|
1135
1135
|
"alias": "",
|
|
1136
1136
|
"options": [
|
|
1137
|
+
[
|
|
1138
|
+
"",
|
|
1139
|
+
"scope",
|
|
1140
|
+
"get the data from the scope instead of the workspace"
|
|
1141
|
+
],
|
|
1137
1142
|
[
|
|
1138
1143
|
"t",
|
|
1139
1144
|
"tree",
|
|
@@ -2056,8 +2061,8 @@
|
|
|
2056
2061
|
],
|
|
2057
2062
|
[
|
|
2058
2063
|
"",
|
|
2059
|
-
"
|
|
2060
|
-
"update to the
|
|
2064
|
+
"semver",
|
|
2065
|
+
"update to the newest version respecting semver"
|
|
2061
2066
|
]
|
|
2062
2067
|
],
|
|
2063
2068
|
"description": "update dependencies. By default, dependencies are updated to the highest semver compatible versions.",
|
|
@@ -4191,6 +4196,11 @@
|
|
|
4191
4196
|
"",
|
|
4192
4197
|
"dry-run",
|
|
4193
4198
|
"show the .npmrc file content that will be written"
|
|
4199
|
+
],
|
|
4200
|
+
[
|
|
4201
|
+
"f",
|
|
4202
|
+
"force",
|
|
4203
|
+
"force update the .npmrc file even if there are conflicts"
|
|
4194
4204
|
]
|
|
4195
4205
|
],
|
|
4196
4206
|
"description": "update npmrc file with scope, registry, and token information from bit.cloud",
|
package/cli-reference.mdx
CHANGED
|
@@ -493,6 +493,7 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
493
493
|
|
|
494
494
|
| **Option** | **Option alias** | **Description** |
|
|
495
495
|
| ---------- | :--------------: | ---------------------------------------------------------------- |
|
|
496
|
+
| `--scope` | | get the data from the scope instead of the workspace |
|
|
496
497
|
| `--tree` | `-t` | EXPERIMENTAL. render dependencies as a tree, similar to "npm ls" |
|
|
497
498
|
|
|
498
499
|
### deps remove
|
|
@@ -1451,9 +1452,10 @@ move files or directories of component(s)
|
|
|
1451
1452
|
|
|
1452
1453
|
**Description**: update npmrc file with scope, registry, and token information from bit.cloud
|
|
1453
1454
|
|
|
1454
|
-
| **Option** | **Option alias** | **Description**
|
|
1455
|
-
| ----------- | :--------------: |
|
|
1456
|
-
| `--dry-run` | | show the .npmrc file content that will be written
|
|
1455
|
+
| **Option** | **Option alias** | **Description** |
|
|
1456
|
+
| ----------- | :--------------: | -------------------------------------------------------- |
|
|
1457
|
+
| `--dry-run` | | show the .npmrc file content that will be written |
|
|
1458
|
+
| `--force` | `-f` | force update the .npmrc file even if there are conflicts |
|
|
1457
1459
|
|
|
1458
1460
|
---
|
|
1459
1461
|
|
|
@@ -2004,7 +2006,7 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
2004
2006
|
| `--patch` | | update to the latest patch version. Semver rules are ignored |
|
|
2005
2007
|
| `--minor` | | update to the latest minor version. Semver rules are ignored |
|
|
2006
2008
|
| `--major` | | update to the latest major version. Semver rules are ignored |
|
|
2007
|
-
| `--
|
|
2009
|
+
| `--semver` | | update to the newest version respecting semver |
|
|
2008
2010
|
|
|
2009
2011
|
---
|
|
2010
2012
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1134,6 +1134,11 @@
|
|
|
1134
1134
|
"name": "get <component-name>",
|
|
1135
1135
|
"alias": "",
|
|
1136
1136
|
"options": [
|
|
1137
|
+
[
|
|
1138
|
+
"",
|
|
1139
|
+
"scope",
|
|
1140
|
+
"get the data from the scope instead of the workspace"
|
|
1141
|
+
],
|
|
1137
1142
|
[
|
|
1138
1143
|
"t",
|
|
1139
1144
|
"tree",
|
|
@@ -2056,8 +2061,8 @@
|
|
|
2056
2061
|
],
|
|
2057
2062
|
[
|
|
2058
2063
|
"",
|
|
2059
|
-
"
|
|
2060
|
-
"update to the
|
|
2064
|
+
"semver",
|
|
2065
|
+
"update to the newest version respecting semver"
|
|
2061
2066
|
]
|
|
2062
2067
|
],
|
|
2063
2068
|
"description": "update dependencies. By default, dependencies are updated to the highest semver compatible versions.",
|
|
@@ -4191,6 +4196,11 @@
|
|
|
4191
4196
|
"",
|
|
4192
4197
|
"dry-run",
|
|
4193
4198
|
"show the .npmrc file content that will be written"
|
|
4199
|
+
],
|
|
4200
|
+
[
|
|
4201
|
+
"f",
|
|
4202
|
+
"force",
|
|
4203
|
+
"force update the .npmrc file even if there are conflicts"
|
|
4194
4204
|
]
|
|
4195
4205
|
],
|
|
4196
4206
|
"description": "update npmrc file with scope, registry, and token information from bit.cloud",
|
|
@@ -2338,6 +2338,19 @@ function MDXContent(_ref) {
|
|
|
2338
2338
|
"align": null
|
|
2339
2339
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2340
2340
|
parentName: "td"
|
|
2341
|
+
}, "--scope")), (0, _react2.mdx)("td", {
|
|
2342
|
+
parentName: "tr",
|
|
2343
|
+
"align": "center"
|
|
2344
|
+
}), (0, _react2.mdx)("td", {
|
|
2345
|
+
parentName: "tr",
|
|
2346
|
+
"align": null
|
|
2347
|
+
}, "get the data from the scope instead of the workspace")), (0, _react2.mdx)("tr", {
|
|
2348
|
+
parentName: "tbody"
|
|
2349
|
+
}, (0, _react2.mdx)("td", {
|
|
2350
|
+
parentName: "tr",
|
|
2351
|
+
"align": null
|
|
2352
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2353
|
+
parentName: "td"
|
|
2341
2354
|
}, "--tree")), (0, _react2.mdx)("td", {
|
|
2342
2355
|
parentName: "tr",
|
|
2343
2356
|
"align": "center"
|
|
@@ -7674,7 +7687,22 @@ function MDXContent(_ref) {
|
|
|
7674
7687
|
}), (0, _react2.mdx)("td", {
|
|
7675
7688
|
parentName: "tr",
|
|
7676
7689
|
"align": null
|
|
7677
|
-
}, "show the .npmrc file content that will be written"))
|
|
7690
|
+
}, "show the .npmrc file content that will be written")), (0, _react2.mdx)("tr", {
|
|
7691
|
+
parentName: "tbody"
|
|
7692
|
+
}, (0, _react2.mdx)("td", {
|
|
7693
|
+
parentName: "tr",
|
|
7694
|
+
"align": null
|
|
7695
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7696
|
+
parentName: "td"
|
|
7697
|
+
}, "--force")), (0, _react2.mdx)("td", {
|
|
7698
|
+
parentName: "tr",
|
|
7699
|
+
"align": "center"
|
|
7700
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7701
|
+
parentName: "td"
|
|
7702
|
+
}, "-f")), (0, _react2.mdx)("td", {
|
|
7703
|
+
parentName: "tr",
|
|
7704
|
+
"align": null
|
|
7705
|
+
}, "force update the .npmrc file even if there are conflicts")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "pattern"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7678
7706
|
parentName: "p"
|
|
7679
7707
|
}, "Description"), ": list the component ids matching the given pattern", (0, _react2.mdx)("br", {
|
|
7680
7708
|
parentName: "p"
|
|
@@ -10476,13 +10504,13 @@ function MDXContent(_ref) {
|
|
|
10476
10504
|
"align": null
|
|
10477
10505
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10478
10506
|
parentName: "td"
|
|
10479
|
-
}, "--
|
|
10507
|
+
}, "--semver")), (0, _react2.mdx)("td", {
|
|
10480
10508
|
parentName: "tr",
|
|
10481
10509
|
"align": "center"
|
|
10482
10510
|
}), (0, _react2.mdx)("td", {
|
|
10483
10511
|
parentName: "tr",
|
|
10484
10512
|
"align": null
|
|
10485
|
-
}, "update to the
|
|
10513
|
+
}, "update to the newest version respecting semver")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "use"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10486
10514
|
parentName: "p"
|
|
10487
10515
|
}, "Description"), ": set aspects in the workspace/scope config to make them loadable by the workspace/scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10488
10516
|
parentName: "p"
|