@teambit/harmony.content.cli-reference 2.0.671 → 2.0.673

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.11.33'
2
+ description: 'Bit command synopses. Bit version: 1.12.23'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1958,6 +1958,11 @@
1958
1958
  "",
1959
1959
  "peers",
1960
1960
  "link peer dependencies of the components too"
1961
+ ],
1962
+ [
1963
+ "",
1964
+ "comp-summary",
1965
+ "show only a summary of component links instead of listing all components"
1961
1966
  ]
1962
1967
  ],
1963
1968
  "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
@@ -4090,7 +4095,12 @@
4090
4095
  [
4091
4096
  "",
4092
4097
  "strict",
4093
- "in case issues found, exit with code 1"
4098
+ "exit with code 1 if any issues are found (both errors and warnings)"
4099
+ ],
4100
+ [
4101
+ "",
4102
+ "fail-on-error",
4103
+ "exit with code 1 only when tag/snap blocker issues are found (not warnings)"
4094
4104
  ],
4095
4105
  [
4096
4106
  "c",
@@ -4170,6 +4180,11 @@
4170
4180
  "b",
4171
4181
  "build",
4172
4182
  "Set to true to build the app locally, false (default) will build on Ripple CI"
4183
+ ],
4184
+ [
4185
+ "s",
4186
+ "strict",
4187
+ "Set to true to fail on warnings as well as errors, false (default) only fails on errors"
4173
4188
  ]
4174
4189
  ],
4175
4190
  "description": "This command is meant to run when a PR was open/updated and meant to export a lane to bit-cloud.",
@@ -4184,12 +4199,57 @@
4184
4199
  [
4185
4200
  "m",
4186
4201
  "message <message>",
4187
- "If set, use it as the snap message, if not, try and grab from git-commit-message"
4202
+ "If set, use it as the tag message, if not, try and grab from git-commit-message"
4188
4203
  ],
4189
4204
  [
4190
4205
  "b",
4191
4206
  "build",
4192
4207
  "Set to true to build the app locally, false (default) will build on Ripple CI"
4208
+ ],
4209
+ [
4210
+ "s",
4211
+ "strict",
4212
+ "Set to true to fail on warnings as well as errors, false (default) only fails on errors"
4213
+ ],
4214
+ [
4215
+ "l",
4216
+ "increment <level>",
4217
+ "options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
4218
+ ],
4219
+ [
4220
+ "",
4221
+ "prerelease-id <id>",
4222
+ "prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
4223
+ ],
4224
+ [
4225
+ "p",
4226
+ "patch",
4227
+ "syntactic sugar for \"--increment patch\""
4228
+ ],
4229
+ [
4230
+ "",
4231
+ "minor",
4232
+ "syntactic sugar for \"--increment minor\""
4233
+ ],
4234
+ [
4235
+ "",
4236
+ "major",
4237
+ "syntactic sugar for \"--increment major\""
4238
+ ],
4239
+ [
4240
+ "",
4241
+ "pre-release [identifier]",
4242
+ "syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
4243
+ ],
4244
+ [
4245
+ "",
4246
+ "increment-by <number>",
4247
+ "(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
4248
+ ],
4249
+ [
4250
+ "",
4251
+ "verbose",
4252
+ "show verbose output"
4193
4253
  ]
4194
4254
  ],
4195
4255
  "description": "Merges a PR",
@@ -4269,14 +4329,14 @@
4269
4329
  "Setup global configuration (default: workspace-specific)"
4270
4330
  ]
4271
4331
  ],
4272
- "description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, or other editors",
4273
- "extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, and Cline.",
4332
+ "description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, Claude Code, or other editors",
4333
+ "extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, Cline, and Claude Code.",
4274
4334
  "group": "ungrouped",
4275
4335
  "private": false,
4276
4336
  "arguments": [
4277
4337
  {
4278
4338
  "name": "editor",
4279
- "description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline"
4339
+ "description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline, claude-code"
4280
4340
  }
4281
4341
  ]
4282
4342
  },
@@ -4300,14 +4360,14 @@
4300
4360
  "Generate rules for consumer projects that only use Bit components as packages"
4301
4361
  ]
4302
4362
  ],
