@teambit/harmony.content.cli-reference 2.0.863 → 2.0.865
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 +10 -0
- package/cli-reference.mdx +18 -16
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +10 -0
- package/dist/cli-reference.mdx.js +27 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1764797880413.js → preview-1764949332432.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1907,6 +1907,16 @@
|
|
|
1907
1907
|
"",
|
|
1908
1908
|
"lockfile-only",
|
|
1909
1909
|
"dependencies are not written to node_modules. Only the lockfile is updated"
|
|
1910
|
+
],
|
|
1911
|
+
[
|
|
1912
|
+
"",
|
|
1913
|
+
"allow-scripts [pkgNames]",
|
|
1914
|
+
"a comma separated list of package names that are allowed to run installation scripts"
|
|
1915
|
+
],
|
|
1916
|
+
[
|
|
1917
|
+
"",
|
|
1918
|
+
"disallow-scripts [pkgNames]",
|
|
1919
|
+
"a comma separated list of package names that are NOT allowed to run installation scripts"
|
|
1910
1920
|
]
|
|
1911
1921
|
],
|
|
1912
1922
|
"description": "install workspace dependencies",
|
package/cli-reference.mdx
CHANGED
|
@@ -1165,22 +1165,24 @@ automatically imports components, compiles components, links to node_modules, an
|
|
|
1165
1165
|
| ------------- | :-------------------------------------------------: |
|
|
1166
1166
|
| `packages...` | a list of packages to install (separated by spaces) |
|
|
1167
1167
|
|
|
1168
|
-
| **Option**
|
|
1169
|
-
|
|
|
1170
|
-
| `--type [lifecycleType]`
|
|
1171
|
-
| `--update`
|
|
1172
|
-
| `--update-existing`
|
|
1173
|
-
| `--save-prefix [savePrefix]`
|
|
1174
|
-
| `--skip-dedupe`
|
|
1175
|
-
| `--skip-import`
|
|
1176
|
-
| `--skip-compile`
|
|
1177
|
-
| `--skip-write-config-files`
|
|
1178
|
-
| `--add-missing-deps`
|
|
1179
|
-
| `--skip-unavailable`
|
|
1180
|
-
| `--add-missing-peers`
|
|
1181
|
-
| `--recurring-install`
|
|
1182
|
-
| `--no-optional [noOptional]`
|
|
1183
|
-
| `--lockfile-only`
|
|
1168
|
+
| **Option** | **Option alias** | **Description** |
|
|
1169
|
+
| ------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------ |
|
|
1170
|
+
| `--type [lifecycleType]` | `-t` | "runtime" (default) or "peer" (dev is not a valid option) |
|
|
1171
|
+
| `--update` | `-u` | update all dependencies to latest version according to their semver range |
|
|
1172
|
+
| `--update-existing` | | DEPRECATED (not needed anymore, it is the default now). update existing dependencies version and types |
|
|
1173
|
+
| `--save-prefix [savePrefix]` | | set the prefix to use when adding dependency to workspace.jsonc |
|
|
1174
|
+
| `--skip-dedupe` | | do not dedupe dependencies on installation |
|
|
1175
|
+
| `--skip-import` | | do not import bit objects post installation |
|
|
1176
|
+
| `--skip-compile` | | do not compile components |
|
|
1177
|
+
| `--skip-write-config-files` | | do not write config files (such as eslint, tsconfig, prettier, etc...) |
|
|
1178
|
+
| `--add-missing-deps` | `-a` | install all missing dependencies |
|
|
1179
|
+
| `--skip-unavailable` | | when adding missing dependencies, skip those that are not found in the regisry |
|
|
1180
|
+
| `--add-missing-peers` | | install all missing peer dependencies |
|
|
1181
|
+
| `--recurring-install` | | automatically run install again if there are non loaded old envs in your workspace |
|
|
1182
|
+
| `--no-optional [noOptional]` | | do not install optional dependencies (works with pnpm only) |
|
|
1183
|
+
| `--lockfile-only` | | dependencies are not written to node_modules. Only the lockfile is updated |
|
|
1184
|
+
| `--allow-scripts [pkgNames]` | | a comma separated list of package names that are allowed to run installation scripts |
|
|
1185
|
+
| `--disallow-scripts [pkgNames]` | | a comma separated list of package names that are NOT allowed to run installation scripts |
|
|
1184
1186
|
|
|
1185
1187
|
---
|
|
1186
1188
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1907,6 +1907,16 @@
|
|
|
1907
1907
|
"",
|
|
1908
1908
|
"lockfile-only",
|
|
1909
1909
|
"dependencies are not written to node_modules. Only the lockfile is updated"
|
|
1910
|
+
],
|
|
1911
|
+
[
|
|
1912
|
+
"",
|
|
1913
|
+
"allow-scripts [pkgNames]",
|
|
1914
|
+
"a comma separated list of package names that are allowed to run installation scripts"
|
|
1915
|
+
],
|
|
1916
|
+
[
|
|
1917
|
+
"",
|
|
1918
|
+
"disallow-scripts [pkgNames]",
|
|
1919
|
+
"a comma separated list of package names that are NOT allowed to run installation scripts"
|
|
1910
1920
|
]
|
|
1911
1921
|
],
|
|
1912
1922
|
"description": "install workspace dependencies",
|
|
@@ -6298,7 +6298,33 @@ function MDXContent(_ref) {
|
|
|
6298
6298
|
}), (0, _react2.mdx)("td", {
|
|
6299
6299
|
parentName: "tr",
|
|
6300
6300
|
"align": null
|
|
6301
|
-
}, "dependencies are not written to node_modules. Only the lockfile is updated"))
|
|
6301
|
+
}, "dependencies are not written to node_modules. Only the lockfile is updated")), (0, _react2.mdx)("tr", {
|
|
6302
|
+
parentName: "tbody"
|
|
6303
|
+
}, (0, _react2.mdx)("td", {
|
|
6304
|
+
parentName: "tr",
|
|
6305
|
+
"align": null
|
|
6306
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6307
|
+
parentName: "td"
|
|
6308
|
+
}, "--allow-scripts [pkgNames]")), (0, _react2.mdx)("td", {
|
|
6309
|
+
parentName: "tr",
|
|
6310
|
+
"align": "center"
|
|
6311
|
+
}), (0, _react2.mdx)("td", {
|
|
6312
|
+
parentName: "tr",
|
|
6313
|
+
"align": null
|
|
6314
|
+
}, "a comma separated list of package names that are allowed to run installation scripts")), (0, _react2.mdx)("tr", {
|
|
6315
|
+
parentName: "tbody"
|
|
6316
|
+
}, (0, _react2.mdx)("td", {
|
|
6317
|
+
parentName: "tr",
|
|
6318
|
+
"align": null
|
|
6319
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6320
|
+
parentName: "td"
|
|
6321
|
+
}, "--disallow-scripts [pkgNames]")), (0, _react2.mdx)("td", {
|
|
6322
|
+
parentName: "tr",
|
|
6323
|
+
"align": "center"
|
|
6324
|
+
}), (0, _react2.mdx)("td", {
|
|
6325
|
+
parentName: "tr",
|
|
6326
|
+
"align": null
|
|
6327
|
+
}, "a comma separated list of package names that are NOT allowed to run installation scripts")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "lane"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6302
6328
|
parentName: "p"
|
|
6303
6329
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6304
6330
|
parentName: "p"
|