@teambit/harmony.content.cli-reference 2.0.862 → 2.0.864

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.
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.216'
2
+ description: 'Bit command synopses. Bit version: 1.12.218'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -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** | **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 |
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
 
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.12.216'
2
+ description: 'Bit command synopses. Bit version: 1.12.218'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -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")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "lane"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
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"