4303
- "description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, or print to screen",
4304
- "extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, and Cline. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
4363
+ "description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, Claude Code, or print to screen",
4364
+ "extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, Cline, and Claude Code. For Claude Code, creates .claude/bit.md to avoid overwriting existing CLAUDE.md files. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
4305
4365
  "group": "ungrouped",
4306
4366
  "private": false,
4307
4367
  "arguments": [
4308
4368
  {
4309
4369
  "name": "editor",
4310
- "description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline"
4370
+ "description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline, claude-code"
4311
4371
  }
4312
4372
  ]
4313
4373
  }
@@ -4431,6 +4491,16 @@
4431
4491
  "s",
4432
4492
  "shared <groupname>",
4433
4493
  "add group write permissions to a scope properly"
4494
+ ],
4495
+ [
4496
+ "",
4497
+ "external-package-manager",
4498
+ "enable external package manager mode (npm/yarn/pnpm)"
4499
+ ],
4500
+ [
4501
+ "",
4502
+ "skip-interactive",
4503
+ "skip interactive mode for Git repositories"
4434
4504
  ]
4435
4505
  ],
4436
4506
  "description": "create or reinitialize an empty workspace",
package/cli-reference.mdx CHANGED
@@ -362,11 +362,12 @@ when on a lane, "checkout head" only checks out components on this lane. to upda
362
362
 
363
363
  **Description**: This command is meant to run when a PR was open/updated and meant to export a lane to bit-cloud.
364
364
 
365
- | **Option** | **Option alias** | **Description** |
366
- | --------------------- | :--------------: | -------------------------------------------------------------------------------- |
367
- | `--message <message>` | `-m` | If set, set it as the snap message, if not, try and grab from git-commit-message |
368
- | `--lane <lane>` | `-l` | If set, use as the lane name, if not available, grab from git-branch name |
369
- | `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
365
+ | **Option** | **Option alias** | **Description** |
366
+ | --------------------- | :--------------: | --------------------------------------------------------------------------------------- |
367
+ | `--message <message>` | `-m` | If set, set it as the snap message, if not, try and grab from git-commit-message |
368
+ | `--lane <lane>` | `-l` | If set, use as the lane name, if not available, grab from git-branch name |
369
+ | `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
370
+ | `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors |
370
371
 
371
372
  ### ci merge
372
373
 
@@ -374,10 +375,19 @@ when on a lane, "checkout head" only checks out components on this lane. to upda
374
375
 
375
376
  **Description**: Merges a PR
376
377
 
377
- | **Option** | **Option alias** | **Description** |
378
- | --------------------- | :--------------: | -------------------------------------------------------------------------------- |
379
- | `--message <message>` | `-m` | If set, use it as the snap message, if not, try and grab from git-commit-message |
380
- | `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
378
+ | **Option** | **Option alias** | **Description** |
379
+ | ---------------------------- | :--------------: | ---------------------------------------------------------------------------------------------------------- |
380
+ | `--message <message>` | `-m` | If set, use it as the tag message, if not, try and grab from git-commit-message |
381
+ | `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
382
+ | `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors |
383
+ | `--increment <level>` | `-l` | options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch |
384
+ | `--prerelease-id <id>` | | prerelease identifier (e.g. "dev" to get "1.0.0-dev.1") |
385
+ | `--patch` | `-p` | syntactic sugar for "--increment patch" |
386
+ | `--minor` | | syntactic sugar for "--increment minor" |
387
+ | `--major` | | syntactic sugar for "--increment major" |
388
+ | `--pre-release [identifier]` | | syntactic sugar for "--increment prerelease" and `--prerelease-id <identifier>` |
389
+ | `--increment-by <number>` | | (default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3. |
390
+ | `--verbose` | | show verbose output |
381
391
 
382
392
  ---
383
393
 
@@ -1073,6 +1083,8 @@ if the current directory is already a workspace, it validates that bit files are
1073
1083
  | `--force` | `-f` | force workspace initialization without clearing local objects |
1074
1084
  | `--bare [name]` | `-b` | initialize an empty bit bare scope |
1075
1085
  | `--shared <groupname>` | `-s` | add group write permissions to a scope properly |
1086
+ | `--external-package-manager` | | enable external package manager mode (npm/yarn/pnpm) |
1087
+ | `--skip-interactive` | | skip interactive mode for Git repositories |
1076
1088
 
1077
1089
  ---
1078
1090
 
@@ -1478,6 +1490,7 @@ this command does the following:
1478
1490
  | `--target <dir>` | | link to an external directory (similar to npm-link) so other projects could use these components |
1479
1491
  | `--skip-fetching-objects` | | skip fetch missing objects from remotes before linking |
1480
1492
  | `--peers` | | link peer dependencies of the components too |
1493
+ | `--comp-summary` | | show only a summary of component links instead of listing all components |
1481
1494
 
1482
1495
  ---
1483
1496
 
@@ -1641,12 +1654,12 @@ Start the Model Context Protocol (MCP) server with the specified configuration
1641
1654
 
1642
1655
  **Usage**: `mcp-server setup [editor]`
1643
1656
 
1644
- **Description**: Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, or other editors
1645
- Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, and Cline.
1657
+ **Description**: Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, Claude Code, or other editors
1658
+ Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, Cline, and Claude Code.
1646
1659
 
1647
- | **Arg** | **Description** |
1648
- | -------- | :--------------------------------------------------------------------------------: |
1649
- | `editor` | Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline |
1660
+ | **Arg** | **Description** |
1661
+ | -------- | :---------------------------------------------------------------------------------------------: |
1662
+ | `editor` | Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline, claude-code |
1650
1663
 
1651
1664
  | **Option** | **Option alias** | **Description** |
1652
1665
  | --------------------------------- | :--------------: | -------------------------------------------------------------------------------------- |
@@ -1658,12 +1671,12 @@ Creates or updates configuration files to integrate Bit MCP server with supporte
1658
1671
 
1659
1672
  **Usage**: `mcp-server rules [editor]`
1660
1673
 
1661
- **Description**: Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, or print to screen
1662
- Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, and Cline. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.
1674
+ **Description**: Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, Claude Code, or print to screen
1675
+ Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, Cline, and Claude Code. For Claude Code, creates .claude/bit.md to avoid overwriting existing CLAUDE.md files. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.
1663
1676
 
1664
- | **Arg** | **Description** |
1665
- | -------- | :--------------------------------------------------------------------------------: |
1666
- | `editor` | Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline |
1677
+ | **Arg** | **Description** |
1678
+ | -------- | :---------------------------------------------------------------------------------------------: |
1679
+ | `editor` | Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline, claude-code |
1667
1680
 
1668
1681
  | **Option** | **Option alias** | **Description** |
1669
1682
  | -------------------- | :--------------: | ----------------------------------------------------------------------------- |
@@ -2216,7 +2229,8 @@ optionally, provide [pattern] to limit the fork to specific components
2216
2229
  | `--warnings` | `-w` | show warnings. by default, only issues that block tag/snap are shown |
2217
2230
  | `--verbose` | | show extra data: full snap hashes for staged components, and divergence point for lanes |
2218
2231
  | `--lanes` | `-l` | when on a lane, show updates from main and updates from forked lanes |
2219
- | `--strict` | | in case issues found, exit with code 1 |
2232
+ | `--strict` | | exit with code 1 if any issues are found (both errors and warnings) |
2233
+ | `--fail-on-error` | | exit with code 1 only when tag/snap blocker issues are found (not warnings) |
2220
2234
  | `--ignore-circular-dependencies` | `-c` | do not check for circular dependencies to get the results quicker |
2221
2235
 
2222
2236
  ---
@@ -1,4 +1,4 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.11.33'
2
+ description: 'Bit command synopses. Bit version: 1.12.23'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
@@ -1958,6 +1958,11 @@
1958
1958
  "",
1959
1959
  "peers",
1960
1960
  "link peer dependencies of the components too"
1961
+ ],
1962
+ [
1963
+ "",
1964
+ "comp-summary",
1965
+ "show only a summary of component links instead of listing all components"
1961
1966
  ]
1962
1967
  ],
1963
1968
  "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
@@ -4090,7 +4095,12 @@
4090
4095
  [
4091
4096
  "",
4092
4097
  "strict",
4093
- "in case issues found, exit with code 1"
4098
+ "exit with code 1 if any issues are found (both errors and warnings)"
4099
+ ],
4100
+ [
4101
+ "",
4102
+ "fail-on-error",
4103
+ "exit with code 1 only when tag/snap blocker issues are found (not warnings)"
4094
4104
  ],
4095
4105
  [
4096
4106
  "c",
@@ -4170,6 +4180,11 @@
4170
4180
  "b",
4171
4181
  "build",
4172
4182
  "Set to true to build the app locally, false (default) will build on Ripple CI"
4183
+ ],
4184
+ [
4185
+ "s",
4186
+ "strict",
4187
+ "Set to true to fail on warnings as well as errors, false (default) only fails on errors"
4173
4188
  ]
4174
4189
  ],
4175
4190
  "description": "This command is meant to run when a PR was open/updated and meant to export a lane to bit-cloud.",
@@ -4184,12 +4199,57 @@
4184
4199
  [
4185
4200
  "m",
4186
4201
  "message <message>",
4187
- "If set, use it as the snap message, if not, try and grab from git-commit-message"
4202
+ "If set, use it as the tag message, if not, try and grab from git-commit-message"
4188
4203
  ],
4189
4204
  [
4190
4205
  "b",
4191
4206
  "build",
4192
4207
  "Set to true to build the app locally, false (default) will build on Ripple CI"
4208
+ ],
4209
+ [
4210
+ "s",
4211
+ "strict",
4212
+ "Set to true to fail on warnings as well as errors, false (default) only fails on errors"
4213
+ ],
4214
+ [
4215
+ "l",
4216
+ "increment <level>",
4217
+ "options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
4218
+ ],
4219
+ [
4220
+ "",
4221
+ "prerelease-id <id>",
4222
+ "prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
4223
+ ],
4224
+ [
4225
+ "p",
4226
+ "patch",
4227
+ "syntactic sugar for \"--increment patch\""
4228
+ ],
4229
+ [
4230
+ "",
4231
+ "minor",
4232
+ "syntactic sugar for \"--increment minor\""
4233
+ ],
4234
+ [
4235
+ "",
4236
+ "major",
4237
+ "syntactic sugar for \"--increment major\""
4238
+ ],
4239
+ [
4240
+ "",
4241
+ "pre-release [identifier]",
4242
+ "syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
4243
+ ],
4244
+ [
4245
+ "",
4246
+ "increment-by <number>",
4247
+ "(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
4248
+ ],
4249
+ [
4250
+ "",
4251
+ "verbose",
4252
+ "show verbose output"
4193
4253
  ]
4194
4254
  ],
4195
4255
  "description": "Merges a PR",
@@ -4269,14 +4329,14 @@
4269
4329
  "Setup global configuration (default: workspace-specific)"
4270
4330
  ]
4271
4331
  ],
4272
- "description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, or other editors",
4273
- "extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, and Cline.",
4332
+ "description": "Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, Claude Code, or other editors",
4333
+ "extendedDescription": "Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, Cline, and Claude Code.",
4274
4334
  "group": "ungrouped",
4275
4335
  "private": false,
4276
4336
  "arguments": [
4277
4337
  {
4278
4338
  "name": "editor",
4279
- "description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline"
4339
+ "description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline, claude-code"
4280
4340
  }
4281
4341
  ]
4282
4342
  },
@@ -4300,14 +4360,14 @@
4300
4360
  "Generate rules for consumer projects that only use Bit components as packages"
4301
4361
  ]
4302
4362
  ],
4303
- "description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, or print to screen",
4304
- "extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, and Cline. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
4363
+ "description": "Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, Claude Code, or print to screen",
4364
+ "extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, Cline, and Claude Code. For Claude Code, creates .claude/bit.md to avoid overwriting existing CLAUDE.md files. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
4305
4365
  "group": "ungrouped",
4306
4366
  "private": false,
4307
4367
  "arguments": [
4308
4368
  {
4309
4369
  "name": "editor",
4310
- "description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline"
4370
+ "description": "Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline, claude-code"
4311
4371
  }
4312
4372
  ]
4313
4373
  }
@@ -4431,6 +4491,16 @@
4431
4491
  "s",
4432
4492
  "shared <groupname>",
4433
4493
  "add group write permissions to a scope properly"
4494
+ ],
4495
+ [
4496
+ "",
4497
+ "external-package-manager",
4498
+ "enable external package manager mode (npm/yarn/pnpm)"
4499
+ ],
4500
+ [
4501
+ "",
4502
+ "skip-interactive",
4503
+ "skip interactive mode for Git repositories"
4434
4504
  ]
4435
4505
  ],
4436
4506
  "description": "create or reinitialize an empty workspace",